/* ===================================
   AJ TechForge — Dark Futuristic
   Palette: #010204 | #0F1218 | #37373E | #E0E0E1 | #737173 | #3B82F6 | #60A5FA
   Font: Inter (300 400 500 600 700 800 900)
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ── Palette ── */
    --cream:  #E0E0E1;
    --silver: #737173;
    --taupe:  #737173;
    --amber:  #3B82F6;
    --brown:  #E0E0E1;

    /* ── Semantic tokens ── */
    --bg-body:    #000000;
    --bg-surface: #000000;
    --bg-white:   #000000;
    --bg-dark:    #000000;

    --text-heading: #E0E0E1;
    --text-body:    #737173;
    --text-muted:   #737173;
    --text-on-dark: #E0E0E1;

    --accent:      #3B82F6;
    --accent-deep: #60A5FA;
    --accent-soft: rgba(59, 130, 246, 0.08);
    --accent-mid:  rgba(59, 130, 246, 0.18);

    /* ── Gradients ── */
    --gradient-amber:   linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    --gradient-dark:    linear-gradient(135deg, #010204 0%, #0F1218 100%);
    --gradient-hero:    linear-gradient(135deg, rgba(1, 2, 4, 0.55) 0%, rgba(15, 18, 24, 0.35) 100%);
    --gradient-surface: linear-gradient(160deg, #0F1218 0%, #010204 100%);

    /* ── Shadows (dark-toned) ── */
    --shadow-sm:    0 2px 8px  rgba(0, 0, 0, 0.4);
    --shadow-md:    0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg:    0 8px 36px rgba(0, 0, 0, 0.6);
    --shadow-xl:    0 16px 56px rgba(0, 0, 0, 0.7);
    --shadow-amber: 0 8px 24px rgba(59, 130, 246, 0.32);

    /* ── Radius ── */
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   22px;
    --radius-xl:   36px;
    --radius-full: 9999px;

    /* ── Typography ── */
    --font-main:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fw-light:   300;
    --fw-regular: 400;
    --fw-medium:  500;
    --fw-semibold:600;
    --fw-bold:    700;
}

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

body {
    font-family: var(--font-main);
    font-weight: var(--fw-regular);
    color: var(--text-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background: var(--bg-body);
}

/* ── Typography Hierarchy ── */
h1 {
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: var(--fw-bold);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-heading);
}
h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: var(--fw-bold);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}
h3 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: var(--fw-semibold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-heading);
}
h4 {
    font-size: 1.2rem;
    font-weight: var(--fw-semibold);
    line-height: 1.4;
    color: var(--text-heading);
}
h5 {
    font-size: 1.05rem;
    font-weight: var(--fw-medium);
    color: var(--text-heading);
}
h6 {
    font-size: 0.85rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-body);
}
small {
    font-size: 0.875rem;
    color: var(--text-muted);
}

img { max-width: 100%; display: block; }

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 99999;
    width: min(680px, calc(100vw - 2rem));
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.23,1,0.32,1);
    pointer-events: none;
}
.cookie-banner.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}
.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(10,13,20,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(55,55,62,0.55);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(147,197,253,0.05);
}
.cookie-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.84rem;
    color: rgba(224,224,225,0.6);
    line-height: 1.5;
    flex: 1;
}
.cookie-text a {
    color: rgba(147,197,253,0.8);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.cookie-text a:hover { color: #93c5fd; }
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.cookie-btn-decline {
    padding: 0.45rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(55,55,62,0.5);
    background: transparent;
    color: rgba(224,224,225,0.45);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cookie-btn-decline:hover { color: rgba(224,224,225,0.8); border-color: rgba(55,55,62,0.8); }
.cookie-btn-accept {
    padding: 0.45rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(147,197,253,0.3);
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(30,58,138,0.14));
    color: rgba(200,220,255,0.9);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cookie-btn-accept:hover {
    background: linear-gradient(135deg, rgba(59,130,246,0.32), rgba(30,58,138,0.24));
    border-color: rgba(147,197,253,0.55);
    color: #fff;
}
@media (max-width: 640px) {
    .cookie-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar-premium {
    position: fixed;
    top: 1.375rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: clamp(600px, 92vw, 1440px);
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 1.875rem 0.45rem 1.625rem;
    background: rgba(15, 18, 24, 0.86);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border-radius: var(--radius-full);
    border: 1px solid rgba(55, 55, 62, 0.6);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4),
                0 6px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(55, 55, 62, 0.2);
    gap: 0;
    width: 100%;
}

.navbar-brand {
    flex-shrink: 0;
}
.navbar-brand .brand-logo {
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    color: var(--brown);
    letter-spacing: -0.025em;
    transition: color 0.22s ease;
}
.navbar-brand .brand-logo:hover { color: var(--amber); }

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}

.nav-item {
    font-size: 0.875rem;
    font-weight: var(--fw-medium);
    color: var(--taupe);
    position: relative;
    padding: 0.45rem 0.875rem;
    border-radius: var(--radius-full);
    transition: color 0.22s ease, background 0.22s ease;
    letter-spacing: 0.005em;
    white-space: nowrap;
}
.nav-item:hover { color: var(--cream); background: rgba(59, 130, 246, 0.07); }
.nav-item.active { color: var(--amber); background: var(--accent-soft); }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-client-login {
    padding: 0.45rem 1.125rem;
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
    color: var(--taupe);
    border-radius: var(--radius-full);
    transition: color 0.22s ease, background 0.22s ease;
    letter-spacing: 0.005em;
    white-space: nowrap;
}
.btn-client-login:hover {
    background: rgba(59, 130, 246, 0.07);
    color: var(--cream);
}

.btn-premium-cta {
    position: relative;
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
    font-weight: var(--fw-semibold);
    color: rgba(200, 220, 255, 0.92);
    background: linear-gradient(175deg, rgba(59,130,246,0.14) 0%, rgba(30,58,138,0.08) 100%);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(147,197,253,0.18);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 4px 12px rgba(0,0,0,0.22);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.25s ease, transform 0.3s ease;
    letter-spacing: 0.005em;
    white-space: nowrap;
    overflow: hidden;
}
.btn-premium-cta:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.22) 0%, rgba(30,58,138,0.14) 100%);
    border-color: rgba(147,197,253,0.68);
    color: #fff;
    transform: translateY(-1px);
    animation: glass-border-glow 0.55s ease forwards;
}

/* Scrolled state — pill remains, just more solid */
.navbar-premium.scrolled {
    top: 0.875rem;
}
.navbar-premium.scrolled .navbar-container {
    background: rgba(15, 18, 24, 0.97);
    border-color: rgba(55, 55, 62, 0.8);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5),
                0 12px 48px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(55, 55, 62, 0.2);
}

/* Login item hidden on desktop (shown in mobile dropdown) */
.navbar-menu .nav-item-login-mobile { display: none !important; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--brown);
    transition: all 0.3s ease;
    display: block;
}

