/* GenZWay-Inspired Editorial Design System for The Brand Co. */

:root {
    /* Color Palette */
    --cream: #EFE9DC;
    --cream-2: #E2DBC9;
    --cream-3: #D6CEB9;
    --ink: #080807;
    --ink-2: #161513;
    --ink-soft: #2A2723;
    --muted: #6B6258;
    --muted-2: #8C8276;
    --line: #CCC3AE;
    
    /* Accents */
    --acid: #C8E847; /* Neon chartreuse */
    --tomato: #E84A2A; /* Editorial orange-red */
    
    /* Fonts */
    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'Geist', sans-serif;
    --font-mono: 'Geist Mono', monospace;
    
    /* Layout Constants */
    --max-width: 1280px;
    --transition: all 0.4s cubic-bezier(0.2, 0.85, 0.2, 1);
}

/* CSS Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--cream);
    color: var(--ink);
}

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

/* Hide Default Cursor on Desktop Device for Custom Cursor UX */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    body {
        cursor: none;
    }
    a, button, .niche-btn, .software-card-styled, .brand-item, .nav-cta, .submit-btn-editorial {
        cursor: none !important;
    }
}

h1, h2, h3, h4, h5 {
    font-weight: 400;
    line-height: 1.05;
}

::selection {
    background-color: var(--acid);
    color: var(--ink);
}

/* ============ FILM GRAIN LAYER ============ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
    opacity: 0.12;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: multiply;
}

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-prog {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--acid), var(--tomato));
    z-index: 10003;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(232, 74, 42, 0.4);
}

/* ============ CUSTOM CURSOR ============ */
.cursor {
    position: fixed;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--ink);
    border: 1.5px solid rgba(239, 233, 220, 0.35);
    pointer-events: none;
    z-index: 10005;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.2, 0.85, 0.2, 1),
                height 0.3s cubic-bezier(0.2, 0.85, 0.2, 1),
                background-color 0.2s,
                border-color 0.2s;
    will-change: left, top, width, height;
}

.cursor.hover {
    width: 110px;
    height: 110px;
    background-color: var(--acid);
    border-color: var(--ink);
}

.cursor-label {
    position: fixed;
    pointer-events: none;
    z-index: 10006;
    transform: translate(-50%, calc(-50% + 50px));
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
    background-color: var(--acid);
    padding: 4px 10px;
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    will-change: left, top, opacity;
}

.cursor-label.show {
    opacity: 1;
}

/* ============ SECTION BASE ELEMENTS ============ */
section {
    padding: 120px 32px;
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
}

@media(max-width: 768px) {
    section {
        padding: 80px 20px;
    }
}

.section-label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.section-label:before {
    content: '';
    width: 28px;
    height: 1px;
    background-color: var(--muted);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.2, 1) 0.2s;
}

.reveal.active .section-label:before {
    transform: scaleX(1);
}

.section-label .badge {
    background-color: var(--ink);
    color: var(--cream);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 9.5px;
}

.section-h {
    font-family: var(--font-serif);
    font-size: clamp(38px, 6vw, 92px);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 60px;
}

.section-h em {
    font-style: italic;
}

.section-h .underline {
    background: linear-gradient(transparent 65%, var(--acid) 65%);
    padding: 0 4px;
}

/* Dynamic Section Divider Line */
.draw-line {
    width: 100%;
    height: 1px;
    background-color: var(--line);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(0.2, 0.85, 0.2, 1);
    margin-bottom: 48px;
    will-change: transform;
}

.reveal.active .draw-line {
    transform: scaleX(1);
}

