/* ============================================================
   IXAST LTD - Main Stylesheet
   Premium monochrome corporate design
   ============================================================ */

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-off-white: #f5f5f5;
    --color-gray-100: #e5e5e5;
    --color-gray-200: #cccccc;
    --color-gray-300: #999999;
    --color-gray-400: #666666;
    --color-gray-500: #444444;
    --color-gray-600: #333333;
    --color-gray-700: #222222;
    --color-gray-800: #141414;
    --color-gray-900: #0a0a0a;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --header-height: 80px;
    --container-max: 1320px;
    --container-padding: 24px;
    --section-padding: 120px;
    --border-color: rgba(255, 255, 255, 0.15);
    --border-color-light: rgba(255, 255, 255, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
}

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

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover { opacity: 0.8; }

ul, ol { list-style: none; }

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-300);
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 16px;
    color: var(--color-gray-300);
    max-width: 600px;
    line-height: 1.7;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn i {
    font-size: 11px;
    transition: transform var(--transition-fast);
}

.btn:hover i { transform: translate(2px, -2px); }

.btn-primary {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-off-white);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
    opacity: 1;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color-light);
    transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
}

/* Ana sayfada hero üzerinde şeffaf header */
.page-home .site-header {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
}

.site-header.scrolled,
.page-home .site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}

/* Projects for sale — card + detail */
.project-card-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.10), transparent 60%),
                url('../images/app-card-bg.jpg') center / cover, #0a0a0a;
}

.project-card .card-media .project-card-icon {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform var(--transition);
}

.project-card:hover .project-card-icon { transform: translateY(-4px) scale(1.03); }

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 159, 10, 0.35);
    background: rgba(255, 159, 10, 0.10);
    color: #ffb340;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-card-stats {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color-light);
}

