:root {
    --bg-dark: #0B0F19; /* Deep Space Black */
    --bg-card: #1A365D; /* Tech Azure */
    --accent-cyan: #38BDF8; /* Softer, elegant light blue/cyan */
    --text-primary: #F8FAFC; /* Ghost White */
    --text-secondary: #94A3B8;
    --input-bg: rgba(11, 15, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --navbar-bg: rgba(11, 15, 25, 0.8);
    --navbar-border: rgba(26, 54, 93, 0.5);
    --stack-bg: rgba(26, 54, 93, 0.2);
    --card-bg-alpha: rgba(26, 54, 93, 0.4);
    --card-bg-hover: rgba(26, 54, 93, 0.7);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body.light-theme {
    --bg-dark: #EBEAE4; /* Soft oat/sand color, absorbs light */
    --bg-card: #F4F4F0; /* Very dim warm off-white for cards */
    --accent-cyan: #0284C7; /* Keeps the blue readable */
    --text-primary: #2D3748; /* Soft charcoal, no harsh black */
    --text-secondary: #4A5568; /* Darker muted gray for secondary text */
    --input-bg: #E2E2DC; /* Dimmer input background */
    --border-color: #D1D1C7; /* Soft border */
    
    --navbar-bg: rgba(235, 234, 228, 0.8);
    --navbar-border: rgba(209, 209, 199, 0.5);
    --stack-bg: rgba(209, 209, 199, 0.2);
    --card-bg-alpha: #FDFDFB;
    --card-bg-hover: #FFFFFF;
}

body.light-theme .glow-orb {
    display: none; /* Hide neon glow in light mode to prevent muddy contrast */
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, .tier-name, .logo span {
    font-family: var(--font-heading);
}

.highlight-cyan {
    color: var(--accent-cyan);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--navbar-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px; /* Clear but not invasive */
    border-radius: 8px; /* Smooth edges */
}

.logo span {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: #0284c7; /* Elegant, trustworthy blue */
    color: #ffffff;
    /* Removed the blinding neon glow */
}

.btn-primary:hover {
    background-color: #0369a1; /* Slightly darker on hover */
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4); /* Elegant, soft shadow */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background-color: rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.w-100 {
    width: 100%;
}

.btn-theme {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--text-primary);
}
.btn-theme:hover {
    transform: scale(1.1) rotate(15deg);
    color: var(--accent-cyan);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,240,255,0.15) 0%, rgba(11,15,25,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
}

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

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Generic Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* PAS Section */
.pas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pas-card {
    background: rgba(26, 54, 93, 0.3);
    border: 1px solid rgba(26, 54, 93, 0.8);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.pas-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.pas-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.pas-card p {
    color: var(--text-secondary);
}

/* Solution Section */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.sol-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(26, 54, 93, 0.2) 100%);
    border-left: 4px solid var(--accent-cyan);
    padding: 40px;
    border-radius: 12px;
}

.sol-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.sol-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.sol-card p {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.price-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.popular {
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    transform: scale(1.05);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan);
    color: var(--bg-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.tier-name {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.price {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    margin-bottom: 16px;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
    min-height: 50px;
}

.features {
    list-style: none;
    margin-bottom: 40px;
}

.features li {
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(26, 54, 93, 0.5);
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

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

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-socials a {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-socials a:hover {
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* Lead Capture Form */
.form-section {
    padding: 100px 0;
    background: var(--bg-dark); /* Blends harmoniously */
}

.form-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.form-status {
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* Tech Stack Section */
.tech-stack {
    padding: 60px 0;
    text-align: center;
    background: var(--stack-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.stack-title {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.tech-card {
    background: var(--card-bg-alpha);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.tech-icon {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}
.tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 15px rgba(56, 189, 248, 0.1);
    background: var(--card-bg-hover);
}
.tech-card:hover .tech-icon {
    color: var(--accent-cyan);
    transform: scale(1.1);
}
.tech-card span {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
}
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item summary {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-primary);
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
}
.faq-item[open] summary::after {
    content: '-';
}
.faq-item p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

/* Founder Section */
.founder-section {
    padding: 80px 0;
}
.founder-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}
.founder-img {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--input-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--border-color);
}
.founder-img img, .founder-img svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.founder-content h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}
.founder-content p {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.founder-content .signature {
    font-weight: 600;
    font-style: normal;
    color: var(--accent-cyan);
    font-size: 1rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.whatsapp-float i {
    font-size: 35px;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.5);
}

.footer-socials i {
    font-size: 28px;
}

/* Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card.popular {
        transform: none;
    }
    
    .price-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .pas-grid, .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links a:not(.btn) {
        display: none; /* Hide text links on mobile, keep CTA button */
    }

    .nav-links .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .form-wrapper {
        padding: 24px;
    }

    .founder-wrapper {
        flex-direction: column;
        text-align: center;
    }
}