/* ============ NAVIGATION BAR ============ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 18px 32px;
    display: grid;
    grid-template-columns: 1.2fr auto 1.2fr;
    align-items: center;
    gap: 24px;
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    background-color: rgba(239, 233, 220, 0.75);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s, padding 0.4s;
}

.top-nav.scrolled {
    border-color: var(--line);
    padding: 12px 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.logo-mark {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0012FF !important;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.logo:hover .logo-mark svg {
    transform: rotate(90deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text .top-row {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 16px;
    color: #0012FF !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1.5px !important;
    text-decoration-color: #0012FF !important;
}

.logo-text .reg {
    font-family: var(--font-mono);
    font-size: 8px;
    color: #0012FF !important;
    vertical-align: super;
    margin-left: 2px;
}

.logo-text .tag {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 1px;
    color: var(--ink) !important;
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1.5px !important;
    text-decoration-color: #0012FF !important;
    display: inline-block;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu li a {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-menu li a:hover {
    background-color: var(--ink);
    color: var(--cream);
}

.nav-menu li a .num {
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--muted);
}

.nav-menu li a:hover .num {
    color: var(--acid);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-self: end;
}

.nav-time {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.8px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.nav-time .blink {
    width: 6px;
    height: 6px;
    background-color: var(--tomato);
    border-radius: 50%;
    animation: blink-anim 1.5s infinite;
}

@keyframes blink-anim {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.2; }
}

.nav-cta {
    background-color: var(--ink);
    color: var(--cream);
    padding: 8px 8px 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta:hover {
    background-color: var(--tomato);
}

.nav-cta .pill {
    background-color: var(--acid);
    color: var(--ink);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: transform 0.4s, background-color 0.4s;
}

.nav-cta:hover .pill {
    background-color: var(--cream);
    color: var(--tomato);
    transform: rotate(45deg);
}

/* ==================== HERO SECTION (DESKTOP) ==================== */
.hero {
    min-height: 100vh;
    padding: 140px 32px 64px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(200, 232, 71, 0.15) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    animation: float-glow-1 15s ease-in-out infinite;
}

.hero-glow.secondary {
    background: radial-gradient(circle, rgba(232, 74, 42, 0.1) 0%, transparent 65%);
    top: auto;
    bottom: -200px;
    left: -200px;
    right: auto;
    width: 600px;
    height: 600px;
    animation: float-glow-2 15s ease-in-out infinite reverse;
}

@keyframes float-glow-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 30px) scale(1.05); }
}

@keyframes float-glow-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.05); }
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 18px 0;
    margin-bottom: 48px;
    gap: 32px;
}

.hero-eyebrow span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-eyebrow .live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--tomato);
    border-radius: 50%;
    animation: blink-anim 1.5s infinite;
}

.hero-eyebrow .index {
    justify-self: end;
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    color: var(--ink);
    letter-spacing: -0.5px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(52px, 8vw, 128px);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.hero-headline .row {
    display: block;
}

.hero-headline em {
    font-style: italic;
}

.hero-headline .cross {
    text-decoration: line-through;
    text-decoration-thickness: 6px;
    text-decoration-color: var(--tomato);
    color: var(--muted);
    font-style: italic;
    opacity: 0.85;
}

.hero-headline .sup {
    font-family: var(--font-mono);
    font-size: 0.15em;
    letter-spacing: 1px;
    vertical-align: super;
    color: var(--muted);
    text-transform: uppercase;
    margin-left: 10px;
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 48px;
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 2;
}

.hero-bottom .col p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 360px;
}

.hero-bottom .col .label {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-bottom .col .label .arr {
    width: 14px;
    height: 1px;
    background-color: var(--muted);
    display: inline-block;
}

.hero-cta-big {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: var(--ink);
    color: var(--cream);
    padding: 6px 6px 6px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    align-self: flex-end;
    justify-self: end;
    position: relative;
    will-change: transform;
}

.hero-cta-big:hover {
    background-color: var(--tomato);
}

.hero-cta-big .arrow-circ {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--acid);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.4s, background-color 0.4s, color 0.4s;
}

.hero-cta-big:hover .arrow-circ {
    background-color: var(--cream);
    color: var(--tomato);
    transform: rotate(45deg);
}