.project-card-stats dt {
    color: var(--color-gray-300);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-card-stats dd {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.project-detail-icon img {
    border-radius: 22.5%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.project-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 0 0 48px;
}

.project-fact {
    padding: 20px;
    border: 1px solid var(--border-color-light);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.project-fact dt {
    color: var(--color-gray-300);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-fact dd {
    margin-top: 6px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.project-fact.is-highlight {
    background: var(--color-white);
    border-color: var(--color-white);
}

.project-fact.is-highlight dt { color: var(--color-gray-500); }
.project-fact.is-highlight dd { color: var(--color-black); font-size: 28px; }

.project-description { margin-bottom: 48px; color: var(--color-gray-200); }
.project-description p { margin-bottom: 16px; }
.project-description h3 { margin: 32px 0 12px; color: var(--color-white); font-size: 20px; }

.project-included {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-bottom: 48px;
}

.project-included li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--border-color-light);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.project-included i {
    flex-shrink: 0;
    margin-top: 4px;
    color: #30d158;
    font-size: 13px;
}

.logo-main {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.logo-sub {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--color-gray-300);
    text-align: right;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav { display: block; }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-300);
    position: relative;
    padding: 4px 0;
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher .lang-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: flex;
    gap: 6px;
    opacity: 1;
}

.lang-switcher .active {
    color: var(--color-white);
}

.lang-switcher .lang-sep {
    color: var(--color-gray-500);
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta { display: inline-flex; }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-white);
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle { display: none; }
}

.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-black);
    z-index: 999;
    padding: 40px var(--container-padding);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav ul li {
    border-bottom: 1px solid var(--border-color-light);
}

.mobile-nav ul li a {
    display: block;
    padding: 20px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-nav-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.hero-content {
    max-width: 640px;
}

.hero-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-300);
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.hero-desc {
    font-size: 16px;
    color: var(--color-gray-300);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at center, #000 55%, transparent 100%);
    animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image img { animation: none; }
}

.hero-phones {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.phone-mockup {
    position: absolute;
    width: 45%;
    aspect-ratio: 9/19;
    background: var(--color-gray-800);
    border: 2px solid var(--color-gray-600);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 4px;
    background: var(--color-gray-600);
    border-radius: 2px;
}

.phone-mockup-1 {
    left: 5%;
    top: 10%;
    transform: rotate(-8deg);
    z-index: 2;
}

.phone-mockup-2 {
    right: 5%;
    top: 5%;
    transform: rotate(8deg);
    z-index: 1;
}

.phone-screen {
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    background: linear-gradient(180deg, var(--color-gray-700) 0%, var(--color-black) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.phone-screen-content {
    text-align: center;
}

.phone-screen-label {
    font-size: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    margin-bottom: 12px;
}

.phone-screen-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.phone-screen-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.03));
}

.hero-rock {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 50%;
    background: radial-gradient(ellipse at center, var(--color-gray-800) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================================
   TECHNOLOGY SECTION
   ============================================================ */

.tech-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color-light);
    border-bottom: 1px solid var(--border-color-light);
}

.tech-section .section-label {
    text-align: center;
    margin-bottom: 40px;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
}

.tech-item {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.tech-item:hover {
    color: var(--color-white);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-section {
    padding: var(--section-padding) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    margin-top: 60px;
}

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

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--color-black);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: background var(--transition);
}

.service-card:hover {
    background: var(--color-gray-900);
}

.service-icon {
    font-size: 24px;
    color: var(--color-white);
    margin-bottom: 32px;
    opacity: 0.8;
}

.service-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.service-desc {
    font-size: 14px;
    color: var(--color-gray-300);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 32px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    align-self: flex-start;
    opacity: 1;
    transition: all var(--transition);
}

.service-link:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.service-link i {
    font-size: 10px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */

.products-section {
    padding: var(--section-padding) 0;
}

.page-header + .products-section {
    padding-top: 56px;
}

.page-header + .products-section .products-grid {
    margin-top: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
}

@media (min-width: 640px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    border: 1px solid var(--border-color);
    background: var(--color-gray-900);
    transition: border-color var(--transition), transform var(--transition);
    overflow: hidden;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.product-card .card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 1;
}

.card-media {
    aspect-ratio: 16/10;
    background: var(--color-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-placeholder {
    font-size: 48px;
    color: var(--color-gray-600);
}

.card-body {
    padding: 24px;
    flex: 1;
}

.card-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: var(--color-gray-300);
    line-height: 1.6;
}

.card-platform {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    color: var(--color-gray-400);
    letter-spacing: 0.05em;
}

.card-price {
    display: block;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
}

.card-pricing {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-old {
    font-size: 14px;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color-light);
}

.card-cta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color-light);
}

.cta-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cta-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 500px;
}

.cta-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .cta-right {
        flex-direction: row;
        align-items: center;
        gap: 32px;
    }
}

.cta-desc {
    font-size: 14px;
    color: var(--color-gray-300);
    max-width: 300px;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.page-header {
    padding: 48px 0 60px;
    border-bottom: 1px solid var(--border-color-light);
}

.page-header .section-title {
    margin-bottom: 16px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
    padding: calc(var(--header-height) + 14px) 0 14px;
    border-bottom: 1px solid var(--border-color-light);
    background: var(--color-black);
    position: relative;
    z-index: 1;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--color-gray-400);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--color-gray-500);
}

.breadcrumb a:hover {
    color: var(--color-white);
}

/* ============================================================
   DETAIL PAGE
   ============================================================ */

.detail-hero {
    padding: 48px 0 60px;
}

.detail-hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .detail-hero .container {
        grid-template-columns: auto 1fr;
        gap: 60px;
    }
}

.detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: var(--color-gray-800);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.detail-info h1 {
    font-size: clamp(28px, 4vw, 40px);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.detail-info .detail-desc {
    font-size: 16px;
    color: var(--color-gray-300);
    line-height: 1.7;
    margin-bottom: 24px;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.detail-content {
    padding: 60px 0 var(--section-padding);
}

.detail-content .container {
    max-width: 900px;
}

.detail-content h2 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color-light);
}

.detail-content p,
.detail-content li {
    color: var(--color-gray-300);
    line-height: 1.8;
    margin-bottom: 16px;
}

.detail-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 24px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.screenshot-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 9/16;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
}

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

@media (min-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    background: var(--color-gray-900);
}

