:root {
    --primary-color: #ff6b6b;
    --primary-dark: #ee5a5a;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --dark-bg: #2d3436;
    --darker-bg: #1e272e;
    --light-bg: #f7f1e3;
    --white: #ffffff;
    --gray-light: #dfe6e9;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.16);
    --gradient-primary: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--light-bg);
    overflow-x: hidden;
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--secondary-color);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
    background: rgba(255, 107, 107, 0.08);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: var(--gradient-primary);
    opacity: 0.08;
    transform: rotate(-12deg);
    border-radius: 60% 40% 40% 60%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 50%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.06;
    transform: rotate(8deg);
    border-radius: 40% 60% 60% 40%;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--dark-bg);
    letter-spacing: -1px;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 107, 107, 0.04);
}

.hero-visual {
    position: relative;
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: rotate(-3deg);
    transition: transform 0.5s;
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-10px);
}

.hero-card-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark-bg);
}

.hero-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Stats Section */
.stats {
    background: var(--darker-bg);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 120px 40px;
    background: var(--white);
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.features h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--dark-bg);
    letter-spacing: -1px;
}

.features-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--dark-bg);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* Platforms Section */
.platforms {
    padding: 120px 40px;
    background: var(--light-bg);
    text-align: center;
}

.platforms h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--dark-bg);
}

.platforms-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
}

.platform-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.platform-item {
    background: var(--white);
    border-radius: var(--border-radius-md);
    padding: 32px 20px;
    transition: all 0.4s;
    box-shadow: var(--shadow-sm);
}

.platform-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.platform-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    transition: transform 0.3s;
}

.platform-item:hover .platform-icon {
    transform: scale(1.2);
}

.platform-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-bg);
}

/* FAQ Section */
.faq {
    padding: 120px 40px;
    background: var(--white);
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.faq h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--dark-bg);
}

.faq-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    border-radius: var(--border-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    color: var(--dark-bg);
    transition: all 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question .toggle {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.4s;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-question .toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 32px 24px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 15px;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: rgba(255,255,255,0.8);
    padding: 60px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer p {
    font-size: 15px;
    margin: 10px 0;
    line-height: 1.8;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .features h2,
    .platforms h2,
    .faq h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features,
    .platforms,
    .faq {
        padding: 80px 20px;
    }

    .stats {
        padding: 60px 20px;
    }

    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .features-header,
    .faq-header,
    .platforms-subtitle {
        padding: 0 10px;
    }
}