/* =========================================================
   HERO
   ========================================================= */
.hero-redesign {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 10rem 1.5% 6rem;
    background-image: url('/assets/images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-image-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image-placeholder {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent; /* elimină complet opacitatea */
    z-index: 2;
}

#moonCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2%;
    padding-right: 3%;
}

.hero-title {
    font-size: clamp(3.4rem, 7vw, 7rem);
    font-weight: var(--fw-bold);
    line-height: 0.98;
    color: var(--cream);
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    max-width: 10ch;
    text-align: left;
}

.hero-center-block {
    align-self: center;
    width: min(620px, 90vw);
    margin-top: 10rem;
    text-align: center;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.08rem;
    color: rgba(224, 224, 225, 0.82);
    line-height: 1.85;
    margin: 3rem 0 2rem 0;
    font-weight: var(--fw-light);
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.95rem 2rem;
    font-size: 0.97rem;
    font-weight: var(--fw-semibold);
    color: rgba(200, 220, 255, 0.92);
    background: linear-gradient(175deg, rgba(59,130,246,0.16) 0%, rgba(30,58,138,0.09) 100%);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border: 1px solid rgba(147,197,253,0.2);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 0 rgba(255,255,255,0.07) inset, 0 4px 16px rgba(0,0,0,0.25);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.25s ease, transform 0.3s ease;
    letter-spacing: 0.01em;
    overflow: hidden;
}
.btn-hero-primary:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.26) 0%, rgba(30,58,138,0.15) 100%);
    border-color: rgba(147,197,253,0.72);
    color: #fff;
    transform: translateY(-3px);
    animation: glass-border-glow 0.55s ease forwards;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2rem;
    font-size: 0.97rem;
    font-weight: var(--fw-semibold);
    color: rgba(200, 220, 255, 0.85);
    background: linear-gradient(175deg, rgba(59,130,246,0.09) 0%, rgba(30,58,138,0.05) 100%);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(147,197,253,0.15);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 4px 14px rgba(0,0,0,0.2);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.25s ease, transform 0.3s ease;
    letter-spacing: 0.01em;
    overflow: hidden;
}
.btn-hero-secondary:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.18) 0%, rgba(30,58,138,0.1) 100%);
    border-color: rgba(147,197,253,0.65);
    color: #fff;
    transform: translateY(-3px);
    animation: glass-border-glow 0.55s ease forwards;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    margin: 2.5rem auto 0;
    width: fit-content;
    color: rgba(224, 224, 225, 0.55);
    font-size: 0.75rem;
    font-weight: var(--fw-medium);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scroll-icon {
    width: 20px;
    height: 34px;
    border: 1.5px solid rgba(224, 224, 225, 0.38);
    border-radius: 10px;
    position: relative;
}
.scroll-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: var(--amber);
    border-radius: 2px;
    animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50%       { transform: translateX(-50%) translateY(10px); opacity: 0.2; }
}

/* ─── Glass button: growing border glow on hover ─── */
@keyframes glass-border-glow {
    0%   {
        box-shadow: 0 0 0 0   rgba(147,197,253,0),
                    0 0 0px   rgba(59,130,246,0),
                    0 4px 12px rgba(0,0,0,0.2);
    }
    45%  {
        box-shadow: 0 0 0 2px  rgba(147,197,253,0.55),
                    0 0 14px   rgba(59,130,246,0.38),
                    0 4px 18px rgba(0,0,0,0.25);
    }
    100% {
        box-shadow: 0 0 0 1.5px rgba(147,197,253,0.72),
                    0 0 18px    rgba(59,130,246,0.35),
                    0 0 34px    rgba(59,130,246,0.12),
                    0 6px 22px  rgba(0,0,0,0.28);
    }
}

.hero-floating-labels {
    position: absolute; /* desktop: out of flow, top-right of hero-content */
    top: 2rem;
    right: 5%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: flex-start;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: rgba(224, 224, 225, 0.92);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    margin-left: 0;  /* Asigură că marginile sunt corect aliniate */
}

/* Elimină complet punctele albastre */
.hero-label::before {
    content: none;
}

/* Labels stay left-aligned so dots form a straight column; only text is offset */
.hero-label:nth-child(1) { animation: label-float 4s ease-in-out 0s infinite; }
.hero-label:nth-child(2) { animation: label-float 4s ease-in-out 0.8s infinite; }
.hero-label:nth-child(3) { animation: label-float 4s ease-in-out 1.6s infinite; }


@keyframes label-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* Hero logo block — desktop: hidden; mobile/tablet: visible */
.hero-logo-mobile {
    display: none; /* hidden on desktop — shown via media queries */
    align-items: center;
    justify-content: center;
    margin: 2rem 0 1.5rem;
}

.hero-logo-text {
    font-size: 2rem;
    font-weight: var(--fw-bold);
    color: var(--cream);
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Discover more button — hidden on desktop, shown on mobile/tablet */
.btn-hero-discover {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    font-size: 0.97rem;
    font-weight: var(--fw-semibold);
    color: var(--cream);
    background: transparent;
    border: 1.5px solid rgba(224, 224, 225, 0.28);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    justify-content: center;
}

.btn-hero-discover:hover {
    background: rgba(224, 224, 225, 0.06);
    border-color: rgba(224, 224, 225, 0.5);
    transform: translateY(-3px);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-premium {
    padding: 8rem 0;
    background: var(--bg-body);  /* Schimbă aici pentru fundal negru */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual { position: relative; }

.about-image-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-floating-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    padding: 1.5rem 1.875rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(55, 55, 62, 0.5);
    text-align: center;
}
.badge-number {
    display: block;
    font-size: 2.75rem;
    font-weight: var(--fw-bold);
    color: var(--amber);
    line-height: 1;
    margin-bottom: 0.375rem;
    letter-spacing: -0.04em;
}
.badge-text {
    font-size: 0.82rem;
    color: var(--taupe);
    font-weight: var(--fw-medium);
    letter-spacing: 0.02em;
}

/* =========================================================
   BENEFITS SECTION
   ========================================================= */
.benefits-section {
    padding: 8rem 0;
    background: #000000;
    position: relative;
}
.benefits-section::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #000000 100%);
    pointer-events: none;
    z-index: 1;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}

.benefits-text {
    padding-left: 0;
}

.benefits-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.6rem, 4.5vw, 4.5rem);
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.benefits-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    position: relative;
    isolation: isolate;
}

.benefits-grid::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at center, rgba(115, 113, 115, 0.22) 0%, rgba(115, 113, 115, 0.06) 45%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
}

.benefit-card {
    background: #1C1C1C;
    border: 1px solid rgba(115, 113, 115, 0.15);
    border-radius: 15px;
    padding: 2rem 1.75rem;
    text-align: center;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(115, 113, 115, 0.35);
    transform: translateY(-4px);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin: 0 auto 1.25rem;
    color: var(--cream);
}

