:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #38bdf8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #38bdf8 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 50%);
    z-index: -1;
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    width: 100%;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 5%;
    position: relative;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .hero-content {
        flex: 1;
        max-width: 600px;
    }

    .hero-visual {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 99px;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Form */
/* Aesthetic CTA Block */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.glow-effect {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #5865F2 0%, #404EED 100%);
    /* Discord/Community Blue */
    text-decoration: none;
    padding: 1rem 2.5rem;
}

.glow-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px -5px rgba(88, 101, 242, 0.6);
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
    opacity: 0;
}

.glow-effect:hover::after {
    transform: scale(1);
    opacity: 1;
    transition: 0s;
}

.launch-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.launch-status strong {
    color: white;
}

/* Visual Cards (Glassmorphism) */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Feature Cards with Specific Styling */
.glass-card {
    background: #0b0f17;
    /* Darker black/blue background as per image */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    /* More rounded */
    padding: 2rem;
    width: 100%;
    margin-bottom: 2rem;
    /* transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); REMOVED for flatter look */
    /* transition: transform 0.3s ease, background 0.3s ease; Keep transition but simpler */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    /* Simple lift instead of 3D rotate */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    background: #111825;
    z-index: 10;
}

/* Specific Card Tweaks for 3D stacking effect */
/* Specific Card Tweaks */
.yt-card {
    border: 1px solid rgba(255, 0, 0, 0.1);
    background: radial-gradient(circle at top right, rgba(255, 0, 0, 0.05), #0b0f17 40%);
}

.map-card {
    margin-top: 1.5rem;
    /* Just simple spacing instead of negative overlap */
    border: 1px solid rgba(56, 189, 248, 0.1);
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.05), #0b0f17 40%);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

/* Icons */
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.yt-icon {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.map-icon {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
}

/* Badge */
.new-badge {
    background: #3b82f6;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
}

/* Typography override for cards */
.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.glass-card p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.glass-card strong {
    color: #e2e8f0;
}

/* YouTube Tags */
.card-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag i {
    color: #64748b;
}

/* Google Maps Metrics */
.metrics-visual {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item {
    margin-bottom: 0.75rem;
}

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.metric-label {
    color: #e2e8f0;
}

.metric-score {
    font-weight: 600;
}

.green {
    color: #4ade80;
}

.yellow {
    color: #facc15;
}

.gray {
    color: #64748b;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 99px;
}

.green-fill {
    background: #4ade80;
}

.yellow-fill {
    background: #facc15;
}

.gray-fill {
    background: #475569;
}



/* Features Grid Section */
.features-grid {
    padding: 2rem 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-card {
    background: #0b1016;
    /* Dark Premium Bg */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    /* Consistent rounding */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    /* Force square-ish look */
    margin-bottom: 0;
    /* Override default glass-card margin */
    align-items: flex-start;
    aspect-ratio: 1/0.8;
    /* Slight rectangle, close to square */
    transition: all 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    background: #0f1621;
}

.card-header-simple {
    width: 100%;
    margin-bottom: 1rem;
}

/* Card 1: Sentiment Analysis */
.sentiment-bars {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
}

.bar {
    height: 30px;
    border-radius: 6px;
    transition: width 1s ease;
}

.bar-gray {
    width: 30%;
    background: #334155;
}

.bar-green {
    width: 40%;
    background: #22c55e;
}

.bar-blue {
    width: 30%;
    background: #06b6d4;
}

/* Card 2: Spam Shield */
.card-icon-bottom {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    font-size: 3.5rem;
    color: rgba(6, 182, 212, 0.15);
    /* Muted cyan */
}

/* Card 3: Chat with Video */
.icon-badge-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.chat-icon {
    width: 44px;
    height: 44px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.chat-bubbles {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    font-size: 0.8rem;
    gap: 0.5rem;
}

.bubble {
    padding: 0.6rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 0.8rem;
}

.bubble.right {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    text-align: right;
    margin-left: auto;
}

/* Card 4: Export */
.export-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-icon-bottom.csv-icon {
    font-size: 4.5rem;
    color: rgba(30, 41, 59, 0.8);
    /* Dark slate */
}

/* Footer */
.footer {
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
    text-align: center;
}

/* Removed media query that forced row layout on desktop to keep it always centered */

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Trusted By Section - Aesthetic */
.trusted-by {
    text-align: center;
    padding: 3rem 5%;
    margin: 2rem auto;
    max-width: 1000px;
}

.trusted-by p {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
}

/* Elegant line effect for the header */
.trusted-by p::before,
.trusted-by p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
}

.trusted-by p::before {
    right: 100%;
}

.trusted-by p::after {
    left: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 99px;
    color: #94a3b8;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.brand-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.brand-item i {
    font-size: 1.2rem;
    color: #cbd5e1;
    /* Slightly brighter icon */
}

/* Specific Brand Colors on Hover */
.brand-item[title="OpenAI"]:hover i {
    color: #10a37f;
}

.brand-item[title="Google Gemini"]:hover i {
    color: #8e24aa;
}

.brand-item[title="Google Cloud"]:hover i {
    color: #4285f4;
}

.brand-item[title="Cloudflare"]:hover i {
    color: #f38020;
}

/* CodeFlyDev Badge */
.codefly-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.9rem;
    color: #94a3b8;
    /* text-muted */
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.codefly-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.codefly-name {
    color: #2dd4bf;
    /* Teal color from image */
    font-weight: 600;
}

/* Responsiveness adjustments */
/* Responsiveness adjustments */
@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        padding: 1.5rem 5%;
    }

    .social-links {
        display: none;
        /* Hide social links on small screens to save space */
    }

    /* Hero Typography */
    h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Hero Layout */
    .hero {
        padding-top: 1rem;
        padding-bottom: 3rem;
        gap: 2.5rem;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-visual {
        max-width: 100%;
        margin-top: 1rem;
    }

    /* Mobile Card Stack */
    .yt-card,
    .map-card {
        margin: 0 0 1.5rem 0;
        /* Reset margins */
        transform: translateY(0);
        /* Remove initial transform */
    }

    .glass-card {
        padding: 1.5rem;
        /* Smaller padding */
        min-height: auto;
    }

    .grid-card {
        min-height: auto;
        aspect-ratio: auto;
    }

    .glass-card:hover {
        transform: translateY(-2px);
        /* Smaller movement on touch */
    }

    /* Trusted By Section Mobile */
    .trusted-by {
        padding: 2rem 1rem;
    }

    .logo-grid {
        gap: 1rem;
    }

    .brand-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding-bottom: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}