:root {
    --primary: #411c82;
    --primary-dark: #1f1038;
    --primary-light: #5a26a6;
    --accent: #ff0088;
    --accent-light: #ffdf5d;
    --text-main: #111827;
    --text-muted: #6b7280;
    --bg-main: #ffffff;
    --bg-alt: #f8faff;
    --bg-card: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(65, 28, 130, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(65, 28, 130, 0.12);
    --shadow-lg: 0 25px 50px -12px rgba(65, 28, 130, 0.2);
    --shadow-glow: 0 0 40px rgba(255, 0, 136, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
}

/* Beautiful Animated Background Elements */
.bg-shapes {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.shape {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.shape-1 { width: 500px; height: 500px; background: var(--accent-light); top: -20%; right: -10%; animation-delay: 0s; }
.shape-2 { width: 600px; height: 600px; background: rgba(85, 37, 154, 0.3); bottom: -20%; left: -10%; animation-delay: -5s; }
.shape-3 { width: 400px; height: 400px; background: rgba(123, 66, 214, 0.2); top: 30%; left: 40%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
    100% { transform: translate(30px, -30px) scale(0.9); }
}

/* Text Gradients */
.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    display: inline-block;
}

a { text-decoration: none; }

/* Premium Navbar */
.navbar {
    position: sticky;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(85, 37, 154, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(85, 37, 154, 0.15);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-dark);
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent), var(--accent-light));
    color: white;
    border: 2px solid white;
    box-shadow: 0 8px 20px -4px rgba(255, 0, 136, 0.4);
    border-radius: 50px;
}

.btn-primary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, var(--accent-light), var(--accent));
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px -4px rgba(255, 0, 136, 0.6);
}

.btn-primary:hover::before { opacity: 1; }

.btn-primary.small { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
.btn-primary.large { padding: 1.2rem 3.5rem; font-size: 1.15rem; border-radius: 50px; }

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid rgba(85, 37, 154, 0.1);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline { border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: var(--primary); }

/* Hero Section */
.hero {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1.5rem 5% 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: auto;
}

.hero-content {
    flex: 1 1 650px;
    max-width: 720px;
    padding-right: 0;
    animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-8px);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.pulse {
    animation: bounce 1.8s infinite;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(85, 37, 154, 0.1), rgba(243, 72, 164, 0.1));
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(85, 37, 154, 0.2);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.35rem, 5vw, 4.1rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: #411c82;
}

.hero-lead {
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.18;
    margin-bottom: 1rem !important;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 540px;
}

.hero-graphic {
    flex: 0 0 360px;
    display: flex;
    justify-content: center;
    position: relative;
    animation: fadeInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9) rotateY(10deg); }
    to { opacity: 1; transform: scale(1) rotateY(0deg); }
}

/* Premium Generated Image Mockup */
.mockup-container {
    width: 340px;
    position: relative;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatImage 6s ease-in-out infinite alternate;
}

@keyframes floatImage {
    0% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0); }
    100% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(-15px); }
}

.mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-20px) scale(1.02) !important;
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 36px;
    box-shadow: 
        0 40px 80px -15px rgba(85, 37, 154, 0.35),
        0 0 40px rgba(243, 72, 164, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.9);
    background: white;
}

.mockup-container::before {
    content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: linear-gradient(135deg, var(--accent), var(--primary), transparent 50%);
    border-radius: 46px; z-index: -1; opacity: 0.5; filter: blur(25px);
}

/* Sections */
section { padding: 1.5rem 5%; max-width: 100%; margin: 0 auto; }

.features {
    padding-top: 0.5rem;
}

.section-header { text-align: center; margin-bottom: 2.75rem; animation: fadeUp 1s ease-out forwards; }
.section-header h2 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--text-main); }
.section-header p { color: var(--text-muted); font-size: 1.3rem; margin-top: 1.5rem; }

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 1250px;
    margin: 0 auto;
} /* 3 columns for 6 cards */

.feature-card {
    background: var(--bg-card);
    padding: 2.3rem 1.6rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(85, 37, 154, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}

.feature-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-card .icon {
    font-size: 2.8rem; margin-bottom: 1.2rem; display: inline-block;
    padding: 0.9rem; background: linear-gradient(135deg, rgba(85, 37, 154, 0.05), rgba(243, 72, 164, 0.05));
    border-radius: 18px; color: var(--primary);
}

.feature-card h3 { font-size: 1.3rem; line-height: 1.35; margin-bottom: 0.6rem; color: var(--primary-dark); }
.feature-card p { color: var(--text-muted); font-size: 1.1rem; }

/* Why Us Split */
.why-us { background: var(--bg-alt); padding: 3rem 0; border-top: 1px solid rgba(85, 37, 154, 0.05); border-bottom: 1px solid rgba(85, 37, 154, 0.05); margin-top: 1rem; }
.why-us .split-layout { max-width: 100%; margin: 0 auto; padding: 0 5%; display: flex; gap: 6rem; align-items: center; }
.why-us .split-layout > div { flex: 1; }

.text-content h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 2rem; line-height: 1.2; }
.text-content p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 3rem; }