.benefit-card:hover .benefit-icon {
    background: rgba(255, 255, 255, 0.1);
}

.benefit-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

.benefit-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.65;
}

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

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

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .benefit-card {
        padding: 1.25rem 1rem;
    }
    .benefit-icon {
        width: 44px;
        height: 44px;
    }
    .benefit-title {
        font-size: 0.875rem;
    }
    .benefit-text {
        font-size: 0.78rem;
    }
}

/* ── Technologies Row ── */
.tech-row {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(115, 113, 115, 0.15);
}

.tech-row-header {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.tech-row-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
}

.tech-row-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Full-width ticker — breaks out of .container */
.tech-ticker {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    overflow: hidden;
    /* Soft fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

@keyframes tech-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-25%); }
}

.tech-ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: tech-marquee 28s linear infinite;
}

.tech-ticker-track:hover {
    animation-play-state: paused;
}

/* Each set is its own flex row; padding-right = gap so track = exactly 2× one set */
.tech-set {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 1.5rem;
}

.tech-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1.6rem;
    background: #111111;
    border: 1px solid rgba(115, 113, 115, 0.2);
    border-radius: 12px;
    transition: border-color 0.25s ease, background 0.25s ease;
    cursor: default;
    flex-shrink: 0;
}

.tech-card:hover {
    background: #1c1c1c;
    border-color: rgba(115, 113, 115, 0.45);
}

.tech-logo {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    opacity: 0.88;
}

.tech-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-heading);
    white-space: nowrap;
}

.tech-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(115, 113, 115, 0.45);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .tech-row-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* =========================================================
   SECTION COMMON
   ========================================================= */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--accent-soft);
    color: var(--amber);
    font-size: 0.75rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: var(--radius-full);
    border: 1px solid rgba(59, 130, 246, 0.18);
    margin-bottom: 1.375rem;
}

.section-title-large {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: var(--fw-bold);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    color: var(--brown);
}
.section-title-xl {
    font-size: clamp(2.25rem, 4vw, 4rem);
    font-weight: var(--fw-bold);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--brown);
}

.gradient-text {
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.075rem;
    color: var(--taupe);
    line-height: 1.8;
    margin-bottom: 2.75rem;
}
.section-subtitle {
    font-size: 1.075rem;
    color: var(--taupe);
    line-height: 1.8;
    max-width: 660px;
    margin: 0 auto;
}
.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    margin-bottom: 2.75rem;
}
.feature-item {
    display: flex;
    gap: 1.375rem;
    align-items: flex-start;
}
.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-amber);
    border-radius: var(--radius-md);
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}
.feature-text h4 {
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.35rem;
    color: var(--brown);
}
.feature-text p {
    color: var(--taupe);
    line-height: 1.65;
    font-size: 0.95rem;
}

.btn-outline-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.97rem;
    font-weight: var(--fw-semibold);
    font-family: var(--font-main);
    color: rgba(200, 220, 255, 0.92);
    background: linear-gradient(175deg, rgba(59,130,246,0.14) 0%, rgba(30,58,138,0.08) 100%);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(147,197,253,0.18);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 4px 14px rgba(0,0,0,0.22);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.25s ease, transform 0.3s ease;
    letter-spacing: 0.01em;
    cursor: pointer;
    overflow: hidden;
}
.btn-outline-large:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.22) 0%, rgba(30,58,138,0.13) 100%);
    border-color: rgba(147,197,253,0.7);
    color: #fff;
    transform: translateY(-2px);
    animation: glass-border-glow 0.55s ease forwards;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-premium {
    padding: 8rem 0;
    background: #000000;
    position: relative;
}

/* Top fade — acoperă complet linia dintre secțiuni */
.services-premium::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, #000000 0%, #000000 30%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Dot pattern + corner glow */
.services-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(99,102,241,0.12) 1px, transparent 1px),
        radial-gradient(ellipse 60% 40% at 10% 55%, rgba(59,130,246,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 35% at 90% 60%, rgba(99,102,241,0.09) 0%, transparent 60%);
    background-size: 36px 36px, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 100%);
}

/* ── Header ── */
.svc-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4.5rem;
}

.svc-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3B82F6;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.svc-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #E0E0E1;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.svc-gradient {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.svc-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: #737173;
    line-height: 1.75;
}

.services-premium > .container { position: relative; z-index: 1; }

/* ── Bento grid ── */
.svc-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.svc-card--span2 { grid-column: span 2; }

/* ═══════════════════════════════════════
   CARD BASE
═══════════════════════════════════════ */
.svc-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(15,18,30,0.97) 0%, rgba(8,10,20,0.99) 100%);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.42s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.42s ease,
                border-color 0.42s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

/* ── Spotlight glow (bottom radial, accent-coloured) ── */
.sc-spotlight {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    border-radius: inherit;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.svc-card:hover .sc-spotlight { opacity: 1; }

.sc--design .sc-spotlight { background: radial-gradient(ellipse 70% 55% at 50% 110%, rgba(129,140,248,0.18) 0%, transparent 70%); }
.sc--dev    .sc-spotlight { background: radial-gradient(ellipse 70% 55% at 50% 110%, rgba(34,211,238,0.15) 0%, transparent 70%); }
.sc--it     .sc-spotlight { background: radial-gradient(ellipse 70% 55% at 50% 110%, rgba(96,165,250,0.16) 0%, transparent 70%); }
.sc--mobile .sc-spotlight { background: radial-gradient(ellipse 70% 55% at 50% 110%, rgba(167,139,250,0.18) 0%, transparent 70%); }
.sc--ecom   .sc-spotlight { background: radial-gradient(ellipse 70% 55% at 50% 110%, rgba(52,211,153,0.15) 0%, transparent 70%); }

/* ── Accent top border ── */
.sc-border-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1.5px;
    border-radius: 20px 20px 0 0;
    opacity: 0.7;
    transition: opacity 0.42s ease;
    z-index: 2;
}
.svc-card:hover .sc-border-top { opacity: 1; }

