@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

:root {
    --color-primary: #0F192D;
    --color-primary-light: #1e293b;
    --color-secondary: #10b981;
    --color-secondary-dark: #059669;
    --color-accent: #f59e0b;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #334155;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-hot: #ef4444;
    --color-cold: #3b82f6;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-hover: 0 20px 40px -10px rgba(16,185,129,0.2);
    --radius-md: 1rem;
    --radius-full: 9999px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: -0.03em;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-header {
    background-color: var(--color-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--color-surface);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-section {
    background: radial-gradient(circle at top right, #1e3a8a 0%, #0f172a 60%, #020617 100%);
    padding: 6rem 0 10rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 10px #34d399;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
}

.hero-list li i {
    color: #34d399;
    font-size: 1.2rem;
}

.mockup-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.mockup-image {
    border-radius: 12px;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.app-wrapper {
    position: relative;
    z-index: 10;
    background: var(--color-bg);
    border-top-left-radius: 2.5rem;
    border-top-right-radius: 2.5rem;
    margin-top: -4rem;
    padding-top: 4rem;
    flex: 1;
}

.modern-card {
    background: var(--color-surface);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), #34d399);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(16, 185, 129, 0.3);
}

.modern-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-primary-light);
    box-shadow: inset 0 2px 0 rgba(255,255,255,1), 0 4px 10px rgba(0,0,0,0.05);
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.modern-card:hover .icon-wrapper {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--color-secondary-dark);
    transform: scale(1.1) rotate(5deg);
}

.btn-modern {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    color: #ffffff !important;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-modern:hover {
    background: linear-gradient(135deg, var(--color-secondary-dark) 0%, #047857 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.ball-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.ball {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1.15rem;
    color: #ffffff;
    background: radial-gradient(circle at 30% 30%, #34d399, var(--color-secondary-dark));
    box-shadow: inset -3px -3px 6px rgba(0,0,0,0.3), inset 3px 3px 6px rgba(255,255,255,0.5), 0 4px 8px rgba(0,0,0,0.15);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    transition: transform 0.2s ease;
}

.ball:hover {
    transform: scale(1.1);
}

.ball-bonus {
    background: radial-gradient(circle at 30% 30%, #fcd34d, #d97706);
}

.ball-hot {
    background: radial-gradient(circle at 30% 30%, #fca5a5, #dc2626);
}

.ball-cold {
    background: radial-gradient(circle at 30% 30%, #93c5fd, #2563eb);
}

.feature-box {
    background: var(--color-surface);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.feature-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-container {
    background: var(--color-primary);
    color: #ffffff !important;
}

.site-footer {
    background-color: var(--color-primary-light);
    color: var(--color-border);
    padding: 4rem 0;
    border-top: 4px solid var(--color-primary);
}