/* 
   Project: Jayesh Mahawer - AI SaaS & Portfolio
   Theme: High-End Dark Mode Primary (Deep Navy, Indigo, Glassmorphism)
   Font: Plus Jakarta Sans / Inter
*/

/* 1. Reset & Variables */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Core Palette - Dark Mode First */
    --bg-dark: #020617;
    /* Deepest Navy/Black */
    --bg-card: #0F172A;
    /* Slate 900 */
    --bg-glass: rgba(15, 23, 42, 0.7);

    --primary: #6366F1;
    /* Indigo 500 */
    --primary-hover: #4F46E5;
    /* Indigo 600 */
    --accent: #38BDF8;
    /* Sky 400 */

    --text-main: #F8FAFC;
    /* Slate 50 */
    --text-muted: #94A3B8;
    /* Slate 400 */

    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.5);

    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.25);

    /* Animation */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme='light'] {
    /* Sleek Light Mode Override */
    --bg-dark: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.8);

    --primary: #4F46E5;
    --primary-hover: #4338CA;

    --text-main: #0F172A;
    --text-muted: #64748B;

    --border-light: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(79, 70, 229, 0.4);

    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

/* 2. Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: 1.25rem;
    }
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* 3. Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem !important;
        /* Force px-6 on mobile as requested */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
        /* px-5 for very small screens */
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.gradient-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    /* fallback */
    width: 100vw;
    max-width: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -2;
    pointer-events: none;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary);
    margin-left: 2px;
    animation: blink 0.8s infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* 4. Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    height: 80px;
    display: flex;
    align-items: center;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        height: 64px;
    }
}

html[data-theme='light'] .logo img {
    filter: invert(1) !important;
}

.logo img {
    height: 40px;
    filter: brightness(1.2) !important;
    transition: filter 0.3s ease;
}


.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* Slightly tighter for mobile */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* 5. Components: Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-hover);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* 6. Components: Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    min-height: 44px;
    /* Ensure thumb-friendly */
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--border-light);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

/* 7. Footer */
.footer {
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 3rem;
    margin-top: 4rem;
    background: var(--bg-card);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    /* Ensure links wrap on small screens */
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* 8. Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        /* Matches mobile navbar height */
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        animation: slideDown 0.3s ease-out;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 0;
        font-size: 1.05rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    #theme-toggle {
       
        width: 48px;
        height: 48px;
    }

    .mobile-toggle {
        display: block;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* 10. Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-main);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

/* 11. Utilities */
.hidden {
    display: none !important;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-tools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 1400px) {
    .grid-tools {
        grid-template-columns: repeat(6, 1fr);
    }
}

.grid-tools .card {
    padding: 1.25rem;
    border-radius: 12px;
}

.grid-tools .card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
}

.grid-tools .card-icon svg {
    width: 18px;
    height: 18px;
}

.grid-tools .card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.grid-tools .card p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.grid-tools .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

@media (max-width: 1200px) {
    .grid-tools {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-4 {
    gap: 1rem;
}

/* 12. Hero Section Refinement */
.hero {
    padding-top: clamp(3rem, 6vh, 4rem);
    /* mt-28 / 120px+ spacing from fixed nav */
    padding-bottom: clamp(3rem, 6vh, 4rem);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.15rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero h1 {
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        margin-bottom: 1rem;
    }
}

/* Hero Button Responsiveness */
@media (max-width: 768px) {
    .hero .flex-center {
        flex-direction: column;
        width: 100%;
    }

    .hero .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero .btn svg {
        width: 16px;
        height: 16px;
    }
}

/* 13. 404 Page */
.error-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--border-light);
    line-height: 1;
}

/* 14. Infinite Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.05);
}

.marquee-item img {
    height: 24px;
    width: auto;
    filter: invert(1) grayscale(1) opacity(0.6);
    transition: filter 0.3s ease;
}

[data-theme='light'] .marquee-item img {
    filter: grayscale(1) opacity(0.6);
}

.marquee-item:hover img {
    filter: invert(1) grayscale(0) opacity(1);
}

[data-theme='light'] .marquee-item:hover img {
    filter: grayscale(0) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Marquee Mobile Adjustments */
@media (max-width: 768px) {
    .marquee-container {
        padding: 2rem 0;
    }

    .marquee-content {
        gap: 2.5rem;
    }

    .marquee-item {
        font-size: 0.95rem;
        gap: 0.5rem;
    }

    .marquee-item img {
        height: 20px;
    }
}

/* 15. Workflow Section */
.workflow-section {
    padding: 6rem 0;
    position: relative;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.05;
    transition: opacity 0.3s ease;
}