.sc--design .sc-border-top { background: linear-gradient(90deg, transparent 0%, #818cf8 35%, #c4b5fd 65%, transparent 100%); }
.sc--dev    .sc-border-top { background: linear-gradient(90deg, transparent 0%, #22d3ee 35%, #67e8f9 65%, transparent 100%); }
.sc--it     .sc-border-top { background: linear-gradient(90deg, transparent 0%, #60a5fa 35%, #93c5fd 65%, transparent 100%); }
.sc--mobile .sc-border-top { background: linear-gradient(90deg, transparent 0%, #a78bfa 35%, #c4b5fd 65%, transparent 100%); }
.sc--ecom   .sc-border-top { background: linear-gradient(90deg, transparent 0%, #34d399 35%, #6ee7b7 65%, transparent 100%); }

/* ── Decorative large number ── */
.sc-num {
    position: absolute;
    bottom: -0.5rem;
    right: 1.25rem;
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: opacity 0.42s ease;
}
.sc--design .sc-num { color: rgba(129,140,248,0.055); }
.sc--dev    .sc-num { color: rgba(34,211,238,0.055); }
.sc--it     .sc-num { color: rgba(96,165,250,0.055); }
.sc--mobile .sc-num { color: rgba(167,139,250,0.055); }
.sc--ecom   .sc-num { color: rgba(52,211,153,0.055); }
.svc-card:hover .sc-num { opacity: 2; }

/* ── Content body ── */
.sc-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.75rem 1.75rem 1rem;
    flex: 1;
}

/* ── Category label pill ── */
.sc-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 0.28rem 0.7rem;
    width: fit-content;
    margin-bottom: 0.25rem;
}
.sc--design .sc-label { color: #a5b4fc; background: rgba(129,140,248,0.1);  border: 1px solid rgba(129,140,248,0.22); }
.sc--dev    .sc-label { color: #67e8f9; background: rgba(34,211,238,0.09);  border: 1px solid rgba(34,211,238,0.22); }
.sc--it     .sc-label { color: #93c5fd; background: rgba(96,165,250,0.09);  border: 1px solid rgba(96,165,250,0.22); }
.sc--mobile .sc-label { color: #c4b5fd; background: rgba(167,139,250,0.1); border: 1px solid rgba(167,139,250,0.22); }
.sc--ecom   .sc-label { color: #6ee7b7; background: rgba(52,211,153,0.09);  border: 1px solid rgba(52,211,153,0.22); }

/* ── Title ── */
.sc-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

/* ── Description ── */
.sc-desc {
    font-size: 0.84rem;
    color: rgba(148,163,184,0.78);
    line-height: 1.72;
    max-width: 300px;
}

/* ── Visual / image area ── */
.sc-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 1.25rem 1.25rem 0;
    pointer-events: none;
}
.sc-visual--center { justify-content: center; padding: 0 0 1rem; }
.sc-visual--left   { justify-content: flex-start; padding: 0 0 1.25rem 1.25rem; }

.sc-visual img {
    max-height: 145px;
    max-width: 85%;
    object-fit: contain;
    display: block;
    transition: transform 0.42s cubic-bezier(0.23,1,0.32,1), filter 0.42s ease;
}
.svc-card:hover .sc-visual img { transform: translateY(-7px); }

.sc--design .sc-visual img { filter: drop-shadow(0 6px 20px rgba(129,140,248,0.35)); }
.sc--dev    .sc-visual img { filter: drop-shadow(0 6px 20px rgba(34,211,238,0.32)); }
.sc--it     .sc-visual img { filter: drop-shadow(0 6px 20px rgba(96,165,250,0.32)); }
.sc--mobile .sc-visual img { filter: drop-shadow(0 8px 28px rgba(167,139,250,0.38)); }
.sc--ecom   .sc-visual img { filter: drop-shadow(0 6px 20px rgba(52,211,153,0.32)); }

/* ── Hover: lift + colored outer glow ── */
.sc--design:hover { border-color: rgba(129,140,248,0.22); box-shadow: 0 22px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(129,140,248,0.12), 0 0 50px rgba(129,140,248,0.08), inset 0 1px 0 rgba(255,255,255,0.07); }
.sc--dev:hover    { border-color: rgba(34,211,238,0.22);  box-shadow: 0 22px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(34,211,238,0.12),  0 0 50px rgba(34,211,238,0.07),  inset 0 1px 0 rgba(255,255,255,0.07); }
.sc--it:hover     { border-color: rgba(96,165,250,0.22);  box-shadow: 0 22px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(96,165,250,0.12),  0 0 50px rgba(96,165,250,0.08),  inset 0 1px 0 rgba(255,255,255,0.07); }
.sc--mobile:hover { border-color: rgba(167,139,250,0.22); box-shadow: 0 22px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(167,139,250,0.12), 0 0 50px rgba(167,139,250,0.08), inset 0 1px 0 rgba(255,255,255,0.07); }
.sc--ecom:hover   { border-color: rgba(52,211,153,0.22);  box-shadow: 0 22px 55px rgba(0,0,0,0.55), 0 0 0 1px rgba(52,211,153,0.12),  0 0 50px rgba(52,211,153,0.07),  inset 0 1px 0 rgba(255,255,255,0.07); }

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

/* ── Mobile card: horizontal layout ── */
.sc--mobile {
    flex-direction: row;
    align-items: stretch;
    min-height: 260px;
}
.sc--mobile .sc-body {
    flex: 1;
    padding: 2rem 2rem 2rem;
    justify-content: center;
    gap: 0.75rem;
}
.sc--mobile .sc-desc { max-width: 340px; }
.sc--mobile .sc-num  { bottom: -0.5rem; right: auto; left: 1.25rem; font-size: 8rem; }
.sc--mobile .sc-visual {
    width: 34%;
    flex-shrink: 0;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}
.sc--mobile .sc-visual img {
    max-height: 240px;
    max-width: 100%;
}

/* ── Responsive ── */
@media (max-width: 968px) {
    .svc-bento { grid-template-columns: repeat(2, 1fr); }
    .svc-card--span2 { grid-column: span 2; }
}
@media (max-width: 640px) {
    .svc-bento { grid-template-columns: 1fr; }
    .svc-card--span2 { grid-column: span 1; }
    .sc--mobile { flex-direction: column; min-height: auto; }
    .sc--mobile .sc-visual { width: 100%; height: 170px; justify-content: flex-end; padding-right: 1.5rem; }
    .sc--mobile .sc-visual img { max-height: 160px; }
    .sc-num { font-size: 5rem; }

    /* ── Scroll animation: cards hidden by default on mobile ── */
    .svc-card--mobile-hidden,
    .svc-card--mobile-visible {
        will-change: opacity, transform, filter;
        transition:
            opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            filter 0.45s ease;
    }
    .svc-card--mobile-hidden {
        opacity: 0.25;
        transform: translateY(40px) scale(0.96);
        filter: blur(2px);
    }
    .svc-card--mobile-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* =========================================================
   PORTFOLIO — Diamond grid
   ========================================================= */
.portfolio-diamond {
    position: relative;
    padding: 8rem 0 7rem;
    background: #000000;
    overflow: hidden;
}

/* Dot pattern overlay */
.portfolio-diamond::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(99,102,241,0.10) 1px, transparent 1px),
        radial-gradient(ellipse 55% 45% at 85% 75%, rgba(59,130,246,0.09) 0%, transparent 60%);
    background-size: 40px 40px, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.portfolio-diamond::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 2000px;
    height: 1000px;
    background: url('../assets/images/lines.webp') center/contain no-repeat;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

/* Wide arch — now holds the ripple container */
.ptf-arch-glow {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: radial-gradient(ellipse at center, white 0%, white 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, white 0%, white 30%, transparent 70%);
}

.ptf-ripple-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

@keyframes ripple-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-50%, -50%) scale(0.92); }
}

.ptf-ripple-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.55);
    background: rgba(99, 102, 241, 0.04);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.08);
    animation: ripple-pulse 2.4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
    /* size: 210px base + 70px per ring */
    width:  calc((210px + var(--i) * 70px));
    height: calc((210px + var(--i) * 70px));
    opacity: calc(0.28 - var(--i) * 0.03);
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 768px) {
    .ptf-arch-glow {
        top: 50%;
    }
}

@keyframes glow-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
}

.portfolio-diamond .container { position: relative; z-index: 1; }

/* ── Diamond grid ── */
.ptf-diamond {
    margin: 3.5rem auto;
}
/* Vertical 1-2-3-2-1 diamond — shown on ALL screen sizes */
.ptf-diamond--mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
/* Desktop flat grid — hidden on mobile, shown as horizontal diamond on desktop */
.ptf-diamond--desktop { display: none; }

@media (min-width: 900px) {
    /* Switch: vertical mobile → horizontal desktop */
    .ptf-diamond--mobile  { display: none; }

    .ptf-diamond--desktop {
        display: grid;
        grid-template-columns: repeat(5, 138px);
        grid-template-rows: repeat(4, 138px);
        gap: 16px;
        justify-content: center; /* Centrează pe axa orizontală */
        align-items: center; /* Centrează pe axa verticală */
        margin: 0 auto; /* Asigură că grid-ul este centrat pe ecran */
        width: 100%; /* Ocupă întreaga lățime disponibilă */
        max-width: 690px; /* Lățime maximă pentru un layout echilibrat */
        transform: translateX(-10px); /* Muta întregul grid la stânga */
    }

    .ptf-c1 { grid-column:1; grid-row: 2 / 4; align-self: center; }
    .ptf-c2 { grid-column:2; grid-row: 2; }
    .ptf-c3 { grid-column:2; grid-row: 3; }

    .ptf-c4 {
        grid-column:3;
        grid-row:1;
        margin-top: 64px;
        margin-left: 10px; /* mută spre dreapta */

    }

    .ptf-c5 { grid-column:3; grid-row: 2 / 4; align-self: center; }

    .ptf-c6 {
        grid-column:3;
        grid-row:4;
        margin-top: -64px;
        margin-left: 10px; /* mută spre dreapta */
    }

    .ptf-c7 {
        grid-column:4;
        grid-row:2;
        margin-left: 20px; /* mută spre dreapta */
    }
    
    .ptf-c8 {
        grid-column:4;
        grid-row:3;
        margin-left: 20px; /* mută spre dreapta */
    }

    .ptf-c9 {
        grid-column:5;
        grid-row: 2 / 4;
        align-self: center;
        margin-left: 20px;
    }
}

.ptf-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

/* Glass cell */
.ptf-cell {
    width: 138px;
    height: 138px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.015) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 4px 24px rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.ptf-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 48%);
    pointer-events: none;
}
.ptf-cell:hover {
    background: linear-gradient(145deg, rgba(59,130,246,0.14) 0%, rgba(30,58,138,0.08) 100%);
    border-color: rgba(147,197,253,0.32);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 0 0 1px rgba(59,130,246,0.12),
        0 0 22px rgba(59,130,246,0.18),
        0 8px 32px rgba(0,0,0,0.55);
    transform: translateY(-5px) scale(1.04);
}

/* Center cell — larger and more prominent */
.ptf-cell--center {
    width: 158px;
    height: 158px;
    background: linear-gradient(145deg, rgba(59,130,246,0.12) 0%, rgba(30,58,138,0.06) 100%);
    border-color: rgba(59,130,246,0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.09),
        0 0 38px rgba(59,130,246,0.14),
        0 8px 32px rgba(0,0,0,0.5);
}
.ptf-cell--center:hover {
    background: linear-gradient(145deg, rgba(59,130,246,0.22) 0%, rgba(30,58,138,0.13) 100%);
    border-color: rgba(147,197,253,0.5);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 0 0 1px rgba(59,130,246,0.18),
        0 0 32px rgba(59,130,246,0.28),
        0 12px 40px rgba(0,0,0,0.6);
    transform: translateY(-6px) scale(1.05);
}

/* Icon circle */
.ptf-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(180,210,255,0.78);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}
.ptf-cell--center .ptf-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.22);
    color: rgba(147,197,253,0.9);
}
.ptf-cell:hover .ptf-icon-wrap {
    background: rgba(59,130,246,0.12);
    border-color: rgba(59,130,246,0.3);
    color: #fff;
}

