:root {
    /* Color Palette - Premium Dark/Neon */
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 22, 0.65);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    /* Brand Colors - Electric Blue & Cyan */
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.5);
    --glow-warm: rgba(59, 130, 246, 0.15);
    /* Blue Glow */

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
    /* Blue to Sky Blue */
    --gradient-text: linear-gradient(to right, #60a5fa, #22d3ee);

    /* Dimensions & Spacing */
    --container-width: 1200px;
    --nav-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

/* utility class for screen-reader-only text or hidden inputs */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    animation: pageEntrance 1s ease-out;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 10000;
}

@keyframes pageEntrance {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    min-height: 1.2em; /* Ensure height is maintained even when empty */
    vertical-align: bottom;
    position: relative;
    padding-right: 2px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

/* Utility Animations */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* reduce motion for users who request it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}


/* Navbar Styles */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(10, 10, 11, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.navbar.scrolled::after {
    opacity: 0.5;
}

.navbar.scrolled {
    background: rgba(10, 10, 11, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .navbar.scrolled {
        background: rgba(5, 5, 5, 0.95);
    }

    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: -1;
    }

    .nav-links.active::before {
        opacity: 1;
        pointer-events: all;
    }
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

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

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links .btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    color: white;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 0;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding-left: 1.75rem;
}

.fa-chevron-down {
    font-size: 0.8em;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: -0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-toggle:hover {
    color: var(--primary);
}

.mobile-toggle:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.hero-content > * {
    position: relative;
}

.hero-content > *::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.hero-content > *:hover::before {
    opacity: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.terms-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.terms-version {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.terms-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

/* Hero Background Effects */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.circle-3 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    /* Violet */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: pulse-glow 10s infinite;
}

/* Services Section */
.services {
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
}

.section-header {
    margin-bottom: 5rem;
    padding-top: 2rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

.section-header h2 {
    font-size: 3rem;
    /* Slightly larger */
    margin-bottom: 1.5rem;
    /* Increased from 1rem */
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    /* Increased gap */
}

.service-card {
    background: rgba(20, 20, 22, 0.6);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(25, 25, 28, 0.7);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.service-card:hover::after {
    left: 150%;
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-decoration: none;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
}

/* Work Section */
.bg-card-alt {
    background: linear-gradient(to bottom, transparent, rgba(20, 20, 25, 0.5), transparent);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    /* Increased gap */
    margin-bottom: 4rem;
}

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

.project-card {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-card:hover * {
    text-decoration: none;
}

.coming-soon {
    opacity: 0.6;
}

.coming-soon .project-placeholder i {
    opacity: 0.5;
}

.project-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.project-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.project-card:hover .placeholder-img {
    transform: scale(1.05);
}

.project-card:hover .project-placeholder {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem 2rem;
    background: rgba(20, 20, 22, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-cat {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Section */
.contact-container {
    max-width: 800px;
    /* Expanded for row layout */
    margin: 0 auto;
}

.contact-content {
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.8) 0%, rgba(30, 30, 35, 0.8) 100%);
    padding: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.contact-content h2 {
    margin-bottom: 1rem;
}

/* form groupings */
.contact-form fieldset {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(20, 20, 25, 0.5);
    transition: all 0.3s ease;
}

.contact-form fieldset:hover {
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(20, 20, 25, 0.7);
}

.contact-form legend {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form legend::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.contact-content>p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-actions {
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .btn.btn-primary {
    padding: 1.1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), #2563eb);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.contact-form .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* Visitor Type Options */
.visitor-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.visitor-radio {
    cursor: pointer;
    position: relative;
}

.visitor-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.visitor-radio span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    text-align: center;
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.visitor-radio span i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.visitor-radio:hover span {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--text-main);
}

.visitor-radio:hover span i {
    color: var(--primary);
}

.visitor-radio input:checked+span {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(45, 212, 191, 0.1));
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.visitor-radio input:checked+span i {
    color: var(--primary);
}

@media (max-width: 768px) {
    .visitor-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .visitor-options {
        grid-template-columns: 1fr;
    }
}

/* Fade in animation for form fields */
.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.flex-1 {
    flex: 1;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-left: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(10, 10, 11, 0.9);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a1a1aa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.5rem;
    padding-right: 3rem;
}

.budget-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.25rem;
}

.contact-form fieldset {
    /* used earlier for spacing; here we only override border */
    border: none;
}

.contact-form fieldset:invalid {
    outline: none;
}

.budget-radio {
    cursor: pointer;
    position: relative;
}

.budget-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.budget-radio span {
    display: block;
    padding: 1rem 1.5rem;
    text-align: center;
    background: rgba(15, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.budget-radio:hover span {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--text-main);
}

.budget-radio input:checked+span {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(45, 212, 191, 0.1));
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.form-input:focus::placeholder {
    opacity: 0.4;
}

.w-full {
    width: 100%;
}

.margin-left {
    margin-left: 0.5rem;
}

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

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.5rem;
}

.form-status.success {
    color: #4ade80;
}

/* invalid form controls highlight only on focus or after submission */
.contact-form.submitted .form-input:invalid,
.form-input:focus:invalid,
.form-input:invalid:focus {
    border-color: #f87171;
}

/* keep default border otherwise */

.form-status.error {
    color: #f87171;
}

/* Info Banner / Alerts */
.info-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
    animation: fadeIn 0.8s ease-out;
}

.info-banner i {
    font-size: 1.5rem;
    color: var(--primary);
}

.info-banner-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.info-banner-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 600px) {
    .info-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
    }
}

/* Custom Checkbox */

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-muted);
    user-select: none;
    transition: color 0.3s ease;
}

.checkbox-container:hover {
    color: var(--text-main);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(10, 10, 11, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container:hover .checkmark {
    border-color: rgba(59, 130, 246, 0.5);
}

.checkbox-container input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.checkmark::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    color: white;
    font-size: 0.7rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkbox-container input:checked+.checkmark::after {
    transform: translate(-50%, -50%) scale(1);
}


/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark);
}

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

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

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Privacy Page Styles */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    background: rgba(20, 20, 22, 0.6);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.privacy-section h2 {
    color: var(--text-main);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-section h2 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.privacy-section h3 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.privacy-section ul li {
    color: var(--text-muted);
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.8;
}

.privacy-section ul li::before {
    content: "→";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Page specific adjustments for the Odido tips article */
.page-odido .hero {
    min-height: 36vh;
    /* less imposing hero */
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
}

.page-odido .content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.page-odido .content-header .lead {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 65%;
}

.page-odido .toc {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem;
    border-radius: 10px;
    width: 260px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.page-odido .toc strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.page-odido .toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-odido .toc a {
    display: block;
    padding: 0.35rem 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.page-odido .toc a:hover {
    color: var(--text-main);
}

@media (max-width: 900px) {
    .page-odido .content-header {
        flex-direction: column;
    }

    .page-odido .content-header .lead {
        max-width: 100%;
    }

    .page-odido .toc {
        width: 100%;
    }
}

/* Tighter, more professional card look for article sections */
.page-odido .privacy-content {
    max-width: 980px;
}

.page-odido .privacy-section {
    padding: 2rem;
    margin-bottom: 1.75rem;
    border-radius: 14px;
}

.page-odido .privacy-section:hover {
    transform: translateY(-4px);
}

/* Highlighted warning for BSN section */
#bsn-warning {
    border-left: 4px solid var(--primary);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.03), rgba(255, 255, 255, 0.01));
    padding: 1.5rem 2rem;
}

/* Password output styling */
#passwordOutput {
    min-height: 56px;
    border-radius: 8px;
    background: rgba(10, 10, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

/* Make primary buttons slightly smaller in content areas */
.page-odido .btn-primary {
    padding: 0.6rem 1rem;
    border-radius: 10px;
}

/* Improve spacing for lists inside sections */
.page-odido .privacy-section ol {
    margin-left: 1rem;
    color: var(--text-muted);
}

.page-odido .privacy-section ul {
    margin-left: 1rem;
}

/* subtle divider before BSN steps */
#bsn-steps {
    border-top: 1px dashed rgba(255, 255, 255, 0.04);
    padding-top: 1.25rem;
}

.privacy-section strong {
    color: var(--text-main);
    font-weight: 600;
}

.contact-info-box {
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.contact-info-box p {
    margin-bottom: 0.5rem;
}

.contact-info-box i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.contact-info-box a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info-box a:hover {
    opacity: 0.8;
}

/* Utilities */
.section-padding {
    padding: 6rem 0;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
        padding-top: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Navbar Mobile */
    .navbar {
        height: 70px;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: max-content;
        min-height: calc(100vh - var(--nav-height));
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        padding-bottom: 6rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        gap: 0.5rem;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: left;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links .btn {
        margin-top: 1rem;
        text-align: center;
    }

    /* Mobile Dropdown Styles */
    .dropdown {
        flex-direction: column;
    }

    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        padding: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        clip-path: inset(0 0 0 0);
        padding-left: 1rem;
    }

    .dropdown-menu li a {
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .dropdown.active > a i {
        transform: rotate(180deg);
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 3rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hero-bg-elements {
        opacity: 0.5;
    }

    /* Announcement Banners Mobile */
    #availability-banner-index,
    #promo-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    /* USP Section Mobile */
    .usp-section {
        padding: 0.75rem 0;
    }

    .usp-track {
        animation-duration: 15s;
    }

    .usp-item {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .service-card .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Work Grid Mobile */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        border-radius: var(--radius-md);
    }

    .project-info {
        padding: 1.5rem;
    }

    .capability-icon i {
        font-size: 3rem;
    }

    .capability-desc {
        font-size: 0.85rem;
    }

    /* Tech Stack Mobile */
    .partner-card {
        flex: 0 0 260px;
        min-width: 260px;
    }

    /* Trust Grid Mobile */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .trust-item {
        padding: 1.75rem 1rem;
    }

    .trust-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .trust-icon i {
        font-size: 1.5rem;
    }

    .trust-item h3 {
        font-size: 1.1rem;
    }

    .trust-item p {
        font-size: 0.9rem;
    }

    /* Timeline Mobile */
    .timeline {
        padding: 0 1rem;
    }

    .timeline-item,
    .timeline-item.timeline-item-right {
        flex-direction: column;
        padding: 0 0 2rem 4rem;
        gap: 1rem;
    }

    .timeline-connector {
        left: 20px;
        transform: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .timeline-dot::before {
        display: none;
    }

    .timeline-line {
        height: 40px;
    }

    .timeline-card {
        padding: 1.25rem;
        width: 100%;
    }

    .timeline-card h3 {
        font-size: 1.1rem;
    }

    .timeline-card p {
        font-size: 0.9rem;
    }

    .timeline-step-label {
        font-size: 0.7rem;
        padding: 0.2rem 0.7rem;
    }

    .timeline-disclaimer {
        padding: 1rem;
    }

    /* FAQ Mobile */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-list {
        gap: 0.75rem;
    }

    .faq-item {
        border-radius: var(--radius-md);
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-question span {
        padding-right: 0.75rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .faq-cta {
        padding: 1.5rem;
    }

    .cta-content {
        padding: 0;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    /* Contact Mobile */
    .contact-content {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .form-input {
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    .budget-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .budget-radio span {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0 6rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-links a {
        font-size: 1.3rem;
    }

    /* Floating Contact Mobile */
    .floating-contact {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    /* Back to Top Mobile */
    .back-to-top {
        bottom: 90px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* Partners Carousel Mobile */
    .partners-track {
        gap: 1.5rem;
    }

    /* Partners Card Mobile */
    .partner-card {
        flex: 0 0 260px;
        min-width: 260px;
    }

    /* Capability Icon Mobile */
    .capability-icon {
        min-height: 120px;
    }

    /* Cookie Banner Mobile */
    .cookie-banner {
        flex-direction: column;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1.25rem;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-actions .btn {
        width: 100%;
        padding: 0.75rem;
    }

    /* Info Popup Mobile */
    .info-popup {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        padding: 1.25rem;
    }

    /* Disable heavy effects on mobile */
    .mesh-gradient,
    #particle-container,
    .hero-grid-bg {
        display: none;
    }

    .ambient-glow {
        display: none;
    }

    /* Scroll Progress Mobile */
    .scroll-progress {
        height: 2px;
    }

    /* Page entrance animation simplified for mobile */
    @keyframes pageEntrance {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 380px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .service-card,
    .trust-item {
        padding: 1.25rem;
    }

    .hero-buttons .btn {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
}

/* Specific Animation Types */
.fade-up {
    transform: translateY(30px);
}

.visible.fade-up {
    transform: translateY(0);
}

.fade-left {
    transform: translateX(30px);
}

.visible.fade-left {
    transform: translateX(0);
}

.fade-right {
    transform: translateX(-30px);
}

.visible.fade-right {
    transform: translateX(0);
}

.zoom-in {
    transform: scale(0.95);
}

.visible.zoom-in {
    transform: scale(1);
}

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Pulse Animation for CTAs */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.btn-primary {
    animation: pulse-glow 3s infinite;
}

/* Warmth for Cards */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-warm) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Improved Project Placeholders */
.placeholder-img {
    background: linear-gradient(135deg, #1f1f23 0%, #2a2a30 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img::after {
    content: '\f121';
    /* FontAwesome Code Icon as placeholder */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.project-card:hover .placeholder-img::after {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.2);
}

/* Capability Icons */
.capability-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    transition: all 0.5s ease;
}

.capability-icon i {
    font-size: 4rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
}

.project-card:hover .capability-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.project-card:hover .capability-icon i {
    transform: scale(1.1) rotate(5deg);
}

.capability-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

/* FAQ Section */
/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #0f172a;
    /* Deep blue background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    /* Pill shape */
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #1e293b;
    border-color: var(--primary);
    transform: translateX(5px);
}

.faq-item {
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-main);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.faq-item:hover::before,
.faq-item.active::before {
    height: 100%;
}

.faq-item.active {
    background: #1e293b;
    border-color: var(--primary);
    border-radius: 2rem;
    /* Reduce radius when open */
}

.faq-question {
    width: 100%;
    padding: 1.25rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.faq-question span {
    padding-right: 1rem;
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
    /* Rotate for right chevron */
}

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

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

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* FAQ CTA Card */
.faq-cta {
    background: var(--bg-card);
    /* Light background for contrast if possible, or glass */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
    display: flex;
    flex-direction: column;
}

.cta-content {
    padding: 3rem;
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cta-contacts {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.cta-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.cta-image {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.cta-image i {
    font-size: 15rem;
    color: var(--primary);
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .faq-cta {
        position: static;
        padding: 2rem;
    }

    .cta-content {
        padding: 0;
    }
}

/* Trust Section */
.trust-section {
    background: linear-gradient(to bottom, transparent, rgba(20, 20, 25, 0.3), transparent);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.trust-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(25, 25, 28, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.trust-icon i {
    font-size: 2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
}

.trust-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.trust-item p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* About Page Styles */
.hero-small {
    min-height: 60vh;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(25, 25, 28, 0.6);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 1.8rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-item {
    padding: 2rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.why-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.why-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Services Page Styles */
.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    padding: 3rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.service-detail:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon i {
    font-size: 3rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-detail-content h2 {
    margin-bottom: 1rem;
}

.service-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.service-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 2rem;
}

.price-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.process-step h3 {
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Active Navigation State */
.nav-links a.active {
    color: var(--primary);
}

/* Responsive for service details */
@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .service-detail-icon {
        margin: 0 auto;
    }
}

/* Portfolio Page Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.portfolio-item {
    padding: 2.5rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.portfolio-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.portfolio-icon-large i {
    font-size: 2.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.project-tags span {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.tech-category {
    padding: 2.5rem;
    background: rgba(20, 20, 22, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tech-category h3 i {
    color: var(--primary);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-list span {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.tech-list span:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.pricing-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
}

.cookie-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Feature List Overhaul (Glassmorphism Grid) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}

.feature-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-list li:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.feature-list li:hover::before {
    opacity: 1;
}

.feature-list li i {
    font-size: 1.2rem;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
    /* Visual alignment */
}

.feature-list li:hover i {
    background: var(--primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.feature-list li strong {
    display: block;
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

/* Ensure text wrapping handles the icon presence */
.feature-list li div {
    flex: 1;
}

.feature-list li {
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1.25rem;
        gap: 1.25rem;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-actions .btn {
        flex: 1;
    }
}

/* Niet-agressieve Uitleg Popup rechtsonder */
.info-popup {
    position: fixed;
    bottom: 25px; 
    right: 25px;
    max-width: 320px;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.info-popup.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
.info-content h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}
.info-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Scrolling USP Bar */
.usp-section {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    z-index: 10;
}

.usp-track {
    display: flex;
    gap: 4rem;
    width: fit-content;
    animation: scroll-loop 30s linear infinite;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.usp-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

@keyframes scroll-loop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.usp-section:hover .usp-track {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .usp-section {
        padding: 0.5rem 0;
    }

    .usp-track {
        gap: 2.5rem;
        animation-duration: 25s;
    }

    .usp-item {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .usp-item i {
        font-size: 1rem;
    }
}

/* Partner Popup */
.partner-popup {
    position: fixed;
    bottom: -100px;
    right: 20px;
    max-width: 400px;
    background: rgba(20, 20, 22, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    z-index: 2000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.partner-popup.visible {
    bottom: 20px;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.partner-popup-content {
    position: relative;
    text-align: center;
}

.partner-popup .close-popup {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-popup .close-popup:hover {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    transform: rotate(90deg);
}

.partner-popup-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px var(--primary-glow);
}

.partner-popup h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.partner-popup p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .partner-popup {
        right: 15px;
        left: 15px;
        max-width: none;
        padding: 1.5rem;
    }
}


/* Partners Carousel Settings */
.partners-carousel {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
    display: flex;
    gap: 2.5rem;
    width: fit-content;
    animation: partner-scroll 20s linear infinite;
}

.partner-card {
    flex: 0 0 350px;
    min-width: 350px;
    text-align: center;
}

.partner-card.mystery {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.4) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.partner-card.join-us {
    border: 2px dashed rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.02);
}

.partner-card .trust-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.partner-card .trust-icon i {
    font-size: 1.5rem;
}

.partner-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.partner-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@keyframes partner-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .partners-carousel {
        mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    }
}

/* --- LEUKE DINGEN & TOOLS CSS --- */

/* Typing Effect Cursor */
.hero-title .text-gradient {
    position: relative;
    border-right: 3px solid var(--primary);
    padding-right: 5px;
    animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary)
    }
}

@media (max-width: 768px) {
    .hero-title .text-gradient {
        display: block;
        margin-top: 0.25rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--primary-glow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* ============================================
   PROCESS / TIMELINE SECTION
   ============================================ */

.process-section {
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.process-section .container {
    position: relative;
    z-index: 1;
}

/* Timeline wrapper */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Central vertical spine */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(59, 130, 246, 0.4) 10%,
            rgba(6, 182, 212, 0.4) 90%,
            transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
}

/* Each step row */
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    /* left items: card on right, connector on left side of center */
    padding-right: calc(50% + 3rem);
    padding-bottom: 3.5rem;
}

/* Right-positioned items flip the layout */
.timeline-item.timeline-item-right {
    flex-direction: row-reverse;
    padding-right: 0;
    padding-left: calc(50% + 3rem);
}

/* Connector column: dot + vertical line */
.timeline-connector {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 2;
}

/* Glowing step dot */
.timeline-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.15),
        0 0 20px rgba(59, 130, 246, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    flex-shrink: 0;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.12);
    }
}

/* Final step dot – green glow */
.timeline-dot-final {
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    box-shadow:
        0 0 0 4px rgba(34, 197, 94, 0.15),
        0 0 25px rgba(34, 197, 94, 0.5);
}

.timeline-dot-final::before {
    border-color: rgba(34, 197, 94, 0.3);
}

/* Hover: dot pulses stronger */
.timeline-item:hover .timeline-dot {
    transform: scale(1.15);
    box-shadow:
        0 0 0 6px rgba(59, 130, 246, 0.2),
        0 0 35px rgba(59, 130, 246, 0.6);
}

/* Connecting line beneath dot */
.timeline-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.5), transparent);
    margin-top: 4px;
}

/* Content card */
.timeline-card {
    background: rgba(20, 20, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2rem 2rem 1.75rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-main);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-card {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(59, 130, 246, 0.1) inset;
    background: rgba(25, 25, 28, 0.85);
}

.timeline-item:hover .timeline-card {
    transform: translateY(-4px) scale(1.02);
}

.timeline-item:hover .timeline-card::before {
    opacity: 1;
}

/* Final card variant */
.timeline-card-final {
    border-color: rgba(34, 197, 94, 0.2);
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.8), rgba(20, 30, 22, 0.8));
}

.timeline-card-final::before {
    background: linear-gradient(to bottom, #22c55e, #06b6d4);
}

.timeline-item:hover .timeline-card-final {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(34, 197, 94, 0.1) inset;
}

/* Step label */
.timeline-step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    padding: 0.25rem 0.85rem;
    margin-bottom: 0.9rem;
}

.timeline-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
    color: var(--text-main);
}

.timeline-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Timeline time badge */
.timeline-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50px;
    padding: 0.3rem 0.9rem;
}

.timeline-tag i {
    font-size: 0.75rem;
    color: var(--primary);
}

/* Success tag variant */
.timeline-tag-success {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
    font-weight: 600;
}

.timeline-tag-success i {
    color: #4ade80;
}

/* ── Mobile: stack vertically ── */
@media (max-width: 768px) {
    .timeline::before {
        left: 28px;
    }

    .timeline-item,
    .timeline-item.timeline-item-right {
        flex-direction: column;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 2.5rem;
        padding-left: 5rem;
    }

    .timeline-connector {
        left: 28px;
        transform: none;
    }

    .timeline-dot {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .timeline-line {
        height: 60px;
    }

    .timeline-card {
        padding: 1.5rem;
    }
}

/* Timeline disclaimer */
.timeline-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 900px;
    margin: 0.5rem auto 0;
    padding: 1.1rem 1.5rem;
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-left: 3px solid rgba(251, 191, 36, 0.5);
    border-radius: var(--radius-md);
}

.timeline-disclaimer i {
    color: rgba(251, 191, 36, 0.8);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.timeline-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.timeline-disclaimer p strong {
    color: rgba(251, 191, 36, 0.9);
    font-weight: 600;
}

@media (max-width: 768px) {
    .timeline-disclaimer {
        flex-direction: row;
        padding: 1rem 1.2rem;
    }
}

/* Dynamic Effects */
#mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    opacity: 0.5;
    transition: width 0.3s ease, height 0.3s ease, transform 0.1s linear;
}

@media (max-width: 768px) {
    #mouse-glow {
        display: none;
        /* Disable glow on mobile for better performance */
    }
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
    animation: floatParticle linear infinite;
    box-shadow: 0 0 10px var(--primary-glow);
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) translateX(50px) scale(0.5);
        opacity: 0;
    }
}

/* ============================================
   IMMERSIVE EFFECTS
   ============================================ */

/* Animated Mesh Gradient Background */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(2%, -2%) scale(1.05);
    }
    50% {
        transform: translate(-1%, 2%) scale(0.98);
    }
    75% {
        transform: translate(-2%, -1%) scale(1.02);
    }
}

/* Particle Container */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.immersive-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: immersiveFloat linear infinite;
}

@keyframes immersiveFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Magnetic Button Effect */
.magnetic-btn {
    position: relative;
    transition: transform 0.15s ease-out;
}

/* Glow Trail Effect */
.glow-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .glow-trail {
    opacity: 0.5;
}

/* Parallax Section Styles */
[data-parallax] {
    will-change: transform;
}

/* Immersive Card Hover */
.immersive-card {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.immersive-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: inherit;
}

.immersive-card:hover::before {
    opacity: 1;
}

/* Section Transition Glow */
.section-glow {
    position: relative;
}

.section-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .section-glow::after {
        display: none;
    }
}

/* Animated Border */
.animated-border {
    position: relative;
}

.animated-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Hero Depth Effect */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Hero Animated Grid Background */
.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

/* Floating Elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Text Reveal Animation */
.text-reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: textReveal 0.8s ease-out forwards;
}

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Immersive Focus States */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Loading Screen */
.loader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-main);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* Enhanced Blur Circles */
.blur-circle {
    will-change: transform, opacity;
}

.blur-circle:nth-child(1) {
    animation: float 6s ease-in-out infinite, pulse-soft 8s ease-in-out infinite;
}

.blur-circle:nth-child(2) {
    animation: float 8s ease-in-out infinite reverse, pulse-soft 10s ease-in-out infinite reverse;
}

.blur-circle:nth-child(3) {
    animation: float 7s ease-in-out, pulse-soft 6s ease-in-out infinite;
}

/* 3D Tilt Effect Container */
.tilt-container {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

/* Ambient Glow Pulse */
.ambient-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.3;
    animation: ambientPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ambientPulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
}

/* Hero Title Animation Enhancement */
.hero-title {
    background: linear-gradient(135deg, #fff 0%, #fff 50%, var(--primary) 50%, var(--secondary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Glitch Effect for Hover */
.glitch-hover:hover {
    animation: glitch 0.3s ease;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}