.features-list ul { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.features-list li {
    background: var(--bg-card); padding: 2rem; border-radius: 20px;
    box-shadow: var(--shadow-sm); border-left: 5px solid var(--accent);
    transition: transform 0.3s ease;
}
.features-list li:hover { transform: translateX(10px); }
.features-list strong { display: block; color: var(--primary-dark); font-size: 1.3rem; margin-bottom: 0.5rem; }
.features-list span { color: var(--text-muted); font-size: 1.1rem; }

/* CTA Download */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 4rem 3rem;
    border-radius: 40px;
    margin: 3rem auto;
    box-shadow: var(--shadow-glow);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%;
    background: radial-gradient(circle, rgba(243, 72, 164, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 { font-size: clamp(2.1rem, 6vw, 3.8rem); margin-bottom: 1.5rem; position: relative; z-index: 1; }
.cta-section p { font-size: 1.3rem; margin-bottom: 3.5rem; color: rgba(255, 255, 255, 0.9); position: relative; z-index: 1; max-width: 600px; margin-left: auto; margin-right: auto; }

.download-btn { box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
.download-btn:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.download-icon { margin-right: 12px; font-size: 1.4rem; }

.disclaimer { margin-top: 3rem !important; font-size: 0.95rem !important; color: rgba(255, 255, 255, 0.5) !important; max-width: 800px; }

/* Footer */
footer { padding: 3rem 5% 2rem; background: var(--bg-alt); }
.footer-content { max-width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 4rem; flex-wrap: wrap; }
.legal { flex: 1.5; max-width: 600px; }
.legal strong { display: block; color: var(--primary-dark); margin-bottom: 1rem; font-size: 1.2rem; }
.legal p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

.footer-link {
    color: var(--primary);
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

.copyright { text-align: center; padding-top: 5rem; font-size: 1rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: clamp(2.8rem, 7vw, 3.8rem); }
    .section-header h2, .text-content h2 { font-size: clamp(2.35rem, 5vw, 3rem); }
    .grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns on tablet */
}

@media (max-width: 900px) {
    .nav-links { gap: 1.5rem; }
    .hero { flex-direction: column; text-align: center; padding-top: 2rem; padding-bottom: 0.5rem; gap: 0; }
    .hero-content { padding-right: 0; margin-bottom: 1.5rem; }
    .hero p { margin: 0 auto 1rem; }
    .hero-graphic { justify-content: center; }
    .mockup-container {
        width: min(72vw, 340px);
        transform: rotateY(0) rotateX(0);
    }
    .why-us .split-layout { flex-direction: column; gap: 4rem; }
    .text-content { text-align: center; }
    .footer-content { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 600px) {
    .nav-links { display: none; } /* Hide on very small screens to save space */
    .navbar { padding: 0.7rem 0; }
    .nav-container { padding: 0 1rem; }
    .logo-text { font-size: 1.6rem; }
    .logo-img { height: 38px; }
    .btn-primary.small { padding: 0.55rem 0.95rem; font-size: 0.78rem; letter-spacing: 0.4px; }
    
    .hero { padding: 1rem 1rem 0.5rem; }
    .hero-content { margin-bottom: 0; }
    .hero h1 { font-size: clamp(2.1rem, 11vw, 2.8rem); margin-bottom: 0.8rem; line-height: 1.12; }
    .hero p { font-size: 1rem; margin-bottom: 0.8rem; max-width: 34rem; }
    .cta-group { display: flex; justify-content: center; }
    
    section { padding: 1.5rem 1rem; }
    .features { padding-top: 0.25rem; }
    .section-header { margin-bottom: 1.5rem; }
    .section-header h2, .text-content h2, .cta-section h2 { font-size: clamp(2rem, 10vw, 2.4rem); line-height: 1.14; }
    
    .hero-graphic { margin-top: -4rem; }
    .mockup-container { width: min(82vw, 300px); max-width: 320px; }
    .mockup-img { border-radius: 28px; }
    .grid { grid-template-columns: 1fr; gap: 0.9rem; }
    .feature-card { padding: 1.35rem 1rem; border-radius: 16px; }
    .feature-card .icon { font-size: 2rem; margin-bottom: 0.7rem; padding: 0.65rem; border-radius: 14px; }
    .feature-card h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 0; }
    
    .why-us { padding: 2rem 0; }
    .why-us .split-layout { padding: 0 1rem; gap: 2rem; }
    .text-content p { font-size: 1rem; margin-bottom: 2rem; }
    .features-list ul { gap: 1rem; }
    .features-list li { padding: 1.25rem; border-radius: 16px; }
    .features-list strong { font-size: 1.1rem; }
    .features-list span { font-size: 0.98rem; }
    
    .cta-section { padding: 2rem 1rem; border-radius: 24px; margin: 2rem 1rem; }
    .cta-section p { font-size: 1rem; margin-bottom: 2rem; }
    .disclaimer { margin-top: 2rem !important; font-size: 0.85rem !important; }
    .btn-primary, .btn-secondary, .btn-outline { padding: 0.9rem 1.25rem; font-size: 0.9rem; letter-spacing: 0.5px; }
    .btn-primary.large { padding: 1rem 1.3rem; font-size: 0.95rem; width: 100%; max-width: 320px; }
    footer { padding: 2.5rem 1rem 1.5rem; }
    .footer-content { gap: 2rem; }
    .copyright { padding-top: 2.5rem; }
}

@media (max-width: 420px) {
    .nav-container {
        gap: 0.65rem;
    }

    .logo-img {
        height: 32px;
    }

    .btn-primary.small {
        padding: 0.5rem 0.72rem;
        font-size: 0.68rem;
    }

    .hero {
        padding-top: 1rem;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 10.5vw, 2.35rem);
    }

    .mockup-container {
        width: min(88vw, 280px);
    }
}

@media (max-width: 340px) {
    .nav-container {
        align-items: flex-start;
        flex-direction: column;
    }

    .btn-primary.small {
        width: 100%;
    }
}