/* Project icon images inside cells */
a.ptf-cell { text-decoration: none; }
.ptf-icon-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}
.ptf-cell--center .ptf-icon-img {
    width: 56px;
    height: 56px;
}
.ptf-cell:hover .ptf-icon-img {
    opacity: 1;
    transform: scale(1.08);
}

/* Description text below grid */
.ptf-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(155,170,205,0.72);
    line-height: 1.85;
    text-align: center;
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.portfolio-cta-section { text-align: center; }

.btn-portfolio-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-size: 0.97rem;
    font-weight: var(--fw-semibold);
    font-family: var(--font-main);
    color: rgba(200, 220, 255, 0.92);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(147,197,253,0.18);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 4px 16px rgba(0,0,0,0.24);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.25s ease, transform 0.3s ease;
    letter-spacing: 0.01em;
    overflow: hidden;
}
.btn-portfolio-more:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.24) 0%, rgba(30,58,138,0.14) 100%);
    border-color: rgba(147,197,253,0.72);
    color: #fff;
    transform: translateY(-3px);
    animation: glass-border-glow 0.55s ease forwards;
}

/* =========================================================
   PRICING / SUBSCRIPTIONS
   ========================================================= */
.subscriptions-premium {
    padding: 8rem 0;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.subscriptions-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(99,102,241,0.09) 1px, transparent 1px),
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(59,130,246,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 80%, rgba(99,102,241,0.09) 0%, transparent 55%);
    background-size: 38px 38px, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 100%);
}

#orbits-canvas {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    max-width: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

.subscriptions-premium .container {
    position: relative;
    z-index: 1;
}