/* ==================== HERO SECTION (MOBILE) ==================== */
.hero-mobile {
    min-height: 80vh;
    padding: 130px 20px 48px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.hero-title-mobile {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.hero-title-mobile em {
    font-style: italic;
    color: var(--brand-primary);
}

.hero-subtitle-mobile {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-hero-cta {
    width: 100%;
    padding: 16px;
    text-align: center;
    justify-content: center;
    background-color: var(--ink);
    color: var(--cream);
    border-radius: 100px;
}

.mobile-hero-secondary {
    width: 100%;
    padding: 16px;
    text-align: center;
    justify-content: center;
    border-radius: 100px;
    border-color: var(--ink);
}

/* ==================== TICKER MARQUEE ==================== */
.marquee {
    background-color: var(--ink);
    color: var(--cream);
    padding: 24px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.marquee:before,
.marquee:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee:before {
    left: 0;
    background: linear-gradient(90deg, var(--ink), transparent);
}

.marquee:after {
    right: 0;
    background: linear-gradient(-90deg, var(--ink), transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    animation: scroll-ticker 35s linear infinite;
    white-space: nowrap;
    font-family: var(--font-serif);
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.01em;
}

.marquee-track span {
    display: inline-block;
}

.marquee-track div {
    display: inline-flex;
    align-items: center;
    gap: 40px;
}

.marquee-track em {
    font-style: italic;
    color: var(--acid);
}

.marquee-track em.alt {
    color: var(--tomato);
}

.marquee-track .star {
    color: var(--acid);
    font-size: 22px;
    display: inline-block;
    animation: rotate-star 4s linear infinite;
}

.marquee-track .star.alt {
    color: var(--tomato);
    animation-duration: 6s;
    animation-direction: reverse;
}

@keyframes rotate-star {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scroll-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==================== SERVICES SECTION (DESKTOP) ==================== */
.services-section {
    padding: 120px 32px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
    margin-top: 40px;
}

.service {
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    padding: 48px 40px;
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    transition: color 0.4s;
}

.service:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, var(--ink-2) 0%, var(--ink) 100%);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.2, 0.85, 0.2, 1);
    z-index: 0;
}

.service:hover:before {
    transform: translateY(0);
}

.service:hover {
    color: var(--cream);
}

.service > * {
    position: relative;
    z-index: 1;
}

.service .card-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 232, 71, 0.35) 0%, transparent 60%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.35s;
    filter: blur(20px);
    z-index: 0;
}

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

.service .num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service:hover .num {
    color: var(--acid);
}

.service .num .label-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service .num .dot-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--tomato);
    border-radius: 50%;
    animation: blink-anim 1.5s infinite;
}

.service .num .icon {
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s, background-color 0.4s, color 0.4s, border-color 0.4s;
}

.service:hover .num .icon {
    background-color: var(--acid);
    border-color: var(--acid);
    color: var(--ink);
    transform: rotate(45deg);
}

.service h3 {
    font-family: var(--font-serif);
    font-size: 42px;
    line-height: 1.05;
    margin-bottom: 20px;
}

.service h3 em {
    font-style: italic;
}

.service p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 440px;
    transition: color 0.4s;
}

.service:hover p {
    color: var(--cream-2);
}

.service .tags {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service .tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 100px;
    transition: border-color 0.4s, color 0.4s;
}

.service:hover .tag {
    border-color: #3a3a36;
    color: var(--cream-2);
}

/* ==================== SERVICES SECTION (MOBILE) ==================== */
.services-section-mobile {
    padding: 64px 20px;
    background-color: var(--cream);
}

.service-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card-mobile {
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 28px 20px;
    background-color: var(--cream);
}

.service-card-mobile h4 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

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

/* ==================== BRANDS SECTION (INFINITE TICKER) ==================== */
.brands {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background-color: var(--acid);
}

