/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* CSS Variables */
:root {
    --bg-color: #0d0d0d;
    --bg-dark: #121212;
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --subtext-color: #cccccc;
    --accent-color: #84ff00;
    --secondary-accent: #66cc00;
    --btn-bg: #84ff00;
    --btn-text: #0a0a0a;
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(132, 255, 0, 0.2);
    --card-bg: #22222253;
    --card-border: rgba(255, 255, 255, 0.1);
    --nav-hover-bg: rgba(255, 255, 255, 0.1);
    --line-color: rgba(255, 255, 255, 0.15);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.165) 1px, transparent 0);
    background-size: 30px 30px;
    /* Slightly smaller dots */
    min-height: 100vh;
    overflow-x: hidden;
    /* Prevent horizontal scroll from animations */
}

HTML {
    scroll-behavior: smooth;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(13, 13, 13, 0.85);
    /* Darker with more opacity */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 1px;
    text-decoration: none;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.logo-dot {
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 0;
    /* Aligns dot better */
    margin-right: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    position: relative;
    /* For indicator positioning */
    background-color: rgba(34, 34, 34, 0.7);
    /* Slightly darker, more opaque */
    border-radius: 50px;
    padding: 5px;
    /* Reduced padding */
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.nav-indicator {
    position: absolute;
    height: calc(100% - 8px);
    /* Adjust based on padding */
    top: 4px;
    /* Adjust based on padding */
    background-color: var(--accent-color);
    border-radius: 25px;
    /* Match link radius */
    z-index: -1;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Smoother transition */
    opacity: 0;
    /* Initially hidden, shown when active link is set */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    /* Slightly smaller for minimalistic */
    padding: 10px 20px;
    /* Consistent padding */
    border-radius: 25px;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
    /* For z-index stacking context if needed */
    z-index: 1;
}

.nav-links a:hover {
    color: var(--btn-text);
    /* Brighter on hover */
}

.nav-links a.active {
    color: var(--btn-text);
    /* Text color on active (over indicator) */
}


.nav-cta a {
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(132, 255, 0, 0.5);
    /* Accent border */
    padding: 10px 20px;
    /* Adjusted padding */
    border-radius: 50px;
    font-size: 0.95rem;
    /* Slightly smaller */
    transition: all 0.3s ease;
    background-color: transparent;
    /* Minimalistic */
    font-weight: 500;
}

.nav-cta a:hover {
    background-color: rgba(132, 255, 0, 0.15);
    /* Subtle accent hover */
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(132, 255, 0, 0.1);
}

.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    /* Larger for easier tap */
    color: var(--accent-color);
    background: none;
    border: none;
    padding: 5px;
    /* Remove extra padding */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    z-index: 1001;
    /* Above mobile menu when closed */
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    /* Initially off-screen */
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    /* Slightly different bg for clarity */
    transition: left 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Smoother slide */
    z-index: 999;
    padding: 80px 30px 30px;
    /* More padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center links */
    justify-content: center;
    /* Center links */
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* Increased gap */
    text-align: center;
    /* Center text */
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.5rem;
    /* Larger for mobile */
    padding: 10px 15px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--accent-color);
    transform: scale(1.05);
    /* Subtle scale on hover/active */
}