.pricing-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card-premium {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.125rem;
    border: 1.5px solid rgba(55, 55, 62, 0.5);
    transition: all 0.4s ease;
    position: relative;
}
.pricing-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(59, 130, 246, 0.32);
}
.pricing-card-premium.featured {
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.04) 0%, var(--bg-white) 100%);
    border-color: var(--amber);
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}
.pricing-card-premium.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.pricing-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.45rem 1.25rem;
    background: var(--gradient-amber);
    color: white;
    font-size: 0.78rem;
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-amber);
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.625rem;
    border-bottom: 1px solid rgba(55, 55, 62, 0.4);
    margin-bottom: 1.625rem;
}
.pricing-name {
    font-size: 1.3rem;
    font-weight: var(--fw-bold);
    margin-bottom: 1.125rem;
    color: var(--brown);
    letter-spacing: -0.015em;
}
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
}
.price-currency {
    font-size: 1.05rem;
    font-weight: var(--fw-semibold);
    color: var(--taupe);
}
.price-amount {
    font-size: 3.5rem;
    font-weight: var(--fw-bold);
    color: var(--amber);
    line-height: 1;
    letter-spacing: -0.04em;
}
.price-period {
    font-size: 0.95rem;
    color: var(--silver);
}
.pricing-desc {
    color: var(--taupe);
    font-size: 0.9rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.125rem;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--taupe);
    font-size: 0.91rem;
}
.pricing-features svg { color: var(--amber); flex-shrink: 0; }

.btn-pricing {
    display: block;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    font-family: var(--font-main);
    font-size: 0.93rem;
    font-weight: var(--fw-semibold);
    color: rgba(200, 220, 255, 0.92);
    background: linear-gradient(175deg, rgba(59,130,246,0.13) 0%, rgba(30,58,138,0.07) 100%);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid rgba(147,197,253,0.16);
    border-radius: var(--radius-full);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 3px 12px rgba(0,0,0,0.2);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.25s ease, transform 0.3s ease;
    letter-spacing: 0.02em;
    cursor: pointer;
    overflow: hidden;
}
.btn-pricing:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.22) 0%, rgba(30,58,138,0.13) 100%);
    border-color: rgba(147,197,253,0.68);
    color: #fff;
    transform: translateY(-1px);
    animation: glass-border-glow 0.55s ease forwards;
}
.pricing-card-premium.featured .btn-pricing {
    background: linear-gradient(175deg, rgba(59,130,246,0.22) 0%, rgba(30,58,138,0.13) 100%);
    border-color: rgba(147,197,253,0.32);
    box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 4px 18px rgba(0,0,0,0.25), 0 0 12px rgba(59,130,246,0.15);
    color: #fff;
}
.pricing-card-premium.featured .btn-pricing:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.32) 0%, rgba(30,58,138,0.2) 100%);
    border-color: rgba(147,197,253,0.72);
    transform: translateY(-2px);
    animation: glass-border-glow 0.55s ease forwards;
}

/* =========================================================
   CONTACT
   ========================================================= */
/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
    background: var(--bg-white);
    display: grid;
    grid-template-columns: 38% 1fr;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(99,102,241,0.09) 1px, transparent 1px),
        radial-gradient(ellipse 55% 45% at 75% 30%, rgba(59,130,246,0.09) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 60% 80%, rgba(99,102,241,0.08) 0%, transparent 55%);
    background-size: 36px 36px, 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

/* ── Left column: image ── */
.faq-image-col {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.faq-human-img {
    position: absolute;
    top: 19rem;
    left: 0;
    width: 80%;
    height: auto;
    transform: none;
}

/* ── Right column: title + accordion ── */
.faq-inner {
    padding: 7rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.faq-title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: var(--fw-bold);
    color: var(--cream);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 3.5rem;
    text-align: center;
}

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

.faq-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question {
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    color: var(--cream);
    line-height: 1.5;
    transition: color 0.2s ease;
}
.faq-row:hover .faq-question { color: #fff; }

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--silver);
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s ease;
    width: 24px;
    text-align: center;
}
.faq-item--open .faq-icon { color: var(--cream); }

.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.faq-item--open .faq-body { grid-template-rows: 1fr; }
.faq-body > p { overflow: hidden; }

.faq-answer {
    font-size: 0.95rem;
    color: var(--taupe);
    line-height: 1.8;
    padding-bottom: 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .faq-section {
        grid-template-columns: 1fr;
        min-height: unset;
    }
    .faq-image-col {
        display: none;
    }
    .faq-inner {
        padding: 4rem 1.5rem 5rem;
    }
    .faq-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .faq-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 2.5rem;
    }
    .faq-item {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .faq-item:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .faq-question { font-size: 0.88rem; }
    .faq-answer   { font-size: 0.83rem; }
    .faq-row      { padding: 1.1rem 0; gap: 0.75rem; }
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
    background:
        radial-gradient(ellipse 65% 55% at 30% 60%, rgba(59,130,246,0.09) 0%, transparent 70%),
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.055) 1px, transparent 0),
        #000;
    background-size: auto, 28px 28px, auto;
    padding: 7rem 0 8rem;
    position: relative;
    overflow: hidden;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: -80px; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(to bottom, #000 0%, #000 20%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent 0%, #000 100%);
    pointer-events: none;
    z-index: 1;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
    position: relative;
    z-index: 2;
}
.contact-left {
    margin-left: -3rem;
}
.contact-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(147,197,253,0.7);
    margin-bottom: 1.25rem;
}
.contact-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: var(--fw-bold);
    color: var(--cream);
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.contact-desc {
    font-size: 1rem;
    color: rgba(224,224,225,0.5);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: rgba(224,224,225,0.55);
    font-size: 0.9rem;
}
.contact-info-item svg { color: rgba(147,197,253,0.6); flex-shrink: 0; }

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.contact-form-group label {
    font-size: 0.8rem;
    font-weight: var(--fw-medium);
    color: rgba(224,224,225,0.55);
    letter-spacing: 0.03em;
}
.contact-form-group input,
.contact-form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(55,55,62,0.6);
    border-radius: 10px;
    padding: 0.875rem 1.125rem;
    color: var(--cream);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.25s ease, background 0.25s ease;
    resize: none;
    outline: none;
}
.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder { color: rgba(224,224,225,0.25); }
.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: rgba(147,197,253,0.45);
    background: rgba(255,255,255,0.06);
}
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    align-self: flex-start;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, rgba(59,130,246,0.18) 0%, rgba(30,58,138,0.12) 100%);
    border: 1px solid rgba(147,197,253,0.25);
    border-radius: 50px;
    color: rgba(200,220,255,0.9);
    font-size: 0.9rem;
    font-weight: var(--fw-semibold);
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}
.contact-submit-btn:hover {
    background: linear-gradient(135deg, rgba(59,130,246,0.28) 0%, rgba(30,58,138,0.2) 100%);
    border-color: rgba(147,197,253,0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59,130,246,0.2);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-premium {
    background: var(--bg-dark);
    color: var(--cream);
    padding: 5rem 0 2.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(55, 55, 62, 0.3);
}

.footer-logo {
    font-size: 1.625rem;
    font-weight: var(--fw-bold);
    color: var(--cream);
    letter-spacing: -0.025em;
    margin-bottom: 1.125rem;
    display: block;
}
.footer-logo span { color: var(--amber); }

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(224, 224, 225, 0.55);
    line-height: 1.75;
    margin-bottom: 1.875rem;
    font-weight: var(--fw-light);
}

