/* CSS Variables & Reset */
:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #4D94FF;
    --secondary-color: #1E293B;
    --text-color: #334155;
    --heading-color: #0F172A;
    --bg-color: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-gradient: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 100%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.3);

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;

    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.small-container {
    max-width: 800px;
}

.center {
    text-align: center;
}

.mt-6 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: rgba(0, 102, 255, 0.1);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 102, 255, 0.2);
}

.btn-outline {
    border-color: #E2E8F0;
    color: var(--heading-color);
    background: transparent;
}

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

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-full {
    width: 100%;
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    padding: 1.5rem 0;
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: white;
    /* Light font for hero */
    letter-spacing: -0.02em;
    transition: var(--transition-base);
}

.navbar.scrolled .logo {
    color: var(--heading-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-base);
}

.navbar.scrolled .nav-links a:not(.btn) {
    color: var(--text-color);
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color) !important;
}

.navbar.scrolled .nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--heading-color);
}

/* =========================================
   Hero Section (Dark Mode)
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
    /* Deep midnight gradient */
    background: radial-gradient(circle at center, #0B1120 0%, #020617 100%);
    background-color: #020617;
    color: white;
    /* Default text color for hero */
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    mix-blend-mode: screen;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Vignette */
    background: radial-gradient(circle at center, transparent 0%, #020617 100%);
    opacity: 0.8;
    mix-blend-mode: normal;
    pointer-events: none;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    /* Dark mode badge styles */
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: white !important;
    /* Force white */
    text-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
}

.hero .gradient-text {
    background: linear-gradient(135deg, #60A5FA, #38BDF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1 !important;
    /* Force light slate */
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: white !important;
}

.hero-feature-item i {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    color: #38bdf8;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-testimonial {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 3rem;
    /* Dark testimonial card */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #38bdf8;
    color: #0f172a;
    /* Dark text on bright avatar */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-text {
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.4;
    color: #e2e8f0;
}

.testimonial-author {
    display: block;
    font-weight: 600;
    color: white;
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

/* Section Common */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

/* Process Section */
.process-section {
    background-color: var(--bg-alt);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.step-icon-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: #F1F5F9;
    font-family: var(--font-heading);
    line-height: 1;
}

.step-icon-wrapper i {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    background: #eff6ff;
    padding: 10px;
    border-radius: 12px;
}

.step-meta {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Comparison Section */
.comparison-section {
    overflow: hidden;
}

.background-blob {
    position: absolute;
    right: -10%;
    top: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-list li i {
    color: var(--primary-color);
    background: #F0F9FF;
    border-radius: 50%;
    padding: 4px;
    width: 24px;
    height: 24px;
}

.highlight-box {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.stat-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: #cbd5e1;
}

.testimonial-card-large {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: #e2e8f0;
    z-index: 0;
}

.quote-icon i {
    width: 48px;
    height: 48px;
}

.quote-text {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--heading-color);
    margin-bottom: 2rem;
}

/* Audience Section */
.audience-section {
    background: linear-gradient(to bottom, #FFFFFF, #F8FAFC);
}

.grid-2-col-dense {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.audience-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid #f1f5f9;
    transition: var(--transition-base);
}

.audience-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.audience-card h3 {
    font-size: 1.15rem;
    margin: 1rem 0 0.5rem 0;
}

.audience-card .icon-box {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.audience-card.highlight-card {
    background: var(--heading-color);
    color: white;
}

.audience-card.highlight-card h3 {
    color: white;
}

.audience-card.highlight-card p {
    color: #94a3b8;
}

.audience-card.highlight-card .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--bg-alt);
}

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

.portfolio-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition-base);
    display: block;
    text-decoration: none;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.portfolio-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

.portfolio-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: shimmer 2s infinite;
    opacity: 0;
}

.portfolio-card:hover .portfolio-image-placeholder::before {
    opacity: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.portfolio-image-placeholder i {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.portfolio-image-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.7;
}

/* For actual images when added */
.portfolio-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--heading-color);
    transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-info h3 {
    color: var(--primary-color);
}

.portfolio-link {
    font-size: 0.875rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.portfolio-link::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image-placeholder {
        height: 180px;
    }
}

.pricing-section {
    background: #020617;
    background-image:
        radial-gradient(circle at 50% 50%, #0B1120 0%, #020617 100%),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px;
    /* Technical Dots Texture */
    position: relative;
    overflow: hidden;
}

.pricing-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.pricing-glow-1 {
    top: 10%;
    left: 10%;
    background: #0066FF;
}

.pricing-glow-2 {
    bottom: 10%;
    right: 10%;
    background: #60A5FA;
}

.pricing-glow-3 {
    top: 40%;
    left: 40%;
    background: #0066FF;
    opacity: 0.1;
}

.pricing-section .container {
    position: relative;
    z-index: 10;
}

/* Pricing Card Styling */
.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem;
    position: relative;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    transform: scale(1.05);
}

.pricing-card h3 {
    color: var(--heading-color);
}

.pricing-card .price {
    color: var(--heading-color);
}

.pricing-card .description {
    color: var(--text-color);
}

.pricing-card .check-list li {
    color: var(--text-color);
}

.pricing-card .old-price {
    color: #94a3b8;
    text-decoration: line-through;
}

.pricing-card .sub-price {
    color: #10B981;
}

.pricing-card .btn-outline {
    border-color: #E2E8F0;
    color: var(--heading-color);
}

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

.pricing-section .section-title {
    color: white;
}

.pricing-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.featured-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card .card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-card .old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
    margin-bottom: -0.5rem;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--heading-color);
    margin: 0.5rem 0;
    line-height: 1;
}

.pricing-card .sub-price {
    font-size: 1.125rem;
    color: #10B981;
    /* Green color from screenshot */
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.pricing-card .description {
    font-size: 0.9rem;
    color: var(--text-color);
    padding: 0 1rem;
    line-height: 1.4;
}

.pricing-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.check-list {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.check-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.check-list li i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--heading-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Arbitrary large height */
    opacity: 1;
    padding-bottom: 1.5rem;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* CTA Footer */
.cta-section {
    background: var(--heading-color);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0;
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
.fade-in-up,
.reveal-text,
.reveal-card,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-full-mobile {
        width: 100%;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .md-only {
        display: none;
    }
}