.pricing-header {
    margin-bottom: 32px;
}

.pricing-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.pricing-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--color-gray-300);
}

.pricing-plans {
    flex: 1;
    margin-bottom: 32px;
}

.pricing-plan {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color-light);
    position: relative;
}

.pricing-plan.featured {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px 20px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.02);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--color-white);
    color: var(--color-black);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 50px;
}

.plan-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    margin-bottom: 4px;
}

.plan-price {
    font-size: 32px;
    font-weight: 800;
}

.plan-period {
    font-size: 14px;
    color: var(--color-gray-400);
}

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

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-section {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    border: 1px solid var(--border-color);
    color: var(--color-gray-300);
    font-size: 13px;
}

.contact-info-item label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    margin-bottom: 4px;
}

.contact-info-item a,
.contact-info-item p {
    font-size: 15px;
    color: var(--color-white);
}

.contact-info-item p {
    margin: 0;
    white-space: normal;
}

.contact-info-empty {
    max-width: 360px;
    color: var(--color-gray-400);
    font-size: 14px;
}

.contact-map {
    width: 100%;
    max-width: 420px;
    height: 210px;
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--color-gray-900);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    filter: grayscale(1) contrast(1.05) brightness(0.72);
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--color-gray-300);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-map-link:hover {
    color: var(--color-white);
    opacity: 1;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-gray-300);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-white);
    background: var(--color-gray-900);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.form-check input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--color-white);
}

.form-check label {
    font-size: 13px;
    color: var(--color-gray-300);
    line-height: 1.5;
}

.alert {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-success {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-content {
    padding: 60px 0 var(--section-padding);
}

.about-content .container {
    max-width: 800px;
}

.about-content h2 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 48px 0 16px;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--color-gray-300);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.about-content ul li {
    color: var(--color-gray-300);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.about-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-gray-500);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    border-top: 1px solid var(--border-color-light);
    padding: 80px 0 40px;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 56px;
    }
}

.footer-desc {
    font-size: 14px;
    color: var(--color-gray-400);
    line-height: 1.7;
    margin: 20px 0;
    max-width: 360px;
}

/* Keep LTD beside the footer brand, matching the header logo lockup. */
.footer-brand .logo {
    width: max-content;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 14px;
    opacity: 1;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.footer-nav h4,
.footer-contact h4,
.footer-legal h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    font-size: 14px;
    color: var(--color-gray-400);
}

.footer-legal ul li {
    margin-bottom: 12px;
}

.footer-legal ul li a {
    font-size: 14px;
    color: var(--color-gray-400);
}

.footer-legal ul li a:hover {
    color: var(--color-white);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact p a,
.footer-address {
    font-size: 14px;
    color: var(--color-gray-300);
}

.footer-contact p a:hover {
    color: var(--color-white);
    opacity: 1;
}

.footer-address {
    max-width: 220px;
    line-height: 1.6;
}

.footer-nav ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color-light);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-gray-500);
}

.footer-bottom-note {
    color: var(--color-gray-500);
    font-size: 12px;
    letter-spacing: 0.04em;
}

@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-gray-900);
    border-top: 1px solid var(--border-color);
    padding: 20px;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .cookie-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-inner p {
    font-size: 14px;
    color: var(--color-gray-300);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cookie-link {
    font-size: 13px;
    color: var(--color-gray-400);
    text-decoration: underline;
}

/* Floating WhatsApp support button */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background: var(--color-black);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
    opacity: 1;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.whatsapp-float i {
    font-size: 24px;
    flex: 0 0 auto;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    color: var(--color-black);
    background: var(--color-white);
    border-color: var(--color-white);
    opacity: 1;
    box-shadow: 0 16px 34px rgba(255, 255, 255, 0.14);
}

.cookie-consent:not([hidden]) ~ .whatsapp-float {
    bottom: 96px;
}

@media (max-width: 767px) {
    .whatsapp-float {
        right: 16px;
        bottom: 18px;
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .cookie-consent:not([hidden]) ~ .whatsapp-float {
        bottom: 112px;
    }

    .whatsapp-float:hover {
        width: 50px;
        color: var(--color-black);
        background: var(--color-white);
        border-color: var(--color-white);
    }
}

/* ============================================================
   ERROR PAGES
   ============================================================ */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--header-height) 24px;
}