.footer-social { display: flex; gap: 0.625rem; }
.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(55, 55, 62, 0.3);
    border: 1px solid rgba(55, 55, 62, 0.4);
    border-radius: var(--radius-md);
    color: rgba(224, 224, 225, 0.6);
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: white;
    transform: translateY(-2px);
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-title {
    font-size: 0.82rem;
    font-weight: var(--fw-bold);
    color: var(--cream);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.footer-links a {
    color: rgba(224, 224, 225, 0.5);
    font-size: 0.9rem;
    font-weight: var(--fw-regular);
    transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--amber); }

.footer-bottom {
    text-align: center;
    color: rgba(224, 224, 225, 0.36);
    font-size: 0.85rem;
}
.footer-bottom p { margin-bottom: 0.25rem; }

/* =========================================================
   LOGIN / FORGOT PASSWORD
   ========================================================= */
.login-page {
    background: var(--bg-body);
    min-height: 100vh;
}
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}
.login-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--bg-white);
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}
.login-header { margin-bottom: 2.25rem; }

.login-logo {
    font-size: 1.4rem;
    font-weight: var(--fw-bold);
    color: var(--amber);
    display: block;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}
.login-header h1 {
    font-size: 2.125rem;
    font-weight: var(--fw-bold);
    color: var(--brown);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.login-header p {
    color: var(--taupe);
    font-size: 0.97rem;
}

.login-form .form-group { margin-bottom: 1.25rem; }
.login-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: var(--fw-semibold);
    color: var(--brown);
    margin-bottom: 0.45rem;
    letter-spacing: 0.01em;
}
.login-form .form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid rgba(55, 55, 62, 0.6);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--cream);
    background: var(--bg-body);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    outline: none;
}
.login-form .form-group input:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--bg-surface);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--taupe);
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--amber);
    cursor: pointer;
}
.forgot-link {
    font-size: 0.88rem;
    color: var(--amber);
    font-weight: var(--fw-medium);
    transition: color 0.2s ease;
}
.forgot-link:hover { color: var(--accent-deep); }

/* Shared button classes used across pages */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-main);
    font-size: 0.97rem;
    font-weight: var(--fw-semibold);
    color: rgba(200, 220, 255, 0.92);
    background: linear-gradient(175deg, rgba(59,130,246,0.15) 0%, rgba(30,58,138,0.08) 100%);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(147,197,253,0.18);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 4px 16px rgba(0,0,0,0.22);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.25s ease, transform 0.3s ease;
    letter-spacing: 0.02em;
    text-align: center;
    overflow: hidden;
}
.btn-primary:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.24) 0%, rgba(30,58,138,0.14) 100%);
    border-color: rgba(147,197,253,0.72);
    color: #fff;
    transform: translateY(-2px);
    animation: glass-border-glow 0.55s ease forwards;
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-main);
    font-size: 0.97rem;
    font-weight: var(--fw-semibold);
    color: rgba(200, 220, 255, 0.82);
    background: linear-gradient(175deg, rgba(59,130,246,0.08) 0%, rgba(30,58,138,0.04) 100%);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid rgba(147,197,253,0.12);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 3px 12px rgba(0,0,0,0.18);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.25s ease, transform 0.3s ease;
    letter-spacing: 0.02em;
    text-align: center;
    overflow: hidden;
}
.btn-secondary:hover {
    background: linear-gradient(175deg, rgba(59,130,246,0.16) 0%, rgba(30,58,138,0.09) 100%);
    border-color: rgba(147,197,253,0.58);
    color: #fff;
    animation: glass-border-glow 0.55s ease forwards;
}
.btn-large { padding: 0.975rem 2.5rem; font-size: 1.025rem; }
.btn-full  { width: 100%; justify-content: center; }

.login-footer {
    margin-top: 1.875rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--taupe);
}
.login-footer a { color: var(--amber); font-weight: var(--fw-semibold); }
.login-footer a:hover { color: var(--accent-deep); }

.login-visual {
    position: relative;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.login-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(59, 130, 246, 0.22) 0%, rgba(1, 2, 4, 0.88) 70%);
}
.login-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, rgba(55, 55, 62, 0.7) 1px, transparent 0);
    background-size: 30px 30px;
}
.login-content {
    position: relative;
    z-index: 2;
    padding: 4rem;
    color: white;
    max-width: 480px;
}
.login-content h2 {
    font-size: 2.125rem;
    font-weight: var(--fw-bold);
    color: var(--cream);
    margin-bottom: 1.125rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.login-content > p {
    font-size: 0.975rem;
    color: rgba(224, 224, 225, 0.65);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    font-weight: var(--fw-light);
}
.login-features {
    display: flex;
    flex-direction: column;
    gap: 1.075rem;
}
.login-features li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: rgba(224, 224, 225, 0.82);
    font-size: 0.93rem;
}
.login-features svg { color: var(--amber); flex-shrink: 0; }

