/* ============================================
   PALMS & BIRDS — Digital Product Studio
   Mediterranean / Aegean Theme
   ============================================ */

:root {
    --bg-primary: #F5F7FA;
    --bg-secondary: #EBF0F5;
    --bg-card: rgba(30, 45, 61, 0.03);
    --bg-card-hover: rgba(30, 45, 61, 0.06);
    --bg-glass: rgba(30, 45, 61, 0.03);
    --text-primary: #1E2D3D;
    --text-secondary: #5A6A7A;
    --text-muted: #8D9BAA;
    --accent: #2E6E9E;
    --accent-light: #3D8ABF;
    --accent-glow: rgba(46, 110, 158, 0.2);
    --accent-subtle: rgba(46, 110, 158, 0.08);
    --secondary: #B8956A;
    --secondary-subtle: rgba(184, 149, 106, 0.08);
    --border: rgba(30, 45, 61, 0.08);
    --border-hover: rgba(30, 45, 61, 0.15);
    --gradient-1: #2E6E9E;
    --gradient-2: #B8956A;
    --gradient-3: #3D8ABF;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   CURSOR GLOW
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
}

body:hover .cursor-glow {
    opacity: 0.08;
}

@media (max-width: 768px), (hover: none) {
    .cursor-glow {
        display: none;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(245, 247, 250, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-logo .logo-img {
    width: auto;
    height: 48px;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.nav.scrolled .nav-logo .logo-img {
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px;
}

.lang-btn {
    display: inline-block;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    text-decoration: none;
}

.lang-btn:hover {
    color: var(--text-secondary);
}

.lang-btn.active {
    background: var(--accent);
    color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 247, 250, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu-links a {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-menu-links a:hover {
    color: var(--text-primary);
}

.mobile-lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 3px;
    margin-top: 16px;
}

.mobile-lang-switcher .lang-btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Site-wide fixed backdrop: stays put while translucent sections scroll over it */
.hero-image {
    position: fixed;
    inset: 0;
    background: url('assets/hero-bg.jpg') center center / cover no-repeat;
}

@media (max-width: 768px) {
    .hero-image {
        opacity: 0.5;
    }
}


.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 25s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(46, 110, 158, 0.08);
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(184, 149, 106, 0.06);
    bottom: 20%;
    left: 10%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(46, 110, 158, 0.05);
    top: 40%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent-subtle);
    border: 1px solid rgba(46, 110, 158, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-logo {
    height: clamp(72px, 12vw, 120px);
    width: auto;
    object-fit: contain;
    margin: 0 auto 10px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-role {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 500;
    color: var(--accent-light);
    animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 36px;
    animation: fadeInDown 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
    animation: fadeInDown 0.8s ease 0.5s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 0.8s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.6); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
    background: rgba(245, 247, 250, 0.78);
}

.section-dark {
    background: rgba(235, 240, 245, 0.84);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}


.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 16px auto 0;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

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

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: 12px;
    color: var(--accent-light);
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.product-status {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 100px;
}

.status-live {
    color: var(--secondary);
    background: var(--secondary-subtle);
    border: 1px solid rgba(184, 149, 106, 0.15);
}

.status-progress {
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid rgba(46, 110, 158, 0.15);
}

.status-early {
    color: var(--text-muted);
    background: var(--bg-glass);
    border: 1px solid var(--border);
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.product-positioning {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
}

.product-cta::after {
    content: ' \2192';
    margin-left: 4px;
    transition: var(--transition);
}

.product-cta:hover {
    color: var(--accent-light);
}

.product-cta:hover::after {
    margin-left: 8px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: 12px;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.service-icon-row {
    display: flex;
    gap: 10px;
}

.service-icon .service-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}


.platform-badge span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* Services detail page */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #E7EEF5 0%, var(--bg-primary) 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(30, 45, 61, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 45, 61, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}

.page-header::after {
    content: '';
    position: absolute;
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    width: 960px;
    height: 640px;
    background: radial-gradient(circle, rgba(46, 110, 158, 0.14), transparent 65%);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header .section-subtitle {
    max-width: 640px;
}

.page-header-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.service-detail h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-detail > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
}

.service-detail ul {
    margin: 0;
    padding-left: 18px;
}

.service-detail li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.step-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.services-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.studio-intro {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.studio-intro p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.diff-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.diff-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.diff-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    min-width: 240px;
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-card svg {
    color: var(--accent-light);
    flex-shrink: 0;
}

.contact-card div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    /* paint above the viewport-fixed hero photo, like the sections do */
    position: relative;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.footer-logo .logo-img {
    width: auto;
    height: 44px;
    display: block;
    object-fit: contain;
}

.footer-text {
    text-align: right;
}

.footer-content p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    opacity: 0.7;
}

.footer-legal {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    opacity: 0.7;
}

/* Site footer (main pages) */
.site-footer {
    padding: 72px 0 40px;
    background: rgba(235, 240, 245, 0.96);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 5px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 28px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-bottom p + p {
    margin-top: 6px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 0 28px;
    }

    /* logo on its own row, the two link groups side by side */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand .logo-img {
        height: 34px;
    }

    .footer-col h4 {
        margin-bottom: 10px;
    }

    .footer-col a,
    .footer-col span {
        font-size: 13px;
        padding: 4px 0;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

/* RTL (Arabic) */
html[dir="rtl"] body {
    font-family: 'Noto Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html[dir="rtl"] .footer-col h4,
html[dir="rtl"] .hero-role {
    letter-spacing: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

[data-animate] {
    opacity: 1;
    transform: none;
}

.js [data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav .lang-switcher {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .services-grid.cols-3,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 150px 0 70px;
    }

    .differentiators-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

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

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .app-detail-page {
        padding: 120px 20px 80px;
    }

    .app-detail-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
    }

    .app-detail-icon {
        margin: 0 auto;
        width: 112px;
        height: 112px;
    }

    .app-detail-actions {
        justify-content: center;
    }

    .app-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        height: 64px;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 16px 24px;
    background: rgba(30, 45, 61, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    flex: 1;
}

.cookie-banner a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: white;
    color: var(--text-primary);
}

.cookie-btn-accept:hover {
    background: var(--bg-secondary);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

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

/* ============================================
   FOOTER LINKS
   ============================================ */
.footer-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-link-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.footer-link-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* ============================================
   APP DETAILS PAGE
   ============================================ */
.app-detail-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 24px 96px;
}

.app-detail-hero {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 28px;
    align-items: center;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.app-detail-icon {
    width: 132px;
    height: 132px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(30, 45, 61, 0.12);
}

.app-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-detail-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary);
}

.app-detail-title {
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.05;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.app-detail-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 620px;
}

.app-detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.app-detail-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
}

.app-detail-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.app-detail-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.app-detail-card p,
.app-detail-card li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.app-detail-card ul {
    margin: 0;
    padding-left: 18px;
}

.app-detail-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.app-detail-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

.app-detail-links a:hover {
    color: var(--accent-light);
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-page {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 140px 24px 80px;
    overflow-wrap: anywhere;
}

.privacy-page h1 {
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.privacy-page .last-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.privacy-page h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
}

.privacy-page p,
.privacy-page ul {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-page ul {
    padding-left: 24px;
}

.privacy-page li {
    margin-bottom: 8px;
}

.privacy-page h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.privacy-page a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