.error-code {
    font-size: clamp(80px, 15vw, 160px);
    font-weight: 800;
    line-height: 1;
    opacity: 0.15;
}

.error-title {
    font-size: 24px;
    text-transform: uppercase;
    margin: 24px 0 16px;
}

.error-desc {
    color: var(--color-gray-400);
    margin-bottom: 32px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .section-desc {
    margin: 0 auto;
}

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

.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--color-gray-400);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 24px;
    opacity: 0.3;
}

.legal-content {
    padding: 60px 0 var(--section-padding);
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h1 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.legal-content p {
    color: var(--color-gray-300);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ============================================================
   iOS APP CARD (App Store "Today" style)
   ============================================================ */

.ios-app-card {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 20px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.ios-app-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 70px rgba(0, 0, 0, 0.6);
}

.ios-app-card:active {
    transform: scale(0.98);
}

.ios-app-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.ios-app-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: #050505;
    background-size: cover;
    background-position: center top;
}

.ios-app-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    z-index: 3;
}

.ios-app-card-media.is-icon-only {
    align-items: center;
}

.ios-app-card-shots {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 90%;
    transform: translateY(16%);
}

/* iPhone mockup (titanium frame + Dynamic Island) */
.iphone-mockup {
    position: relative;
    height: 100%;
    aspect-ratio: 9 / 19.5;
    padding: 3.2%;
    border-radius: 18% / 8.4%;
    background: linear-gradient(145deg, #5a5a5f 0%, #2b2b2e 22%, #1a1a1c 50%, #3a3a3e 78%, #6b6b70 100%);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.9),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        inset 0 0 0 3px #0b0b0c,
        0 26px 50px rgba(0, 0, 0, 0.7),
        0 8px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.iphone-mockup::before,
.iphone-mockup::after {
    content: '';
    position: absolute;
    width: 1.6%;
    border-radius: 2px;
    background: linear-gradient(90deg, #2a2a2d, #6a6a6f);
}

.iphone-mockup::before {
    left: -1.2%;
    top: 22%;
    height: 9%;
    box-shadow: 0 160% 0 #3a3a3d;
}

.iphone-mockup::after {
    right: -1.2%;
    top: 28%;
    height: 14%;
}

.iphone-mockup-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15% / 7%;
    overflow: hidden;
    background: #000;
}

.iphone-mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.iphone-mockup-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
}

.iphone-mockup-island {
    position: absolute;
    top: 2.2%;
    left: 50%;
    width: 30%;
    height: 3.4%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #000;
    z-index: 2;
}

/* App Store marketing screenshots (device frame already baked in) */
.store-shot {
    position: relative;
    height: 100%;
    aspect-ratio: 1242 / 2688;
    border-radius: 9% / 4.2%;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 26px 50px rgba(0, 0, 0, 0.7),
        0 8px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.store-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ios-app-card-shots > * { flex-shrink: 0; }

.ios-app-card-shots.count-3 > :nth-child(1),
.ios-app-card-shots.count-3 > :nth-child(3) {
    height: 84%;
    filter: brightness(0.7);
}

.ios-app-card-shots.count-3 > :nth-child(1) { transform: translateX(24%) rotate(-7deg); }
.ios-app-card-shots.count-3 > :nth-child(2) { z-index: 2; }
.ios-app-card-shots.count-3 > :nth-child(3) { transform: translateX(-24%) rotate(7deg); }

.ios-app-card-shots.count-2 > :nth-child(1) { transform: translateX(10%) rotate(-5deg); filter: brightness(0.8); }
.ios-app-card-shots.count-2 > :nth-child(2) { transform: translateX(-10%) rotate(5deg); z-index: 2; }

.ios-app-card:hover .ios-app-card-shots.count-3 > :nth-child(1) { transform: translateX(14%) rotate(-10deg); }
.ios-app-card:hover .ios-app-card-shots.count-3 > :nth-child(3) { transform: translateX(-14%) rotate(10deg); }
.ios-app-card:hover .ios-app-card-shots.count-3 > :nth-child(2),
.ios-app-card:hover .ios-app-card-shots.count-1 > * { transform: translateY(-5%); }

.ios-app-card-hero-icon {
    position: relative;
    width: 38%;
    aspect-ratio: 1;
    border-radius: 22.5%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.ios-app-card-placeholder {
    position: relative;
    font-size: 56px;
    color: rgba(255, 255, 255, 0.25);
}

.ios-app-card-body {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 22px 24px;
    background: rgba(18, 18, 20, 0.82);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ios-app-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ios-app-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 22.5%;
    object-fit: cover;
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.ios-app-card-icon-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1c1c1e;
    color: rgba(255, 255, 255, 0.4);
}

.ios-app-card-titles {
    flex: 1;
    min-width: 0;
}

.ios-app-card-name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 3px;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ios-app-card-subtitle {
    font-size: 13px;
    color: rgba(235, 235, 245, 0.6);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ios-app-card-get {
    flex-shrink: 0;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.25s ease, color 0.25s ease;
}

.ios-app-card:hover .ios-app-card-get {
    background: var(--color-white);
    color: var(--color-black);
}

.ios-app-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(235, 235, 245, 0.7);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ios-app-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.ios-app-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(118, 118, 128, 0.24);
    font-size: 12px;
    font-weight: 500;
    color: rgba(235, 235, 245, 0.8);
}

@media (prefers-reduced-motion: reduce) {
    .ios-app-card,
    .iphone-mockup,
    .store-shot { transition: none; }
}

/* ============================================================
   APP MICROSITE (product page, legal, support, blog)
   ============================================================ */

.page-app {
    --ios-label-2: rgba(235, 235, 245, 0.62);
    --ios-label-3: rgba(235, 235, 245, 0.38);
    --ios-fill: rgba(118, 118, 128, 0.18);
    --ios-surface: rgba(28, 28, 30, 0.72);
    --ios-separator: rgba(84, 84, 88, 0.5);
    --ios-radius: 22px;
}

/* Local nav */
.app-localnav {
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    margin-top: var(--header-height);
    background: rgba(10, 10, 12, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid var(--ios-separator);
}

.app-localnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    gap: 16px;
}

.app-localnav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-white);
    min-width: 0;
}

.app-localnav-brand img {
    border-radius: 22.5%;
    flex-shrink: 0;
}

.app-localnav-brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-localnav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 13px;
}