/* =========================================================
   ERROR PAGES  (inline styles in 404/500 override with these)
   ========================================================= */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(55, 55, 62, 0.15) 0%, var(--bg-body) 100%);
}
.error-content { max-width: 600px; }
.error-code {
    font-size: 8rem;
    font-weight: var(--fw-bold);
    line-height: 1;
    margin-bottom: 1rem;
}
.error-code-404 {
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.error-code-500 {
    background: linear-gradient(135deg, #C0392B 0%, #922B21 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.error-title {
    font-size: 2.25rem;
    font-weight: var(--fw-bold);
    color: var(--brown);
    margin-bottom: 1rem;
}
.error-description {
    font-size: 1.05rem;
    color: var(--taupe);
    margin-bottom: 2rem;
    line-height: 1.75;
}
.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ── Large desktop tweak ──────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .hero-title       { font-size: 3.75rem; }
    .section-title-xl { font-size: 3rem; }
}

/* ── Tablet  (≤ 968px) ────────────────────────────────────────────────────── */
@media (max-width: 968px) {

    /* Navbar */
    .navbar-premium   { width: 94vw; top: 0.875rem; }
    .navbar-container { padding: 0.5rem 1.25rem; }
    .navbar-menu      { display: none; }          /* hidden; JS shows on toggle */
    .mobile-toggle    { display: flex; }
    .navbar-actions .btn-client-login { display: none; }

    /* Hero — title at top, CTAs pushed below the background logo */
    .hero-redesign    {
        padding: 5.5rem 5% 4rem;
        background-position: center center;
        align-items: stretch;
        min-height: 110svh;
    }
    .hero-content     {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        align-items: center;
        justify-content: flex-start;
    }
    .hero-title       {
        font-size: 2.75rem;
        text-align: center;
        max-width: none;
        width: 100%;
        margin-bottom: 1rem;
    }
    /* Labels: horizontal row directly below title */
    .hero-floating-labels {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
        align-items: center;
        margin-top: 1.5rem;
        animation: none;
    }
    .hero-label {
        font-size: 1.1rem;
        font-weight: 600;
        animation: none;
        white-space: nowrap;
    }
    /* Push description + CTAs below the background logo */
    .hero-center-block {
        margin-top: max(9rem, 48vh);
        width: 100%;
        max-width: 520px;
        align-self: center;
    }
    .hero-description { text-align: center; }
    .hero-cta-group   { justify-content: center; flex-wrap: wrap; }

    /* Reduce canvas intensity on tablet */
    #moonCanvas       { opacity: 0.65; }

    /* Benefits: keep 2-column grid on tablet */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 1.25rem;
    }

    /* Grids */
    .about-grid,
    .services-grid-premium,
    .pricing-grid-premium {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    /* Diamond grid mobile */
    .ptf-cell { width: 96px; height: 96px; border-radius: 16px; }
    .ptf-cell--center { width: 110px; height: 110px; }
    .ptf-icon-wrap { width: 48px; height: 48px; }
    .ptf-cell--center .ptf-icon-wrap { width: 58px; height: 58px; }
    .ptf-icon-img { width: 30px; height: 30px; }
    .ptf-cell--center .ptf-icon-img { width: 38px; height: 38px; }
    .ptf-row { gap: 10px; }
    .ptf-diamond { gap: 10px; }

    .footer-top         { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .footer-links-group { grid-template-columns: repeat(2, 1fr); }
    .footer-brand       { display: flex; flex-direction: column; align-items: center; }
    .footer-social      { justify-content: center; }
    .footer-bottom      { text-align: center; }
    .contact-inner      { grid-template-columns: 1fr; gap: 3rem; }
    .contact-left       { margin-left: 0; }
    .contact-form-row   { grid-template-columns: 1fr; }

    .login-container  { grid-template-columns: 1fr; }
    .login-visual     { display: none; }
    .login-card       { padding: 2.5rem 2rem; max-width: 100%; }

    .pricing-card-premium.featured       { transform: scale(1); }
    .pricing-card-premium.featured:hover { transform: translateY(-6px); }

}

/* ── Mobile  (≤ 640px) ────────────────────────────────────────────────────── */
@media (max-width: 640px) {

    /* Navbar */
    .navbar-premium   { width: 92vw; top: 0.75rem; }
    .navbar-container { padding: 0.5rem 1rem; }
    .navbar-brand .brand-logo { font-size: 1.1rem; }
    .navbar-actions   { gap: 0.375rem; }
    .btn-premium-cta  { padding: 0.4rem 1rem; font-size: 0.8rem; }

    /* Hero */
    .hero-redesign    {
        padding: 5rem 2rem 3rem;
        min-height: 110svh;
        align-items: stretch;
    }
    .hero-content     {
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 2rem;
    }
    .hero-title       {
        font-size: 2.2rem;
        letter-spacing: -0.03em;
        line-height: 1.08;
        padding: 0 0.5rem;
        margin-bottom: 0.75rem;
    }
    /* Labels: horizontal row directly under title */
    .hero-floating-labels {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.75rem 1.25rem;
        margin-top: 1.25rem;
    }
    .hero-label {
        font-size: 0.95rem;
        font-weight: 600;
        gap: 0.5rem;
        animation: none;
        white-space: nowrap;
    }
    .hero-label::before {
        content: none;
    }
    /* Push description + CTAs below the background logo */
    .hero-center-block {
        margin-top: max(8rem, 46vh);
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        margin: 0 0 1.5rem;
        padding: 0 0.25rem;
    }
    .hero-cta-group   {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
        padding: 0 0.5rem;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: min(300px, 85vw);
        justify-content: center;
        padding: 0.9rem 1.75rem;
        font-size: 0.95rem;
    }
    .hero-scroll-indicator { margin-top: 1.5rem; }

    /* Sections */
    .section-title-large,
    .section-title-xl { font-size: 2rem; }
    .form-row         { grid-template-columns: 1fr; }
    .footer-links-group { grid-template-columns: 1fr; }
    .container-fluid  { padding: 0 1.25rem; }
    .faq-question { font-size: 0.93rem; }
    .error-code       { font-size: 5.5rem; }

    /* Benefits section on mobile */
    .benefits-section  { padding: 5rem 0; }
    .benefits-grid     { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 0.75rem; }
    .benefit-card      { padding: 2rem 1.5rem; }
    .benefits-header   { margin-bottom: 2.5rem; }
}

/* ── Small phones  (≤ 480px) ─────────────────────────────────────────────── */
@media (max-width: 480px) {

    /* Navbar */
    .navbar-premium   { width: 96vw; }
    .btn-premium-cta  { display: none; }   /* only hamburger on tiny screens */

    /* Hero */
    .hero-redesign    { padding: 6rem 1rem 2.5rem; }
    .hero-title       { font-size: 1.9rem; }
    .hero-description { font-size: 0.875rem; }
    .btn-hero-primary,
    .btn-hero-secondary { font-size: 0.875rem; padding: 0.8rem 1.25rem; }
}

/* =========================================================
   PAGE LOADER
   ========================================================= */
.no-loader #pageLoader { display: none; }

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    opacity: 1;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: visible;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: min(340px, 88vw);
}

/* Emblem ring */
.loader-emblem {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.25);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    animation: loaderEmblemIn 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.loader-emblem::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--amber);
    animation: loaderSpin 1.1s linear infinite;
}

.loader-emblem-text {
    font-family: var(--font-main);
    font-size: 1.35rem;
    font-weight: var(--fw-bold);
    color: var(--amber);
    letter-spacing: -0.02em;
    line-height: 1;
}

/* Brand */
.loader-brand-wrap {
    overflow: hidden;
    margin-bottom: 0.5rem;
    animation: loaderBrandIn 0.55s 0.15s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.loader-brand {
    display: block;
    font-family: var(--font-main);
    font-size: 1.625rem;
    font-weight: var(--fw-bold);
    color: var(--cream);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* Tagline */
.loader-tagline {
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: var(--fw-light);
    color: rgba(224, 224, 225, 0.45);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 2.25rem;
    animation: loaderTaglineIn 0.55s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Progress */
.loader-progress-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    animation: loaderProgressIn 0.55s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.loader-track {
    width: 100%;
    height: 2px;
    background: rgba(55, 55, 62, 0.3);
    border-radius: 99px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    border-radius: 99px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: width 0.05s linear;
}

.loader-pct {
    align-self: flex-end;
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: var(--fw-regular);
    color: rgba(224, 224, 225, 0.35);
    letter-spacing: 0.04em;
    min-width: 2.5rem;
    text-align: right;
}

/* Keyframes */
@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes loaderEmblemIn {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes loaderBrandIn {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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