/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #22C55E; /* Neon Green */
    --secondary-color: #EC4899; /* Magenta */
    --bg-dark: #09090b;
    --bg-darker: #000000;
    --bg-card: rgba(24, 24, 27, 0.6);
    --text-light: #ffffff;
    --text-muted: #a1a1aa;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #22C55E 0%, #16a34a 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(34, 197, 94, 0.4) 0%, transparent 70%);

    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* Effects */
    --shadow-glow: 0 0 20px rgba(34, 197, 94, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; margin-bottom: var(--spacing-md); }
h3 { font-size: 1.5rem; }
p { color: var(--text-muted); font-size: 1.1rem; }

a { text-decoration: none; color: inherit; transition: 0.3s ease; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.glow-text {
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s, padding 0.3s;
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.logo img {
    height: 40px;
}

.logo .accent { color: var(--primary-color); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover::after { width: 100%; }

.mobile-menu-toggle { display: none; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.1em;
}

.hero-subtitle {
    margin: var(--spacing-md) 0 var(--spacing-lg);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: var(--spacing-xl);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient-glow);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.hero-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Social Proof */
.social-proof {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-label {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.partner-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Services */
.services {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Flip Cards */
.service-card-flip {
    background-color: transparent;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 16px;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.service-card-front {
    background-color: var(--bg-card);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.service-title-front {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.service-card-back {
    background-color: #111;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--primary-color);
}

.glass-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(12px);
}

.service-title-back {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.feature-tag {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Showcase */
.showcase {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-dark), #000);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-item {
    height: 300px;
    background: var(--bg-card);
    border-radius: 16px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    border: var(--glass-border);
    transition: transform 0.3s;
}

.showcase-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.03);
    padding: 60px;
    border-radius: 24px;
    border: var(--glass-border);
    backdrop-filter: blur(10px);
}

.cta-title {
    margin-bottom: 20px;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 60%);
    z-index: 1;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-text {
    margin-top: 20px;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-color); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-cta, .hero-stats {
        justify-content: center;
    }
    
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- NEW: CSS Patterns for Placeholders --- */
.info-pattern {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 16px 16px 0 0;
}

/* Grid Pattern (Service 2) */
.pattern-grid {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(34, 197, 94, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
}

.pattern-grid::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.2), transparent 70%);
}

/* Wave Pattern (Service 3) */
.pattern-wave {
    background-color: #050505;
    background-image: repeating-radial-gradient(
        circle at 50% 100%, 
        transparent 0, 
        rgba(236, 72, 153, 0.1) 10px, 
        transparent 20px
    );
}

.pattern-wave::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* Hex Pattern (Service 4) */
.pattern-hex {
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.15) 10%, transparent 60%),
        radial-gradient(circle at 0% 0%, rgba(236, 72, 153, 0.15) 10%, transparent 60%);
    position: relative;
    overflow: hidden;
}

/* Using a simple CSS grid overlay instead of data URI for reliability */
.pattern-hex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(60deg, #222 25%, transparent 25.5%, transparent 75%, #222 75%, #222), linear-gradient(60deg, #222 25%, transparent 25.5%, transparent 75%, #222 75%, #222);
    background-size: 20px 35px;
    background-position: 0 0, 10px 17.5px;
    opacity: 0.1;
}