.app-localnav-links a:not(.app-localnav-get) {
    color: var(--ios-label-2);
    transition: color 0.2s ease;
}

.app-localnav-links a:not(.app-localnav-get):hover,
.app-localnav-links a.is-active {
    color: var(--color-white);
}

.app-localnav-get {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-black);
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-localnav-get:hover {
    color: var(--color-black);
    opacity: 0.88;
}

.app-localnav-get:active {
    transform: scale(0.96);
}

@media (max-width: 640px) {
    .app-localnav-links { gap: 14px; }
    .app-localnav-links a:not(.app-localnav-get):not(.is-active) { display: none; }
}

/* Hero */
.app-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px;
}

.app-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 75% 30%, rgba(255, 255, 255, 0.10) 0%, transparent 70%),
        radial-gradient(40% 40% at 20% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.app-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

@media (min-width: 960px) {
    .app-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
}

.app-hero-id {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.app-hero-icon {
    width: 88px;
    height: 88px;
    border-radius: 22.5%;
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.app-pill {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ios-fill);
    color: var(--ios-label-2);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.app-hero-title {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.035em;
    text-transform: none;
    margin-bottom: 16px;
}

.app-hero-subtitle {
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ios-label-2);
    margin-bottom: 20px;
}

.app-hero-desc {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ios-label-2);
    max-width: 560px;
    margin-bottom: 32px;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.appstore-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 22px 0 18px;
    border-radius: 14px;
    background: var(--color-white);
    color: var(--color-black);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.appstore-badge:hover {
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.14);
}

.appstore-badge:active { transform: scale(0.97); }

.appstore-badge i { font-size: 28px; }

.appstore-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.appstore-badge small {
    font-size: 11px;
    font-weight: 500;
}

.appstore-badge strong {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.appstore-badge-alt {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--ios-separator);
    box-shadow: none;
}

.appstore-badge-alt:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.app-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
    margin-top: 28px;
    list-style: none;
    font-size: 13px;
    color: var(--ios-label-3);
}

