@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette */
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --primary-hover: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #d946ef;
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.3);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    /* System Values */
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --container-padding: 0 10%;
    --radius-lg: 2.5rem;
    --radius-md: 1.5rem;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
}


/* Advanced Animated Background */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
    overflow: hidden;
}

.mesh-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.glow-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: pulseGlow 10s ease-in-out infinite alternate;
}

.storage-progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 2s ease-in-out;
}

/* Color Utilities */
.text-red {
    color: #ef4444;
}

.text-green {
    color: #10b981;
}

.text-blue {
    color: #6366f1;
}

.text-primary {
    color: var(--primary);
}

/* Layout Utilities */
.w-full {
    width: 100%;
}

.max-w-400 {
    max-width: 400px;
}

.flex-center {
    justify-content: center;
}

.text-left {
    text-align: left;
}

.mb-3 {
    margin-bottom: 3rem;
}

.opacity-40 {
    opacity: 0.4;
}

.border-t-glass {
    border-top: 1px solid var(--glass-border);
}

.pt-4 {
    padding-top: 4rem;
}

.text-center {
    text-align: center;
}

/* Effects */
.drop-shadow-glow {
    filter: drop-shadow(0 0 30px var(--primary-glow));
}

.bg-solutions {
    background: rgba(2, 6, 23, 0.4);
}

.font-1-5 {
    font-size: 1.5rem;
}

.font-1-25 {
    font-size: 1.25rem;
}

.font-0-8 {
    font-size: 0.8rem;
}

.font-900 {
    font-weight: 900;
}

.font-bold {
    font-weight: 700;
}

.mt-0-5 {
    margin-top: 0.5rem;
}

.opacity-0-6 {
    opacity: 0.6;
}

.no-decoration {
    text-decoration: none;
}

.radius-md {
    border-radius: var(--radius-md);
}

.shadow-glow-primary {
    box-shadow: 0 0 50px var(--primary-glow);
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -2s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(2, 6, 23, 0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 1rem 10%;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 3rem;
    background: var(--glass);
    padding: 0.75rem 2rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-btns {
    display: flex;
    gap: 1rem;
}

/* Enhanced Buttons */
.btn {
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 30px -5px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -5px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    background: var(--glass-highlight);
    border-color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 10% 80px;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1.2;
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -3px;
    background: linear-gradient(to bottom right, #fff 40%, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 550px;
    font-weight: 400;
}

.trust-badge {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
}

/* Hero Visual Animation */
.hero-visual {
    flex: 1;
    position: relative;
}

.main-visual-container {
    padding: 2rem;
    background: var(--bg-card);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.stat-card-floating {
    position: absolute;
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    z-index: 3;
    animation: floatUpDown 5s ease-in-out infinite alternate;
}

.stat-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: -2s;
}

@keyframes floatUpDown {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-30px) rotate(2deg);
    }
}

/* Trust Section */
.trust-labels {
    padding: 4rem 10%;
    text-align: center;
}

.trust-labels p {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 3rem;
}

.labels-grid {
    display: flex;
    justify-content: space-between;
    opacity: 0.4;
    filter: grayscale(1);
    align-items: center;
}

/* Section Common */
section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.feature-box {
    background: var(--glass);
    padding: 3.5rem 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-box:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Steps Section */
.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.1;
    line-height: 1;
}

.step-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.step-text p {
    color: var(--text-muted);
}

/* Pricing Refinement */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.price-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.price-card.featured {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
}

.p-header {
    text-align: center;
    margin-bottom: 3rem;
}

.p-tier {
    font-weight: 800;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.p-amount {
    font-size: 4rem;
    font-weight: 900;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.p-amount span {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
}

.p-list {
    list-style: none;
    margin-bottom: 3rem;
    flex: 1;
}

.p-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}

.p-list li i {
    color: var(--primary);
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    border-radius: 1.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px;
}

/* Newsletter Section */
.cta-box {
    background: linear-gradient(135deg, var(--bg-card), rgba(99, 102, 241, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-form {
    max-width: 500px;
    margin: 3rem auto 0;
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    color: white;
    outline: none;
    font-size: 1rem;
}

/* Footer structure */
footer {
    padding: 8rem 10% 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-about p {
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 2rem;
    font-weight: 800;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links i {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

.social-links i:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* Animation Classes for Intersection Observer */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay helpers */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btns .btn:not(.mobile-nav-btn) {
        display: none;
    }

    
    .mobile-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--glass);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        color: white;
        cursor: pointer;
        font-size: 1.2rem;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        background: var(--bg-dark);
        z-index: 2000;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu-links a {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        text-decoration: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: none;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .stat-card-floating {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 1rem auto;
        width: fit-content;
        animation: none;
        transform: none !important;
    }


    .cta-box {
        padding: 3rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 1.5rem;
    }
}

.mobile-nav-btn {
    display: none;
}


/* ── Utility classes (replaces inline styles) ── */
.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mobile-menu-divider {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin: 1rem 0;
}

/* Google Auth Enhancements */
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.btn-google-hero {
    background: #fff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-google-hero img {
    width: 20px;
    height: 20px;
}

.btn-google-hero:hover {
    background: #f8fafc;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1);
}

.mobile-google-wrap {
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.btn-google {
    width: 100%;
    background: #fff;
    color: #1e293b !important;
    border: 1px solid #e2e8f0;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-google img {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-google-hero {
        justify-content: center;
    }
}