.close-menu {
    position: absolute;
    top: 20px;
    /* Consistent positioning */
    right: 5%;
    /* Consistent positioning */
    font-size: 2rem;
    /* Larger close icon */
    color: var(--accent-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.close-menu:hover {
    transform: scale(1.1);
}


/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 140px 20px 80px;
    /* More top padding due to fixed header */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    /* Centered */
}

.section-badge {
    background-color: rgba(132, 255, 0, 0.1);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideInRight 0.8s ease-out 0.5s forwards;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.accent-text {
    color: var(--accent-color);
    display: block;
    /* Ensures it can break line if needed */
}

.hero p {
    font-size: 1.2rem;
    color: var(--subtext-color);
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    opacity: 0;
    /* Animation for the container */
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.action-btn {
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-size: 16px;
    white-space: nowrap;
    /* width: 100%; max-width: 180px; /* Removed for more natural fit */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    /* animation: fadeIn 0.8s ease-out 0.3s forwards; /* Redundant if parent has fadeInUp */
}

.action-btn:hover {
    background: var(--secondary-accent);
    transform: translateY(-3px) scale(1.03);
    /* Enhanced hover */
    box-shadow: 0 8px 20px rgba(132, 255, 0, 0.2);
    /* Accent shadow */
}

.features {
    display: flex;
    gap: 30px;
    color: var(--subtext-color);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.feature-icon.checkmark {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"></path></svg>') no-repeat center;
    /* Simpler checkmark */
    background-size: contain;
}

/* Logo Slider */
.logo-slider {
    padding: 3rem 0;
    background: #181818;
    /* Slightly lighter than pure dark */
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    /* For pseudo-elements */
}

.slider-container {
    width: 100%;
    /* max-width: 1400px; /* Let it be full width for the fades */
    margin: 0 auto;
    position: relative;
}

.slide-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    /* This is important for spacing */
    /* width will be set by JS to ensure it's large enough */
    animation-name: scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    /* animation-duration will be set by JS or use a default like 40s */
    animation-duration: 40s;
    /* Default, can be overridden by JS if needed */
}


.slide {
    min-width: 220px;
    /* Ensure items have a base width */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(132, 255, 0, 0.3);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    white-space: nowrap;
}

.slide:hover {
    color: var(--secondary-accent);
    text-shadow: 0 0 20px rgba(132, 255, 0, 0.7);
}

/* Keyframes are defined in JS for dynamic width, or can be static if slide count is fixed */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Translate by half the track width (original + clones) */
}


.slider-container::before,
.slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    /* Wider fade */
    height: 100%;
    z-index: 2;
    /* Above slides */
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 20%, transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 20%, transparent);
}


/* Process Section */
.process {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 20px;
}

#icon {
    width: 100%;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* More responsive grid */
    gap: 30px;
    width: 100%;
}

.process-step {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    min-height: 260px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    /* For the pseudo-element */
    animation: appear linear;
    /* Added view-timeline animation */
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    /* Adjust range for earlier trigger */
}