.app-hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-hero-meta li + li::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ios-label-3);
    margin-right: 12px;
}

.app-stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 1;
}

.app-stars::before {
    content: '★★★★★';
    background: linear-gradient(90deg, #fff var(--percent), rgba(255, 255, 255, 0.25) var(--percent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-hero-device {
    position: relative;
    display: flex;
    justify-content: center;
    height: min(640px, 78vh);
}

.app-hero-device > .store-shot,
.app-hero-device > .iphone-mockup {
    position: relative;
    z-index: 2;
    height: 100%;
}

.app-hero-device-back {
    position: absolute;
    top: 8%;
    left: 50%;
    height: 88%;
    transform: translateX(8%) rotate(6deg);
    filter: brightness(0.55);
    z-index: 1;
}

.app-hero-device-back > * { height: 100%; }

/* Sections */
.app-section {
    padding: 72px 0;
    border-top: 0.5px solid var(--ios-separator);
}

.app-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.app-section h2,
.app-about h2,
.app-faq-wrap h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.025em;
    text-transform: none;
    margin: 0;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--ios-label-2);
}

.app-link:hover { color: var(--color-white); }
.app-link i { font-size: 11px; }

/* Gallery */
.app-gallery-controls { display: flex; gap: 8px; }

.app-gallery-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--ios-fill);
    color: var(--color-white);
    cursor: pointer;
    transition: background 0.2s ease;
}

.app-gallery-btn:hover { background: rgba(118, 118, 128, 0.36); }

.app-gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
    padding: 8px max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding))) 24px;
    scrollbar-width: none;
}

.app-gallery-track::-webkit-scrollbar { display: none; }

.app-gallery-item {
    flex: 0 0 auto;
    height: min(560px, 70vh);
    margin: 0;
    scroll-snap-align: start;
}

.app-gallery-item > * { height: 100%; }

/* Feature cards */
.app-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.app-feature,
.app-support-card {
    padding: 28px;
    border-radius: var(--ios-radius);
    background: var(--ios-surface);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.app-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    border: 0.5px solid rgba(255, 255, 255, 0.14);
    font-size: 18px;
    margin-bottom: 20px;
}

.app-feature h3,
.app-support-card h3 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.015em;
    text-transform: none;
    margin-bottom: 8px;
}

.app-feature p,
.app-support-card p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ios-label-2);
    margin: 0;
}

/* Steps */
.app-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    list-style: none;
    counter-reset: none;
}

.app-step {
    padding: 28px;
    border-radius: var(--ios-radius);
    border: 0.5px solid var(--ios-separator);
}

.app-step-num {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ios-label-3);
    font-variant-numeric: tabular-nums;
    margin-bottom: 36px;
}

.app-step h3 {
    font-size: 19px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}

.app-step p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ios-label-2);
    margin: 0;
}

/* Prose */
.app-about,
.app-faq-wrap {
    max-width: 780px;
}

.app-about h2,
.app-faq-wrap h2 { margin-bottom: 28px; }

.app-prose {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ios-label-2);
}

.app-prose p { margin-bottom: 1.2em; }
.app-prose h2 { font-size: 26px; color: var(--color-white); margin: 2em 0 0.6em; letter-spacing: -0.02em; text-transform: none; }
.app-prose h3 { font-size: 20px; color: var(--color-white); margin: 1.6em 0 0.5em; text-transform: none; }
.app-prose ul, .app-prose ol { margin: 0 0 1.2em 1.2em; }
.app-prose li { margin-bottom: 0.4em; }
.app-prose a { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }
.app-prose strong { color: var(--color-white); }
.app-prose img { max-width: 100%; border-radius: 16px; margin: 1em 0; }

