/* ========================================
   Space Apps - Premium Styles
   ======================================== */

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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-300: #d2d2d7;
    --gray-400: #86868b;
    --gray-500: #6e6e73;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

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

::selection {
    background: rgba(255, 255, 255, 0.15);
}

/* ========================================
   Custom Cursor
   ======================================== */

.cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
}

.cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

.cursor.hover .cursor-dot {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

.cursor.hover .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--white);
}

@media (max-width: 1024px) {
    .cursor {
        display: none;
    }
}

/* ========================================
   Background Effects
   ======================================== */

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 1;
}

.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

/* ========================================
   Navigation
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.nav-logo img {
    height: 20px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.4s var(--ease-out-expo);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.nav-toggle span {
    width: 28px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.4s var(--ease-out-expo);
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translateY(5px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translateY(-5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--white);
}

/* ========================================
   Section Labels
   ======================================== */

.section-label {
    margin-bottom: 2rem;
}

.label-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--gray-600);
    vertical-align: middle;
    margin-right: 1rem;
}

.label-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    vertical-align: middle;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    background: var(--gray-300);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 8rem 6rem 6rem;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

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

.hero-label {
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-outline {
    -webkit-text-stroke: 1.5px var(--white);
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 500px;
}

.floating-phone {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.phone-frame {
    width: 260px;
    height: 520px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 45px;
    padding: 10px;
    box-shadow: 
        0 60px 120px -30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border-radius: 38px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen-ui {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 60px 0 20px;
}

.ui-header {
    height: 24px;
    background: linear-gradient(90deg, var(--gray-800) 0%, var(--gray-900) 100%);
    border-radius: 6px;
    width: 60%;
}

.ui-card {
    height: 80px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.ui-button {
    height: 44px;
    background: var(--white);
    border-radius: 22px;
    margin-top: 8px;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.scroll-text {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: -20px; }
    100% { top: 60px; }
}

/* ========================================
   Manifesto Section
   ======================================== */

.manifesto {
    padding: 8rem 6rem;
    position: relative;
    z-index: 2;
}

.manifesto-content {
    max-width: 1000px;
    margin: 0 auto;
}

.manifesto-statements {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.statement {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.statement-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    flex-shrink: 0;
}

.statement-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--gray-400);
}

.statement-text em {
    color: var(--white);
    font-style: normal;
}

/* ========================================
   Featured Section
   ======================================== */

.featured {
    padding: 6rem;
    position: relative;
    z-index: 2;
}

.featured-content {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 3rem;
    transition: all 0.5s var(--ease-out-expo);
}

.featured-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.featured-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-mockup {
    width: 200px;
    height: 400px;
    background: linear-gradient(145deg, var(--gray-800) 0%, var(--gray-900) 100%);
    border-radius: 32px;
    position: relative;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.featured-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-description {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    transition: gap 0.3s var(--ease-out-expo);
}

.featured-link:hover {
    gap: 1rem;
}

.featured-link svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Page Header
   ======================================== */

.page-header {
    padding: 12rem 6rem 6rem;
    position: relative;
    z-index: 2;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 500px;
}

/* ========================================
   Apps Grid
   ======================================== */

.apps-grid-section {
    padding: 2rem 6rem 6rem;
    position: relative;
    z-index: 2;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 2.5rem;
    transition: all 0.5s var(--ease-out-expo);
}

.app-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.app-card-visual {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.app-phone {
    width: 140px;
    height: 280px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

.phone-inner {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-ui {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-el {
    height: 10px;
    background: var(--gray-800);
    border-radius: 4px;
}

.ui-el:nth-child(1) { width: 60%; }
.ui-el:nth-child(2) { width: 100%; height: 30px; }
.ui-el:nth-child(3) { width: 80%; }

.app-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.app-card-info {
    text-align: center;
}

.app-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    display: block;
    margin-bottom: 0.75rem;
}

.app-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.app-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.app-status {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

.app-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-color: rgba(59, 130, 246, 0.1);
}

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

.cta-icon {
    width: 64px;
    height: 64px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.cta-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gray-400);
}

.cta-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* ========================================
   Process Section
   ======================================== */

.process {
    padding: 6rem;
    position: relative;
    z-index: 2;
}

.process-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.process-step {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
}

.process-step:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gray-300);
}

.step-number {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-600);
    display: block;
    margin-bottom: 0.5rem;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========================================
   Mission Section
   ======================================== */

.mission {
    padding: 4rem 6rem 6rem;
    position: relative;
    z-index: 2;
}

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

.mission-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.6;
    color: var(--gray-400);
}

.mission-text em {
    color: var(--white);
    font-style: normal;
}

/* ========================================
   Values Section
   ======================================== */

.values {
    padding: 6rem;
    position: relative;
    z-index: 2;
}

.values-content {
    max-width: 1100px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
}

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

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gray-300);
}

.value-number {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-600);
    display: block;
    margin-bottom: 0.75rem;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.value-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========================================
   Approach Section
   ======================================== */

.approach {
    padding: 6rem;
    position: relative;
    z-index: 2;
}

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

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

.approach-item {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.approach-item:last-child {
    border-bottom: none;
}

.approach-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.approach-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
}

.approach-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.approach-description {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    padding-left: 3rem;
}

/* ========================================
   Page CTA
   ======================================== */

.page-cta {
    padding: 8rem 6rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-cta .cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-cta .cta-description {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-main {
    padding: 2rem 6rem 6rem;
    position: relative;
    z-index: 2;
}

.contact-email-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.email-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
}

.contact-email:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.email-arrow {
    display: flex;
    transition: transform 0.4s var(--ease-out-expo);
}

.email-arrow svg {
    width: 28px;
    height: 28px;
}

.contact-email:hover .email-arrow {
    transform: translateX(8px);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-address {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.address-text {
    font-size: 0.9375rem;
    font-style: normal;
    color: var(--gray-400);
    line-height: 1.7;
    margin-top: 0.75rem;
}

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

.detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--gray-300);
}

/* ========================================
   Services Section
   ======================================== */

.services {
    padding: 6rem;
    position: relative;
    z-index: 2;
}

.services-content {
    max-width: 700px;
    margin: 0 auto;
}

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

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    padding-left: 1rem;
}

.service-icon {
    color: var(--gray-600);
    transition: color 0.3s ease;
}

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

.service-name {
    font-size: 1.125rem;
    color: var(--gray-300);
    transition: color 0.3s ease;
}

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

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    padding: 6rem;
    position: relative;
    z-index: 2;
}