.brands-heading {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.brands-heading .line {
    flex: 1;
    max-width: 140px;
    height: 1px;
    background-color: rgba(8, 8, 7, 0.15);
}

.brands-marquee-wrapper {
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.brands-marquee-wrapper::-webkit-scrollbar {
    display: none;
}

.brands-track {
    display: flex;
    animation: scroll-ticker 40s linear infinite;
    white-space: nowrap;
    align-items: center;
}

.brands-track:hover,
.brands-track:active {
    animation-play-state: paused;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 100px;
    padding-right: 100px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    width: 320px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: transform 0.4s;
}

.brand-item:hover {
    transform: scale(1.1);
}

.brand-item img {
    max-height: 72px;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s;
}

/* Make Automan logo 200% height (160px) */
.brand-item img[src*="automan"] {
    max-height: 160px;
}

/* Make Carvexia logo optically match Automan's size (110px diameter) */
.brand-item img[src*="carvexia"] {
    border-radius: 50%;
    max-height: 110px;
    width: 110px;
    object-fit: cover;
    mix-blend-mode: normal;
}

/* Make RevUP logo scale proportionally */
.brand-item img[src*="revup"] {
    max-height: 120px;
}

/* Make Mahale logo scale proportionally */
.brand-item img[src*="mahale"] {
    max-height: 120px;
}

/* Make Aayu logo scale proportionally */
.brand-item img[src*="aayu"] {
    max-height: 100px;
}

/* ==================== SOFTWARE SECTION (DESKTOP) ==================== */
.software-section-styled {
    padding: 120px 32px;
}

.software-grid-styled {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .software-grid-styled {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .software-grid-styled {
        grid-template-columns: 1fr;
    }
    .software-section-styled {
        padding: 60px 20px;
    }
}

.software-card-styled {
    background-color: var(--cream);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    transition: var(--transition);
}

.software-card-styled:hover {
    border-color: var(--ink);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.software-card-styled .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.software-card-styled .app-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
}

/* Software Specific Icon Backgrounds */
.software-card-styled.pr .app-icon { background-color: #00005c; border: 1px solid #1473e6; color: #1473e6; }
.software-card-styled.ae .app-icon { background-color: #00005c; border: 1px solid #99f; color: #99f; }
.software-card-styled.ps .app-icon { background-color: #00005c; border: 1px solid #31a8ff; color: #31a8ff; }
.software-card-styled.dr .app-icon { background: linear-gradient(135deg, #ff4e50 0%, #f9d423 100%); border: 1px solid transparent; color: #ffffff; }

.software-card-styled .app-label {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    background-color: var(--cream-2);
    padding: 4px 10px;
    border-radius: 100px;
}

.software-card-styled h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: var(--font-sans);
}

.software-card-styled p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.45;
}



/* ==================== PHILOSOPHY SECTION (DESKTOP) ==================== */
.philosophy-section-editorial {
    padding: 120px 32px;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}

.manifesto-sidebar {
    position: sticky;
    top: 120px;
}

.manifesto-num {
    font-family: var(--font-serif);
    font-size: clamp(100px, 14vw, 200px);
    line-height: 0.82;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.manifesto-num em {
    font-style: italic;
    color: var(--muted);
}

.manifesto-num .star-spin {
    color: var(--tomato);
    font-size: 0.25em;
    display: inline-block;
    animation: rotate-star 6s linear infinite;
    vertical-align: super;
}

.manifesto-num .label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.8px;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 20px;
    line-height: 1.5;
    max-width: 220px;
}

.manifesto-content-box p {
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.manifesto-content-box p.manifesto-lead {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.manifesto-content-box p em {
    font-style: italic;
}

/* ==================== WHY US SECTION (DESKTOP) ==================== */
.why-us-editorial {
    padding: 120px 32px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.why-col {
    display: flex;
    flex-direction: column;
}

.why-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-style: italic;
    color: var(--tomato);
    margin-bottom: 20px;
    line-height: 1;
}

.why-col h4 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    font-family: var(--font-sans);
}

.why-col p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== CONTACT FORM ==================== */
.contact-section-editorial {
    padding: 120px 32px;
}

.contact-box-editorial {
    max-width: 900px;
    margin: 40px auto 0 auto;
    border: 1px solid var(--ink);
    border-radius: 20px;
    padding: 64px;
    background: linear-gradient(145deg, rgba(239, 233, 220, 0.95), rgba(226, 219, 201, 0.98));
    box-shadow: var(--shadow-lg);
}

.contact-header-editorial {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.contact-title-editorial {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.contact-subtitle-editorial {
    color: var(--muted);
    font-size: 1.05rem;
}

.inquiry-form-editorial {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.niche-selector-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.niche-selector-editorial .niche-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background-color: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    transition: var(--transition);
}

.niche-selector-editorial .niche-btn:hover {
    background-color: var(--ink);
    color: var(--cream);
}

.niche-selector-editorial .niche-btn.active {
    background-color: var(--ink);
    color: var(--acid);
}

.form-grid-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group-editorial {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label-editorial {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
}

.form-input-editorial {
    background-color: rgba(226, 219, 201, 0.4);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 15px 18px;
    font-size: 1rem;
    color: var(--ink);
    outline: none;
    transition: var(--transition);
}

.form-input-editorial:focus {
    border-color: var(--ink);
    background-color: rgba(226, 219, 201, 0.7);
}

.submit-btn-editorial {
    width: 100%;
    max-width: 320px;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--ink);
    color: var(--cream);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 100px;
    border: none;
    font-size: 1.05rem;
    transition: var(--transition);
}

.submit-btn-editorial:hover {
    background-color: var(--tomato);
}

.submit-btn-editorial .arr {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.submit-btn-editorial:hover .arr {
    transform: rotate(45deg);
}

/* ==================== FOOTER ==================== */
.editorial-footer {
    background-color: var(--cream);
    padding: 80px 32px 32px 32px;
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-grid h5 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 22px;
    font-weight: 500;
}

.footer-grid ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-grid a {
    font-size: 15px;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-grid a:hover {
    color: var(--tomato);
    padding-left: 6px;
}

.footer-brand .logo-text-footer {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 15px;
    color: var(--muted);
    max-width: 360px;
    margin-bottom: 24px;
}

.footer-brand .status {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--cream-2);
    padding: 8px 14px;
    border-radius: 100px;
    text-transform: uppercase;
}

.footer-brand .status .dot {
    width: 7px;
    height: 7px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 36px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--muted);
}

.footer-bottom .meta {
    display: flex;
    gap: 30px;
}

/* Big Typographic Lettering (GenZWay-style footer layout) */
.footer-mega {
    font-family: var(--font-serif);
    font-size: clamp(80px, 20vw, 280px);
    line-height: 0.82;
    letter-spacing: -0.05em;
    margin: 80px 0 20px 0;
    color: var(--ink);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    user-select: none;
}

.footer-mega .letter {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.2, 0.85, 0.2, 1), color 0.2s;
}

.footer-mega .letter:hover {
    transform: translateY(-16px) rotate(-6deg);
    color: var(--tomato);
}

.footer-mega .star {
    color: var(--acid);
    font-size: 0.35em;
    display: inline-block;
    animation: rotate-star 8s linear infinite;
    vertical-align: middle;
}

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

@media (max-width: 1024px) {
    .top-nav {
        grid-template-columns: auto 1fr;
    }
    
    .nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Visibility Override */
    .mobile-only {
        display: block !important;
    }
    
    .mobile-only-inline {
        display: inline-flex !important;
    }
    
    header .desktop-only,
    .desktop-only {
        display: none !important;
    }
    
    html {
        font-size: 15px;
    }
    
    .top-nav {
        padding: 14px 18px;
    }
    
    .nav-right .nav-time {
        display: none;
    }
    
    .brands {
        padding: 20px 0;
    }
    
    .brands-heading {
        margin-bottom: 16px;
    }
    
    .brands-track {
        animation-duration: 25s; /* Speed up by 50% */
    }
    
    .brand-group {
        gap: 40px;
        padding-right: 40px;
    }
    
    .brand-item {
        height: 130px;
        width: 240px;
    }
    
    .brand-item img {
        max-height: 120px;
        max-width: 240px;
    }
    
    .contact-box-editorial {
        padding: 40px 20px;
    }
    
    .form-grid-editorial {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .niche-selector-editorial {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-mega {
        font-size: clamp(24px, 8.5vw, 70px);
        flex-wrap: nowrap;
        letter-spacing: -0.03em;
        margin: 40px 0 10px 0;
    }
}