.process-step:hover {
    transform: translateY(-10px) scale(1.02);
    /* Slight scale on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow */
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.process-step:hover::before {
    opacity: 1;
}


.icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(132, 255, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-step:hover .icon-wrapper {
    transform: scale(1.15);
    background-color: rgba(132, 255, 0, 0.2);
    /* Darker bg on hover */
}

.step-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.step-icon.user {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" /><circle cx="12" cy="7" r="4" /></svg>');
}

.step-icon.request {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z" /></svg>');
    /* Message Icon */
}

.step-icon.build {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"></polygon><line x1="12" y1="22" x2="12" y2="12"></line><polyline points="22 8.5 12 12 2 8.5"></polyline><polyline points="17 5.5 7 5.5"></polyline><line x1="12" y1="2" x2="12" y2="5.5"></line></svg>');
    /* Hexagon structure */
}

.step-icon.refine {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 4 23 10 17 10"></polyline><polyline points="1 20 1 14 7 14"></polyline><path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path></svg>');
    /* Refresh/Cycle Icon */
}

.process-step h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Temperoral Pricing */
.pricing-container {
    background: linear-gradient(to bottom, rgba(34, 34, 34, 0.8), rgba(18, 18, 18, 0.8));
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 40px 20px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
}

.price-box {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(5px);
}

.price-tag {
    background-color: transparent;
    color: var(--text-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.price-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 16px var(--accent-color);
    animation: shine 3s infinite;
    position: relative;
}

@keyframes shine {
    0% {
        box-shadow: 0 0 0 0 rgba(132, 255, 0, 0.4);
        opacity: 1;
    }

    50% {
        box-shadow: 0 0 16px 8px rgba(132, 255, 0, 0.2);
        opacity: 0.7;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(132, 255, 0, 0.4);
        opacity: 1;
    }
}

.price {
    font-size: 36px;
    font-weight: bold;
    color: var(--accent-color);
    margin: 0px;
}

.price-title h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    color: var(--text-color);
}

.features-container {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    padding: 12px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.check-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    margin-right: 12px;
}

.feature-text {
    font-size: 18px;
    font-weight: normal;
    color: var(--text-muted);
}

.cta-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 12px 50px;
    background: linear-gradient(145deg, var(--btn-bg), var(--secondary-accent));
    color: var(--btn-text);
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, var(--secondary-accent), var(--btn-bg));
    box-shadow: 0 8px 16px rgba(132, 255, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .price-box {
        flex-direction: column;
    }

    .price-tag {
        margin-bottom: 16px;
        margin-right: 0;
    }

    .features-container {
        flex-direction: column;
        gap: 24px;
    }

    .price-title h2 {
        font-size: 20px;
    }

    .feature-text {
        font-size: 16px;
    }

    .cta-button {
        padding: 10px 40px;
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .price-title h2 {
        display: none;
    }

    .price-tag {
        background-color: transparent;
        color: var(--text-color);
        padding: 16px 24px;
        display: flex;
        align-items: center;
        margin: 0;
    }
}

.portfolio-section {
    padding: 80px 0;
    position: relative;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.section-badge {
    margin-bottom: 60px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    align-items: start;
}

.portfolio-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-card.featured {
    grid-column: span 2;
}

.portfolio-card:hover {
    transform: translateY(-8px);
}

.card-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(139, 195, 74, 0.05) 0%,
            transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.card-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.card-content {
    align-self: flex-start;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-content {
    transform: translateY(0);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.card-description {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

.arrow-icon {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color, #8bc34a);
    transform: rotate(45deg) translateY(10px);
    transition: all 0.3s ease;
}

.portfolio-card:hover .arrow-icon {
    transform: rotate(45deg) translateY(0);
    background: rgba(255, 255, 255, 0.15);
}

.arrow-icon svg {
    transform: rotate(-45deg);
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-section {
        padding: 60px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-card.featured {
        grid-column: span 1;
    }

    .card-image img {
        height: 250px;
    }

    .card-overlay {
        padding: 20px;
    }

    .card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .card-image img {
        height: 200px;
    }
}

/* Remove complex after effects */
.portfolio-card::after {
    display: none;
}

/* Temperoral Pricing */
.pricing-card {
    background: linear-gradient(to top right, rgba(42, 47, 36, 0.166), rgba(69, 73, 64, 0.284));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 35px 30px;
    width: 100%;
    max-width: 300px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(132, 255, 0, 0.3);
}

.plan-name {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}


.price .price-value {
    /* Ensure span is also bold if needed */
    font-weight: 700;
}

.period {
    font-size: 1rem;
    color: var(--subtext-color);
    margin-left: 5px;
    font-weight: 400;
}

.features-list {
    list-style: none;
    color: var(--subtext-color);
    margin-bottom: auto;
    /* Pushes button to bottom */
    padding-left: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    /* Vertically align items if text wraps */
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.4;
    /* For better readability */
}

/* For fixed features like "✔ 1 project request" */
.features-list li:not(.option-header):not(:has(input[type="checkbox"]))::before {
    content: '✔';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0;
    /* Adjusted by gap on li */
    min-width: 1em;
    /* Ensure space for checkmark */
}

/* Hide the text checkmark if it's already there */
.features-list li:not(.option-header):not(:has(input[type="checkbox"])) {
    padding-left: 0;
    /* Reset if any default padding */
}


.option-header {
    color: var(--accent-color);
    font-weight: 600;
    margin: 15px 0 10px;
    /* Adjusted margin */
    font-style: italic;
    border-top: 1px solid var(--input-border);
    padding-top: 20px;
    /* More padding */
}

.recommended {
    position: relative;
    border-color: var(--accent-color);
    background: linear-gradient(to top right, rgba(132, 255, 0, 0.166), rgba(102, 204, 0, 0.05));
    transform: scale(1.05);
    /* Make it stand out */
    z-index: 1;
    /* Ensure it's above others if overlapping slightly */
}

.recommended:hover {
    transform: scale(1.08) translateY(-10px);
    /* More pronounced hover */
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    /* Adjusted position */
    background: var(--accent-color);
    color: var(--btn-text);
    padding: 6px 18px;
    /* Adjusted padding */
    border-radius: 100px;
    font-size: 0.85rem;
    /* Slightly smaller */
    font-weight: 700;
    /* Bolder */
    box-shadow: 0 3px 8px rgba(132, 255, 0, 0.3);
}

.feature-checkbox {
    /* Hide the actual checkbox */
    opacity: 0;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.feature-checkbox+label {
    display: flex;
    /* Use flex for alignment */
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.95rem;
    /* Consistent font size */
    color: var(--text-muted);
    transition: color 0.2s ease;
    flex-grow: 1;
    /* Allow label to take available space */
}

.features-list li:has(input[type="checkbox"]) {
    align-items: flex-start;
    /* Align items to top if label text wraps */
}


.feature-checkbox+label::before {
    /* The custom box */
    content: '';
    width: 20px;
    /* Slightly larger */
    height: 20px;
    min-width: 20px;
    /* Ensure it doesn't shrink */
    border: 2px solid var(--input-border);
    border-radius: 5px;
    /* Softer radius */
    background-color: transparent;
    /* Cleaner look */
    margin-right: 12px;
    transition: all 0.25s ease;
    display: inline-block;
    /* Needed for dimensions */
}

.feature-checkbox+label::after {
    /* The checkmark */
    content: '✔';
    position: absolute;
    left: 3px;
    /* Adjust to center in the new box */
    top: 0px;
    /* Adjust to center */
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--btn-text);
    font-size: 13px;
    /* Adjust size of checkmark */
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.feature-checkbox:checked+label::before {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(132, 255, 0, 0.4);
}

.feature-checkbox:checked+label::after {
    opacity: 1;
    transform: scale(1);
}

.feature-checkbox:checked+label {
    color: var(--text-color);
    /* Brighter text for selected option */
}


.feature-checkbox:not(:checked)+label:hover::before {
    border-color: var(--accent-color);
    /* Highlight border on hover */
}

.feature-checkbox:focus-visible+label::before {
    /* Use focus-visible for accessibility */
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(132, 255, 0, 0.3);
    /* Focus ring */
}

.pricing-card .action-btn {
    margin-top: 25px;
    /* Space above button */
    width: 100%;
    /* Make button full width of card padding */
    padding: 12px 20px;
}

/* Story Section */
.story {
    max-width: 1280px;
    margin: 60px auto;
    /* Added top/bottom margin */
    padding: 40px 20px;
    position: relative;
    /* For overall layout if needed */
}

.story h1 {
    margin-bottom: 70px;
    /* More space below title */
    text-align: center;
    font-size: 3rem;
    /* Adjusted size */
    font-weight: 700;
    text-transform: capitalize;
    /* As per original */
}

.story-path-container {
    position: relative;
    padding: 20px 0;
    /* Padding for items relative to the path */
}

.story-path {
    position: absolute;
    top: 0;
    bottom: 0;
    /* Makes it stretch if parent has defined height or children define it */
    left: 80px;
    /* Default for desktop */
    width: 4px;
    z-index: 0;
}

.path-line {
    /* The background static line */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stretches to story-path height */
    background: var(--line-color);
    border-radius: 2px;
}

.path-fill {
    /* The animated fill */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* Starts at 0, animated by JS */
    background: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 0 15px 2px var(--accent-color);
    transition: height 0.1s linear;
    /* Smoother, linear fill */
}

.glow-point {
    position: absolute;
    width: 18px;
    /* Slightly larger */
    height: 18px;
    background: var(--accent-color);
    border-radius: 50%;
    left: 50%;
    /* Centered on the path-line */
    transform: translateX(-50%) translateY(-50%);
    /* Precise centering */
    top: 0%;
    /* Starts at 0, animated by JS */
    z-index: 2;
    /* Above path-line and path-fill */
    box-shadow: 0 0 20px 5px var(--accent-color);
    /* Enhanced glow */
    transition: top 0.1s linear;
    /* Smoother, linear movement */
}

.timeline-items-wrapper {
    position: relative;
    /* To contain timeline items */
    padding-top: 30px;
    /* Space for the first item's top part */
    padding-bottom: 30px;
    /* Space for the last item's bottom part */
}


.timeline-item {
    position: relative;
    margin-bottom: 250px;
    /* Space between items */
    display: flex;
    align-items: center;
    opacity: 0.3;
    /* Start slightly visible for smoother fade-in */
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.5s var(--transition), transform 0.5s var(--transition);
    min-height: 280px;
    /* Ensure items have some height */
}

.timeline-item:last-child {
    margin-bottom: 0;
    /* No margin for the last item */
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.image-container {
    width: 280px;
    height: 280px;
    background: rgba(34, 34, 34, 0.8);
    /* Slightly transparent */
    border: 1px solid var(--card-border);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    /* Above connector line */
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    margin-left: 180px;
    /* Distance from the path */
    flex-shrink: 0;
    /* Prevent shrinking */
}

.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent-color);
    font-weight: 600;
    padding: 8px 16px;
    /* Adjusted padding */
    border-radius: 50px;
    font-size: 0.9rem;
    /* Adjusted size */
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--card-border);
    z-index: 1;
}

.timeline-icon {
    display: inline-block;
    width: 55%;
    /* Slightly smaller */
    height: 55%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.4s ease;
}

.timeline-icon.strategy {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="1.5"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>');
}

.timeline-icon.design {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="1.5"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><polyline points="21 15 16 10 5 21"></polyline></svg>');
}

.timeline-icon.development {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="1.5"><polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline></svg>');
}

/* Simpler Code Icon */
.timeline-icon.launch {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="1.5"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');
}

.timeline-icon.optimization {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="1.5"><path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2z"></path><path d="M12 6v6l4 2"></path><path d="M12 12l-4 2"></path></svg>');
}

/* Clock with gears */
.timeline-icon.support {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="1.5"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" y1="19" x2="12" y2="23"></line><line x1="8" y1="23" x2="16" y2="23"></line></svg>');
}

/* Headset/Support Icon */
.timeline-icon.scaling {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%2384ff00" stroke-width="1.5"><path d="M3 6l9-4 9 4v12l-9 4-9-4V6zm9-4v5m0 0l7.5 4M12 7L4.5 11M12 7v10m0 0l7.5-4M12 17l-7.5-4m7.5 4V21m0-4l7.5 4M12 17l-7.5 4"></path></svg>');
}

/* Layers/Scaling Icon */


.timeline-item.visible .image-container:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.timeline-item.visible .image-container:hover .timeline-icon {
    transform: scale(1.1);
}

.content {
    max-width: 550px;
    /* Adjusted max-width */
    padding: 0 30px 0 40px;
    /* LTRB */
    z-index: 1;
    margin-left: 40px;
    /* Space from image container */
}

.content h2 {
    font-size: 2.2rem;
    /* Adjusted size */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
    line-height: 1.3;
}

.content p {
    font-size: 1.1rem;
    /* Adjusted size */
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-bg);
    color: var(--btn-text);
    border: none;
    padding: 12px 24px;
    /* Adjusted padding */
    font-weight: 600;
    font-size: 1rem;
    /* Adjusted size */
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    text-decoration: none;
}

.learn-more:hover {
    background: var(--secondary-accent);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 15px rgba(132, 255, 0, 0.2);
}

.learn-more .arrow {
    margin-left: 8px;
    /* Adjusted margin */
    transition: transform 0.3s ease;
}

.learn-more:hover .arrow {
    transform: translateX(5px);
}

.connector {
    position: absolute;
    top: 50%;
    /* Center vertically relative to timeline item */
    left: calc(80px + 4px);
    /* Path position + path width */
    width: calc(180px - 4px - 10px);
    /* (image-container margin-left) - path width - some padding */
    height: 4px;
    background: var(--line-color);
    z-index: 1;
    /* Behind image container, above path background maybe */
    border-radius: 4px;
    transform: translateY(-50%);
    /* Precise vertical centering */
    transform-origin: left;
}

.connector-fill {
    width: 0%;
    /* Starts at 0, animated by JS */
    height: 100%;
    background: var(--accent-color);
    transition: width 0.4s ease-out 0.2s;
    /* Delayed start for smoother effect */
    box-shadow: 0 0 10px var(--accent-color);
    border-radius: 4px;
}

.timeline-item.visible .connector-fill {
    width: 100%;
}


/*FAQ Section*/
.faq {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    text-align: center;
}

.section-badge {
    display: inline-block;
    background-color: rgba(132, 255, 0, 0.1);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 60px;
}

.faq-container {
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-item {
    border-bottom: 1px solid var(--line-color);
    overflow: hidden;
    text-align: left;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
}

.faq-toggle {
    font-size: 24px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    background-color: rgba(34, 34, 34, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-muted);
    padding-top: 10px;
}

/* CTA Section Styles */
.cta-section {
    padding: 80px 0;
    position: relative;
}

.cta-card {
    background: rgba(255, 255, 255, 0.011);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 32px;
}


.cta-button2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-color);
    color: #000000;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(122, 255, 0, 0.3);
}

.cta-button2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(122, 255, 0, 0.3);
}

.cta-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder {
    width: 300px;
    height: 250px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cta-card {
        padding: 40px 24px;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 2rem;
    }

    .image-placeholder {
        width: 250px;
        height: 200px;
        margin: 0 auto;
    }

    .cta-image {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 20px;
    }

    .cta-text h2 {
        font-size: 1.8rem;
        max-width: 100%;
        text-align: left;
    }

    .cta-text p {
        font-size: 1rem;
                text-align: left;
        max-width: 300px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .image-placeholder {
        width: 100%;
        max-width: 200px;
        height: 150px;
    }
        #matrix-phone{
        width: 100%;
    }
}

@media (max-width: 376px) {
    .cta-section {
        padding: 40px 15px;
    }

    .cta-card {
        padding: 30px 15px;
    }

    .cta-text h2 {
        font-size: 1.3rem;
        padding: auto;
        text-align: left;
    }

    .cta-text p {
        font-size: 0.9rem;
        text-align: left;
        max-width: 260px;
    }

    .cta-text {
        display: flex;
        justify-content: start;
        flex-direction: column;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .image-placeholder {
        max-width: 100px;
    }
    #matrix-phone{
        width: 100%;
    }
}


.footer {
    background: var(--bg-color);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(124, 255, 79, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-brand {
    text-align: center;
}

.brand-text {
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 900;
    color: var(--accent-color);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(124, 255, 79, 0.1);
    border: 2px solid rgba(124, 255, 79, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-wrapper:hover {
    background: rgba(124, 255, 79, 0.2);
    border-color: #7cff4f;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 255, 79, 0.3);
}

.email-icon {
    color: #7cff4f;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.email-wrapper:hover .email-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px #7cff4f);
}

.email-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.email-link:hover {
    color: #7cff4f;
    text-shadow: 0 0 10px rgba(124, 255, 79, 0.5);
}

@keyframes glow-line {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-container {
        gap: 30px;
    }

    .email-wrapper {
        padding: 12px 24px;
        gap: 12px;
    }

    .email-link {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-container {
        gap: 25px;
    }

    .email-wrapper {
        padding: 10px 20px;
        gap: 10px;
    }

    .email-link {
        font-size: 0.9rem;
    }
    .brand-text{
        font-size: 60px;
    }
}
@media (max-width: 340px) {
    .brand-text {
        font-size: 40px;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-container {
        gap: 30px;
    }

    .email-wrapper {
        padding: 12px 24px;
        gap: 12px;
    }

    .email-link {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-container {
        gap: 25px;
    }

    .email-wrapper {
        padding: 10px 20px;
        gap: 10px;
    }

    .email-link {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes appear {

    /* Used with view-timeline */
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    /* Hide CTA on medium screens too for more space */
    .burger-menu {
        display: block;
        opacity: 1;
        /* Ensure visible */
    }

    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    /* .process-step { max-width: 400px; margin: 0 auto; } Removed for grid auto-fit */

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 450px;
        margin-bottom: 30px;
    }

    .recommended {
        transform: scale(1.0);
    }

    /* Reset scale for stacking */
    .recommended:hover {
        transform: translateY(-10px);
    }

    /* Keep hover effect */

    .story-path {
        left: 40px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        /* Align content to start */
        margin-bottom: 150px;
        /* Reduced margin */
    }

    .image-container {
        margin-left: 80px;
        /* (Path left) + (space) */
        width: 220px;
        /* Smaller images */
        height: 220px;
        margin-bottom: 20px;
        /* Space between image and content */
    }

    .timeline-icon {
        width: 50%;
        height: 50%;
    }

    .connector {
        /* Reposition for vertical stacking */
        left: 40px;
        /* Align with path */
        top: calc(220px - 2px);
        /* (Image height) - (half of connector height) */
        width: 4px;
        /* Becomes vertical bar */
        height: calc(100% - 220px + 20px);
        /* (Content height approx) + (margin bottom of image)*/
        transform: translateX(-50%);
        /* Center on path line */
        transform-origin: top;
    }

    .connector-fill {
        width: 100%;
        height: 0%;
        /* Animates height now */
        transition: height 0.4s ease-out 0.2s;
    }

    .timeline-item.visible .connector-fill {
        height: 100%;
    }

    .content {
        margin-left: 0;
        /* No margin when stacked */
        padding: 20px 0 0 80px;
        /* Add padding relative to path */
        max-width: calc(100% - 80px);
        /* Full width minus path offset */
    }

    .story h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        background-size: 25px 25px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    /* Adjusted for tablet */
    .hero p {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .action-btn {
        padding: 12px 24px;
        width: 100%;
        max-width: 280px;
        font-size: 1rem;
    }

    .features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .process-step {
        padding: 25px;
        min-height: auto;
    }

    /* Auto height */
    .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .process-step h2 {
        font-size: 1.6rem;
    }

    .process-step p {
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: 25px;
        max-width: 380px;
    }

    .plan-name {
        font-size: 1.6rem;
    }

    .price {
        font-size: 2.2rem;
    }

    .story-path {
        left: 20px;
    }

    .image-container {
        margin-left: 180px;
        /* (New path left) + (space) */
        width: 180px;
        height: 180px;
    }

    .connector {
        left: 200px;
        top: calc(230px - 2px);
        height: calc(100% - 150px + 10px);
        transform: translateY(-50%) rotate(90deg);
    }
}

.content {
    padding: 15px 0 0 30px;
    /* Reduced left padding to match new spacing */
    max-width: calc(100% - 30px);
    /* Adjusted max-width to match new spacing */
    margin-left: 150px;
}

.content h2 {
    font-size: 1.8rem;
}

.content p {
    font-size: 1rem;
}

.learn-more {
    font-size: 0.9rem;
    padding: 10px 20px;
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-badge {
        margin-bottom: 20px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero p {
        font-size: 1rem;
    }

    .action-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .slide {
        min-width: 180px;
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .slide-track {
        gap: 3rem;
    }

    .slider-container::before,
    .slider-container::after {
        width: 60px;
    }

    .story h1 {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .image-container {
        width: 150px;
        height: 150px;
        margin-left: 140px;
    }

    .timeline-icon {
        width: 45%;
        height: 45%;
    }

    .step-number {
        font-size: 0.8rem;
        padding: 6px 12px;
        top: 15px;
        left: 15px;
    }

    .connector {
        display: none;
    }

    .content {
        padding: 15px 0 0 30px;
        max-width: calc(100% - 30px);
        margin-left: 30px;
        text-align: center;
    }

    .content h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .mobile-nav-links a {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .close-menu {
        font-size: 1.8rem;
    }
}

@media (max-width: 375px) {
    .image-container {
        margin-left: 100px;
    }
}