* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --dark: #0f0f23;
    --dark-light: #1a1a2e;
    --text: #ffffff;
    --text-secondary: #a0a0b8;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --card-bg: rgba(26, 26, 46, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -200px;
    right: -200px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Mobile First */
header {
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 12px 0;
    background: rgba(15, 15, 35, 0.95);
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    z-index: 1001;
}

.logo img {
    display: block;
    width: 64px;
    height: 64px;
    filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(102, 126, 234, 0.6));
}

.logo span {
    display: none;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 100px 40px 40px;
    gap: 30px;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links.active {
    right: 0;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 0;
}

.nav-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.btn-nav {
    display: none;
}

/* Buttons - Mobile First */
.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 14px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1;
    white-space: nowrap;
    min-height: 52px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary svg {
    flex-shrink: 0;
    margin-left: 2px;
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
    min-height: 56px;
    border-radius: 16px;
}

/* Hero Section - Mobile First */
.hero {
    padding: 100px 0 60px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 28px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.2s both;
    padding: 0 10px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.4s both;
    padding: 0 10px;
    text-align: justify;
    text-align-last: center;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.6s both;
    padding: 0 10px;
}

.hero-buttons .btn-primary {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.hero-buttons .btn-primary span {
    display: inline-block;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.6s ease 0.8s both;
    padding: 0 10px;
    width: 100%;
    max-width: 500px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    line-height: 1.2;
    margin-bottom: 4px;
    position: relative;
}

.stat-number.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    margin-top: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Features Section - Mobile First */
.features {
    padding: 60px 0;
    background: var(--dark-light);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 20px 16px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.25);
    background: var(--card-bg);
}

.feature-icon-wrapper {
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    opacity: 0.1;
    filter: blur(10px);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon-wrapper::before {
    opacity: 0.2;
    transform: scale(1.2);
}

.feature-icon-wrapper svg {
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.08) rotate(3deg);
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    text-align: center;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 13px;
    text-align: center;
}

/* Pricing Section - Mobile First */
.pricing {
    padding: 60px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.pricing-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 18px 14px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.25);
}

.pricing-card.featured {
    border-color: rgba(102, 126, 234, 0.5);
    background: var(--card-bg);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.pricing-card.featured:hover {
    box-shadow: 0 20px 56px rgba(102, 126, 234, 0.35);
    border-color: rgba(102, 126, 234, 0.6);
}

.badge {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
    }
}

.pricing-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 14px;
}

.currency {
    font-size: 18px;
}

.amount {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.features-list {
    list-style: none;
    margin: 14px 0 0 0;
    text-align: center;
}

.features-list li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}



/* Download Section - Mobile First */
.download {
    padding: 60px 0;
    background: var(--dark-light);
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.download-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 20px 16px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.download-card:hover::before {
    opacity: 1;
}

.download-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.3);
}

.platform-icon {
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    position: relative;
}

.platform-icon::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0;
    filter: blur(15px);
    transition: all 0.3s;
}

.download-card:hover .platform-icon::before {
    opacity: 0.15;
}

.platform-icon svg {
    width: 48px;
    height: 48px;
    position: relative;
    z-index: 1;
}

.download-card:hover .platform-icon {
    transform: scale(1.1) translateY(-4px);
}

.download-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
    text-align: center;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 13px;
    text-align: center;
}

/* Footer - Mobile First */
footer {
    padding: 50px 0 25px;
    background: var(--dark-light);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section:first-child {
    grid-column: 1;
}

.footer-section h4 {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 13px;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

.footer-section p {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-section .logo {
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 12px;
}

/* Tablet - 640px and up */
@media (min-width: 640px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .hero-buttons .btn-primary {
        width: auto;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-number {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .section-header p {
        font-size: 18px;
    }
}

/* Desktop - 968px and up */
@media (min-width: 968px) {
    .mobile-menu-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
        padding: 0;
        gap: 40px;
        border: none;
    }

    .nav-links a {
        font-size: 16px;
        padding: 0;
    }

    .nav-links a:hover {
        padding-left: 0;
    }

    .btn-nav {
        display: inline-flex;
        padding: 12px 24px;
        min-height: 44px;
        font-size: 15px;
    }

    .hero {
        padding: 150px 0 100px;
    }

    .hero-content {
        text-align: left;
        max-width: 800px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 56px;
        padding: 0;
    }

    .hero-content p {
        font-size: 20px;
        padding: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
        padding: 0;
    }

    .hero-stats {
        justify-content: flex-start;
        gap: 60px;
        padding: 0;
        margin: 0;
    }

    .stat {
        align-items: flex-start;
    }

    .stat-label {
        text-align: left;
        font-size: 14px;
    }

    .stat-number {
        font-size: 32px;
    }

    .features {
        padding: 100px 0;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .pricing {
        padding: 100px 0;
    }

    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .download {
        padding: 100px 0;
    }

    .download-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 50px;
        align-items: start;
    }

    .footer-section:first-child {
        grid-column: 1;
    }

    .footer-section p {
        max-width: 320px;
    }

    .section-header h2 {
        font-size: 48px;
    }
}

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 64px;
    }

    .btn-large {
        padding: 20px 48px;
        font-size: 18px;
        min-height: 60px;
    }
}