.step-card:hover .step-number {
    opacity: 0.1;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* 16. Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 1rem;
}

/* 17. CTA Section */
.cta-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.cta-box>* {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    margin-bottom: 1.5rem;
}

/* Mobile CTA Adjustments */
@media (max-width: 768px) {
    .cta-box {
        padding: 2.5rem 1.5rem;
        margin: 2rem 0;
        border-radius: 16px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* 18. Store Specific Utilities (Tailwind-like support) */
.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .md\:py-24 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

/* Store Grid System */
.store-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* grid-cols-1 on mobile */
    gap: 1.5rem;
    /* gap-6 equivalent (~24px) */
}

@media (min-width: 640px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .store-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Store Helper Classes */
.text-red {
    color: #ef4444;
}

.text-green {
    color: #22c55e;
}

.bg-green-light {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.bg-slate-900 {
    background-color: #0f172a;
}

/* Use existing card bg var if preferred, but for now specific */
.line-through {
    text-decoration: line-through;
}

.object-cover {
    object-fit: cover;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-3 {
    top: 0.75rem;
}

.right-3 {
    right: 0.75rem;
}

.z-10 {
    z-index: 10;
}

.p-6 {
    padding: 1.5rem;
}

.flex-col {
    flex-direction: column;
}

.flex-grow {
    flex-grow: 1;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

.text-transparent {
    color: transparent;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.rounded-full {
    border-radius: 9999px;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

/* Additions for Store Page Improvements */

/* Compact Product Cards */
.product-card-small .product-img-container {
    height: 160px;
    /* Reduced from 192px (h-48) */
}

.product-card-small .card-content {
    padding: 1rem 1.25rem;
    /* Reduced padding from p-6 (1.5rem) */
}

.product-card-small h3 {
    font-size: 1rem;
    /* Reduced from text-lg or xl */
    line-height: 1.4;
}

.product-card-small .price-tag {
    font-size: 1.25rem;
    /* Reduced from 2xl */
}

/* Mobile Product Card Alignment */
@media (max-width: 768px) {
    .product-card-small .card-content {
        text-align: center;
        align-items: center;
    }

    .product-card-small .card-content .flex.items-center {
        justify-content: center;
        width: 100%;
    }
}

/* Scrollable Testimonials (Infinite Marquee) */
.testimonial-marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Ensure it handles large counts */
    min-width: 200%;
    animation: testimonial-scroll 60s linear infinite;
    will-change: transform;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-card-gentle {
    width: 280px;
    /* Mobile friendly start width */
    max-width: 85vw;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .testimonial-card-gentle {
        width: 350px;
        padding: 1.5rem;
    }
}

.testimonial-card-gentle:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

@keyframes testimonial-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Ensure mobile items are sized correctly and don't shrink */
.testimonial-card-gentle {
    width: 300px;
    flex-shrink: 0;
    white-space: normal;
}

@media (max-width: 768px) {
    .testimonial-track {
        animation-duration: 40s;
        /* Slightly faster on mobile for better feel */
    }
}

/* Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-best-seller {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.3);
}

.badge-top-rated {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border-color: rgba(99, 102, 241, 0.3);
}

.badge-new {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.badge-trending {
    background: rgba(244, 63, 94, 0.2);
    color: #fb7185;
    border-color: rgba(244, 63, 94, 0.3);
}

.timeline-container {
    padding-left: 2rem;
    border-left: 2px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-left: 0.5rem;
    margin-top: 2rem;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: calc(-2rem - 7px);
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 2px solid var(--bg-card);
    z-index: 1;
}

.timeline-item:first-child .timeline-dot {
    background: var(--primary);
}

@media (max-width: 480px) {
    .timeline-container {
        padding-left: 1.5rem;
        margin-left: 0;
    }

    .timeline-dot {
        left: calc(-1.5rem - 7px);
    }
}

/* Improved Section Spacing */
.section-gap {
    margin-bottom: 8rem;
}

/* Mobile Global Scan Fixes */
@media (max-width: 768px) {

    /* Center align simple cards (Home Page Tools) - But keep contact/product forms professional */
    .card:not(.product-card-small):not(.contact-card) {
        text-align: center;
        align-items: center;
    }

    .contact-card {
        text-align: left !important;
        align-items: flex-start !important;
    }

    /* Center align step cards (Home Page Workflow) */
    .step-card {
        text-align: center;
    }

    /* CTA Section Button Fix (Prevents Horizontal Overflow) */
    .cta-box .flex-center {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .cta-box .btn {
        width: 100%;
        max-width: 100%;
    }

    .step-card .step-icon {
        margin-left: auto;
        margin-right: auto;
    }
}