/* --- Variables & Reset --- */
:root {
    --bg-dark: #0f172a;       /* Deep Navy Background */
    --bg-card: #1e293b;       /* Slightly lighter card bg */
    --primary-red: #ef4444;   /* From Infographic Left */
    --primary-blue: #3b82f6;  /* From Infographic Right */
    --primary-gold: #f59e0b;  /* From Infographic Bottom Right */
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --font-main: 'Inter', sans-serif;
}

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Navigation --- */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

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

.highlight { color: var(--primary-blue); }

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--primary-blue); }

.btn-nav {
    background: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    color: white !important;
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

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

/* Abstract glowing background effect */
.hero-bg-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(15,23,42,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-light);
}

.btn:hover { transform: translateY(-2px); }

/* --- Core Concept --- */
.core-concept {
    text-align: center;
    margin-bottom: 60px;
}

.concept-card {
    background: rgba(255,255,255,0.05);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.concept-card h2 { font-size: 1.5rem; margin-bottom: 5px; }
.concept-card p { font-size: 0.9rem; color: var(--text-gray); margin: 0; }

/* --- Pillars Grid --- */
.pillars {
    padding: 50px 0;
}

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

.pillar-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border-top: 3px solid transparent;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.pillar-card:hover { transform: translateY(-5px); }

/* Specific borders based on infographic colors */
.strategy { border-color: var(--primary-red); }
.execution { border-color: var(--primary-blue); }
.optimization { border-color: #64748b; } /* Darker grey/blue */
.growth { border-color: var(--primary-gold); }

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
}

.red-icon { color: var(--primary-red); background: rgba(239, 68, 68, 0.1); }
.blue-icon { color: var(--primary-blue); background: rgba(59, 130, 246, 0.1); }
.dark-icon { color: #cbd5e1; background: rgba(255, 255, 255, 0.1); }
.gold-icon { color: var(--primary-gold); background: rgba(245, 158, 11, 0.1); }

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* --- Measurement & CTA --- */
.measurement-cta {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0b1120);
}

.measurement-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.text-side { flex: 1; min-width: 300px; }
.form-side { 
    flex: 1; 
    min-width: 300px; 
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.text-side h2 { font-size: 2.5rem; margin-bottom: 20px; }
.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}
.check-list i { color: var(--primary-gold); }

.form-side h3 { margin-bottom: 20px; text-align: center; }
.form-side input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
    font-size: 1rem;
}
.btn-block { width: 100%; }

/* --- Footer --- */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: var(--text-gray);
}

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

.socials a {
    margin-left: 20px;
    font-size: 1.2rem;
    transition: color 0.3s;
}
.socials a:hover { color: var(--primary-blue); }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    
    .hero h1 { font-size: 2.5rem; }
    
    .measurement-content { flex-direction: column; }
    
    .footer-content { flex-direction: column; gap: 20px; }
}

/* --- Pricing Section Styles --- */
.pricing-section {
    padding: 80px 0;
    background-color: var(--bg-dark); /* Same as body */
}

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

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

.section-header p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* Toggle Switch Styling */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-gray);
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--text-light);
}

.discount-badge {
    background: rgba(245, 158, 11, 0.2);
    color: var(--primary-gold);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

/* The Switch Container */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

/* The Slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #334155;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-blue);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center; /* Aligns cards vertically if heights differ */
}

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

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

/* Popular Card Highlight */
.price-card.popular {
    border: 1px solid var(--primary-blue);
    background: linear-gradient(180deg, rgba(59,130,246,0.1) 0%, var(--bg-card) 100%);
    transform: scale(1.05);
    z-index: 2;
}

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

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-display {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-gray);
    align-self: flex-start;
    margin-top: 10px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    color: var(--text-gray);
    margin-left: 5px;
}

.features-list {
    text-align: left;
    margin: 30px 0;
    padding: 0 10px;
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: var(--primary-blue);
    width: 20px;
    text-align: center;
}

.features-list li.disabled {
    color: var(--text-gray);
    opacity: 0.6;
}

.features-list li.disabled i {
    color: var(--text-gray);
}

/* Responsive adjustments for pricing */
@media (max-width: 900px) {
    .price-card.popular {
        transform: scale(1);
    }
    .price-card.popular:hover {
        transform: translateY(-5px);
    }
}