.faq-content {
    max-width: 700px;
    margin: 0 auto;
}

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

.faq-item {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-answer {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 4rem 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-logo img {
    height: 18px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-email {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--white);
}

.footer-address {
    font-size: 0.75rem;
    font-style: normal;
    color: var(--gray-600);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-align: right;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 10rem 4rem 6rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-description {
        margin: 0 auto 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .featured-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .process-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1.25rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero {
        padding: 8rem 1.5rem 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .manifesto,
    .featured,
    .page-header,
    .apps-grid-section,
    .process,
    .mission,
    .values,
    .approach,
    .page-cta,
    .contact-main,
    .services,
    .faq,
    .footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .page-header {
        padding-top: 8rem;
    }
    
    .statement {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .approach-description {
        padding-left: 0;
    }
}

/* ========================================
   Legal Pages
   ======================================== */

.legal-content {
    padding: 2rem 6rem 6rem;
    position: relative;
    z-index: 2;
}

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.legal-section h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--gray-300);
}

.legal-section p {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    margin: 1rem 0;
}

.legal-section li {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.legal-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gray-600);
}

.legal-section strong {
    color: var(--gray-300);
}

/* ========================================
   Blog Pages
   ======================================== */

.blog-grid-section {
    padding: 2rem 6rem 6rem;
    position: relative;
    z-index: 2;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

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

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.blog-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

.blog-date {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.blog-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--white);
}

.blog-excerpt {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    transition: gap 0.3s ease;
}

.blog-read-more svg {
    width: 16px;
    height: 16px;
}

.blog-card:hover .blog-read-more {
    gap: 0.75rem;
}

.blog-card-coming {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.blog-card-coming .blog-card-content {
    text-align: center;
}

.coming-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.3;
}

.coming-icon svg {
    width: 100%;
    height: 100%;
    color: var(--gray-500);
}

.coming-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.newsletter-section {
    padding: 6rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-content {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-description {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

/* ========================================
   Article Page
   ======================================== */

.article-header {
    padding: 10rem 6rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--white);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.article-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.read-time {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.article-content {
    padding: 2rem 6rem 4rem;
    position: relative;
    z-index: 2;
}

.article-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.article-section h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--gray-300);
}

.article-section p {
    font-size: 1.0625rem;
    color: var(--gray-400);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.article-section strong {
    color: var(--white);
    font-weight: 600;
}

.article-section em {
    color: var(--gray-300);
    font-style: italic;
}

.article-section ul {
    list-style: none;
    margin: 1.5rem 0;
}

.article-section li {
    font-size: 1.0625rem;
    color: var(--gray-400);
    line-height: 1.85;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.article-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gray-600);
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.author-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.share-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.share-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.share-links {
    display: flex;
    gap: 1rem;
}

.share-link {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.share-link:hover {
    color: var(--white);
}

.related-section {
    padding: 4rem 6rem;
    text-align: center;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.related-content {
    max-width: 500px;
    margin: 0 auto;
}

.related-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.related-description {
    font-size: 1rem;
    color: var(--gray-500);
}

.related-description a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .legal-content,
    .blog-grid-section,
    .article-header,
    .article-content,
    .newsletter-section,
    .related-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .article-header {
        padding-top: 8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-section {
        align-items: flex-start;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* ========================================
   Real App Screenshots
   ======================================== */

.app-mockup-real {
    width: 220px;
    height: 440px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 36px;
    padding: 8px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.mockup-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.mockup-glow-green {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
}

.app-phone-real {
    width: 160px;
    height: 320px;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 28px;
    padding: 6px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.app-glow-green {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
}
