/* Design System & CSS Variables */
:root {
    /* Colors - Updated from Logo */
    --bg-dark: #0B0F19; /* Very dark blue, almost black */
    --bg-card: rgba(26, 35, 50, 0.6);
    --bg-card-hover: rgba(36, 47, 65, 0.8);
    
    /* New Accents based on the Light Blue and Grey Logo */
    --accent-primary: #38bdf8; /* Logo Light Blue (Tailwind Sky 400 approx) */
    --accent-hover: #0284c7; /* Darker Blue for hover */
    --accent-glow: rgba(56, 189, 248, 0.3);
    
    --accent-secondary: #71717A; /* Logo Grey (Tailwind Zinc 500) */
    
    --text-primary: #F8FAFC; /* Slate 50 */
    --text-secondary: #94A3B8; /* Slate 400 */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);

    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(11, 15, 25, 1), transparent 50%);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* offset for fixed header */
}

/* Reusable Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    line-height: 1.2;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--accent-primary);
    color: #0B0F19;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.125rem;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.cta-button:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: none;
}
.cta-outline:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

/* Glassmorphism Card Utility */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-5px);
}

/* --------- Header / Navigation --------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

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

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-item {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent-primary);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --------- Hero Sections --------- */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0) 0%, rgba(11, 15, 25, 1) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1s ease-out forwards;
}

.hero-content.left {
    margin: 0;
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
}

.hero-content:not(.left) p {
    margin-left: auto;
    margin-right: auto;
}

/* --------- Generic Sections --------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Alert Box */
.alert-box {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.1), rgba(0, 0, 0, 0));
    border-left: 4px solid #ef4444; /* red */
    border-radius: 0 16px 16px 0;
}
.alert-box.info {
    background: linear-gradient(45deg, rgba(56, 189, 248, 0.1), rgba(0, 0, 0, 0));
    border-left-color: var(--accent-primary);
}

.alert-box h4 {
    color: #f87171;
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.alert-box.info h4 {
    color: var(--accent-primary);
}

.alert-box p {
    color: var(--text-secondary);
}

/* Lists */
.benefit-list {
    list-style: none;
}
.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.benefit-list li i {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-top: 4px;
}
.benefit-list h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.benefit-list p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(26, 35, 50, 1), rgba(11, 15, 25, 1));
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* --------- CTA Section --------- */
.cta-section {
    padding: 100px 0;
    position: relative;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-card), rgba(26, 35, 50, 0.2));
    border: 1px solid var(--accent-primary);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.05), inset 0 0 60px rgba(56, 189, 248, 0.05);
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.1), transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

/* --------- Footer --------- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
    background-color: var(--bg-dark);
}

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

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: rgba(148, 163, 184, 0.6);
    font-size: 0.875rem;
}

/* Floating WhatsApp */
.wp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.wp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* Utilities & Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .menu-btn { display: block; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        border: none;
        padding-left: 16px;
        background: transparent;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero h1 { font-size: 2.25rem; }
    .section-header h2 { font-size: 2rem; }
}

/* New Hero Styles for Index */
.dark-grid-bg {
    background-color: #0B0F19;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    padding: 120px 0 80px 0;
}
.hero-split {
    display: flex;
    gap: 60px;
    align-items: center;
}
.hero-left {
    flex: 1;
}
.badge-dark {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.badge-dark::before {
    content: '•';
    color: var(--accent-primary);
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}
.hero-left h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 24px;
    font-weight: 800;
    text-transform: uppercase;
}
.hero-left h1 span.text-accent {
    color: var(--accent-primary);
}
.hero-left h2.sub-heading {
    font-size: 1.6rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.3;
}
.hero-desc {
    font-size: 1rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 16px;
}
.btn-primary {
    background-color: var(--accent-primary);
    color: #0b0f19;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #fff;
}
.btn-secondary {
    background-color: transparent;
    color: #fff;
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.05);
}
/* Stats Card */
.hero-right {
    flex: 1;
}
.stats-glass-card {
    background: rgba(15, 21, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
}
.stats-header {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
.stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 24px;
}
.stat-box h3 {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 4px;
}
.stat-box span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}
.stats-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.crea-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-primary);
}
.crea-info {
    display: flex;
    flex-direction: column;
}
.crea-info strong {
    font-size: 0.9rem;
    color: #fff;
}
.crea-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
@media (max-width: 1024px) {
    .hero-split { flex-direction: column; }
    .hero-left h1 { font-size: 3.5rem; }
}

/* Override inline logo height to make it properly proportioned and fill the header */
.logo {
    margin-bottom: 0 !important;
    height: 80px;
}
.logo img {
    height: 80px !important;
    max-height: 80px !important;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

/* Mobile Fixes for First Fold and Components */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-split { gap: 40px; }
    .dark-grid-bg { padding: 100px 0 60px 0; }
    
    .hero-left h1 { 
        font-size: 2.25rem; 
        line-height: 1.1; 
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-left h2.sub-heading { 
        font-size: 1.25rem; 
        margin-bottom: 20px; 
    }
    
    .hero-desc { 
        font-size: 0.95rem; 
        margin-bottom: 32px; 
    }
    
    .hero-buttons { 
        flex-direction: column; 
        width: 100%; 
    }
    
    .btn-primary, .btn-secondary { 
        text-align: center; 
        width: 100%; 
        padding: 14px 20px; 
    }
    
    .badge-dark { 
        font-size: 0.65rem; 
        padding: 6px 12px; 
        white-space: normal;
        display: inline-block;
        line-height: 1.4;
    }

    /* Stats Card */
    .stats-glass-card { 
        padding: 24px; 
    }
    
    .stats-grid { 
        gap: 12px; 
        grid-template-columns: 1fr;
    }
    
    .stat-box { 
        padding: 16px; 
    }
    
    .stat-box h3 { 
        font-size: 1.5rem; 
    }
    
    .crea-info strong { 
        font-size: 0.8rem; 
    }
    
    /* Header & Logo */
    .logo img {
        max-width: 200px;
        height: 60px !important;
        max-height: 60px !important;
    }

    /* Grids & Padding */
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 60px 0;
    }

    /* CTA Section */
    .cta-box {
        padding: 40px 20px;
    }
    .cta-box h2 {
        font-size: 1.8rem;
    }
    .cta-button {
        padding: 16px 20px !important; 
        font-size: 1rem !important;    
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