/* Blog cards */
.app-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.app-blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--ios-radius);
    overflow: hidden;
    background: var(--ios-surface);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}

.app-blog-card a:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
}

.app-blog-card-media {
    aspect-ratio: 16 / 9;
    background-color: #0b0b0c;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-blog-card-media img.app-blog-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 22.5%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.app-blog-card-body {
    padding: 22px 24px 26px;
}

.app-blog-card time {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ios-label-3);
    margin-bottom: 10px;
}

.app-blog-card h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.015em;
    text-transform: none;
    margin-bottom: 8px;
}

.app-blog-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ios-label-2);
    margin: 0;
}

/* FAQ (iOS grouped list) */
.app-faq {
    border-radius: var(--ios-radius);
    background: var(--ios-surface);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.app-faq-item + .app-faq-item {
    border-top: 0.5px solid var(--ios-separator);
}

.app-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.app-faq-item summary::-webkit-details-marker { display: none; }

.app-faq-item summary i {
    font-size: 13px;
    color: var(--ios-label-3);
    transition: transform 0.3s ease;
}

.app-faq-item[open] summary i { transform: rotate(45deg); }

.app-faq-item p {
    padding: 0 24px 22px;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ios-label-2);
}

/* Final CTA + legal bar */
.app-final-cta {
    padding: 112px 0;
    text-align: center;
    border-top: 0.5px solid var(--ios-separator);
    background: radial-gradient(50% 60% at 50% 100%, rgba(255, 255, 255, 0.07) 0%, transparent 70%);
}

.app-final-cta-icon {
    border-radius: 22.5%;
    margin: 0 auto 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.app-final-cta h2 {
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-transform: none;
    max-width: 720px;
    margin: 0 auto 14px;
}

.app-final-cta p {
    font-size: 17px;
    color: var(--ios-label-2);
    margin-bottom: 32px;
}

.app-final-cta .app-badges { justify-content: center; }

.app-legalbar {
    border-top: 0.5px solid var(--ios-separator);
    font-size: 13px;
    color: var(--ios-label-3);
}

.app-legalbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.app-legalbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.app-legalbar a { color: var(--ios-label-2); }
.app-legalbar a:hover { color: var(--color-white); }

/* Docs (privacy / terms / support / blog index) */
.app-doc {
    padding: 72px 0 96px;
}

.app-doc-inner { max-width: 780px; }

.app-doc-head {
    margin-bottom: 48px;
}

.app-doc-kicker {
    font-size: 13px;
    font-weight: 600;
    color: var(--ios-label-3);
    margin-bottom: 12px;
}

.app-doc-head h1,
.app-article-head h1 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-transform: none;
    margin-bottom: 12px;
}

.app-doc-lead {
    font-size: 19px;
    color: var(--ios-label-2);
    max-width: 640px;
}

.app-doc-updated {
    font-size: 14px;
    color: var(--ios-label-3);
}

.app-doc-subtitle {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: none;
    margin: 56px 0 20px;
}

.app-support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 48px;
}

.app-support-card {
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.app-support-card:hover {
    color: inherit;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.app-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}

.app-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ios-fill);
    color: var(--ios-label-2);
    font-size: 14px;
    font-weight: 600;
}

.app-pagination a:hover,
.app-pagination a.is-active {
    background: var(--color-white);
    color: var(--color-black);
}

/* Article */
.app-article { padding: 56px 0 72px; }

.app-article-inner { max-width: 720px; }

.app-article-back { margin-bottom: 32px; }

.app-article-head { margin-bottom: 36px; }

.app-article-meta {
    font-size: 14px;
    color: var(--ios-label-3);
}

.app-article-cover {
    width: 100%;
    border-radius: var(--ios-radius);
    margin-bottom: 40px;
}

.app-article-body { font-size: 18px; }

.app-article-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 56px;
    padding: 20px;
    border-radius: var(--ios-radius);
    background: var(--ios-surface);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.app-article-cta img { border-radius: 22.5%; flex-shrink: 0; }

.app-article-cta div {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-article-cta strong { font-size: 17px; }

.app-article-cta span {
    font-size: 14px;
    color: var(--ios-label-2);
}
