/* PetMatch Ultra Premium Website - Apple Pro / Samsung Galaxy Ultra Style */

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

:root {
    --bg-primary: #020104;
    --bg-secondary: #0A0612;
    --bg-tertiary: #110A1E;
    
    --primary: #00E5FF;
    --secondary: #FF4081;
    --accent: #E040FB;
    --success: #00E676;
    
    --text-white: #FFFFFF;
    --text-muted: #86828E;
    --text-gray: #A9A4B2;
    
    --glass-bg: rgba(255, 255, 255, 0.015);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-glow: rgba(0, 229, 255, 0.08);
    
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    /* Apple easeOutExpo curve */
    --transition-apple: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1, h2, h3, h4, .logo-text, .stat-number {
    font-family: var(--font-outfit);
    letter-spacing: -0.03em;
}

/* Global Section Layout */
section {
    padding: 140px 10%;
    position: relative;
}

/* Dynamic Ambient Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}

.orb-top-right {
    top: -200px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
}

.orb-mid-left {
    top: 35%;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 64, 129, 0.08) 0%, transparent 70%);
}

.orb-bottom-right {
    bottom: -100px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(224, 64, 251, 0.08) 0%, transparent 70%);
}

/* Navigation Header */
header {
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: rgba(2, 1, 4, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-apple);
}

header.scrolled {
    padding: 14px 10%;
    background: rgba(2, 1, 4, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition-apple);
}

header.scrolled .logo-img {
    height: 34px;
}

.logo-text {
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

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

/* Premium Buttons */
.btn-primary {
    background: var(--text-white);
    color: var(--bg-primary);
    padding: 14px 32px;
    border-radius: 30px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--text-white);
    cursor: pointer;
    transition: var(--transition-apple);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 14px 32px;
    border-radius: 30px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-apple);
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    z-index: 10;
}

.hero-content {
    flex: 1.2;
}

.badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    font-family: var(--font-outfit);
}

.hero-title {
    font-size: 76px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -0.04em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 45px;
    max-width: 580px;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 20px;
}

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

/* Floating iPhone Showcase */
.mockup-container {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 48px;
    padding: 10px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.8),
                0 0 40px rgba(0, 229, 255, 0.05);
    border: 3px solid #2c2c2e;
    position: relative;
    transition: var(--transition-apple);
}

.mockup-container:hover {
    transform: translateY(-10px) rotateY(-5deg);
    box-shadow: 0 40px 80px rgba(0,0,0,0.9),
                0 0 60px rgba(0, 229, 255, 0.1);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* iPhone Dynamic Island / Camera Notch */
.mockup-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
}

/* Reflection glare overlay */
.mockup-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 30%, transparent 60%);
    pointer-events: none;
    z-index: 15;
}

/* Key Stats Banner */
.stats {
    padding: 70px 10%;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    z-index: 10;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-white) 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Local Map Discovery Section (DogHood & Pawmates Niche) */
.map-section {
    display: flex;
    gap: 50px;
    align-items: center;
}

.map-info {
    flex: 1;
}

.map-card-wrapper {
    flex: 1.2;
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.map-detail-panel {
    width: 260px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-apple);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.map-detail-portrait {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    transition: var(--transition-apple);
}

.map-detail-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.map-detail-breed {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.map-detail-tag {
    background: rgba(0, 226, 118, 0.06);
    border: 1px solid rgba(0, 226, 118, 0.2);
    color: var(--success);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.map-container {
    flex: 1;
    height: 380px;
    border-radius: 28px;
    background-color: #05030A;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    /* Grid lines blueprint pattern */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

/* Radar pulse pulse rings */
.map-radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border: 1px dashed rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.map-radar-ring-2 {
    width: 120px;
    height: 120px;
    border: 1px solid rgba(0, 229, 255, 0.05);
}

/* Interactive Map Pins */
.map-pin {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--bg-tertiary);
    cursor: pointer;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    transition: var(--transition-apple);
}

.map-pin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-pin::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: radar-pulse 2s infinite;
}

.map-pin:hover, .map-pin.active {
    transform: scale(1.18);
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(255, 64, 129, 0.5);
}

.map-pin.active::after {
    border-color: var(--secondary);
}

/* Map Pin Placements */
.pin-1 { top: 20%; left: 35%; }
.pin-2 { top: 52%; left: 65%; --primary: var(--secondary); }
.pin-3 { top: 68%; left: 22%; }

@keyframes radar-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Trust & Health Verification Banner (Niche Trust Requirement) */
.trust-banner {
    padding: 60px 10%;
    background: linear-gradient(90deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.trust-item:nth-child(2) .trust-icon-box {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
    color: var(--primary);
}

.trust-item:nth-child(3) .trust-icon-box {
    background: rgba(224, 64, 251, 0.08);
    border-color: rgba(224, 64, 251, 0.2);
    color: var(--accent);
}

.trust-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
}

.trust-item-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Tinder Swipe Simulator Section */
.simulator-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(circle at bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.tinder-simulator {
    width: 350px;
    height: 520px;
    position: relative;
    perspective: 1000px;
}

.sim-card {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6);
    cursor: grab;
    user-select: none;
    transform-origin: 50% 99%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.sim-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.sim-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 24px 24px;
    background: linear-gradient(to top, rgba(2, 1, 4, 1) 0%, rgba(2, 1, 4, 0.6) 60%, transparent 100%);
    text-align: left;
}

.sim-card-name {
    font-family: var(--font-outfit);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 6px;
}

.sim-card-detail {
    font-size: 14px;
    color: var(--text-gray);
}

.sim-stamp {
    position: absolute;
    top: 30px;
    font-size: 26px;
    font-weight: 900;
    border: 3.5px solid;
    border-radius: 8px;
    padding: 4px 16px;
    opacity: 0;
    transform: scale(0.85) rotate(-15deg);
    transition: opacity 0.15s ease;
    pointer-events: none;
    font-family: var(--font-outfit);
}

.stamp-like {
    left: 30px;
    color: var(--primary);
    border-color: var(--primary);
}

.stamp-nope {
    right: 30px;
    color: var(--secondary);
    border-color: var(--secondary);
    transform: scale(0.85) rotate(15deg);
}

.sim-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.sim-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    outline: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: var(--transition-apple);
}

.sim-btn:hover {
    transform: scale(1.1) translateY(-2px);
}

.sim-btn-dislike { color: var(--secondary); border-color: rgba(255, 64, 129, 0.2); }
.sim-btn-dislike:hover { background: rgba(255, 64, 129, 0.05); border-color: var(--secondary); }

.sim-btn-like { color: var(--primary); border-color: rgba(0, 229, 255, 0.2); }
.sim-btn-like:hover { background: rgba(0, 229, 255, 0.05); border-color: var(--primary); }

.sim-btn-super { color: var(--accent); border-color: rgba(224, 64, 251, 0.2); }
.sim-btn-super:hover { background: rgba(224, 64, 251, 0.05); border-color: var(--accent); }

/* Bento Grid Features Layout (Apple Style) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    transition: var(--transition-apple);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 60%);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.025);
}

.feature-large { grid-column: span 2; }
.feature-medium { grid-column: span 1; }
.feature-full { grid-column: span 3; }

.feature-icon {
    font-size: 28px;
    margin-bottom: 24px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-apple);
}

.feature-card:hover .feature-icon {
    color: var(--bg-primary);
    background: var(--text-white);
    border-color: var(--text-white);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.feature-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Happy Playdates Grid (Niche Validation Social Proof) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-card {
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: var(--transition-apple);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-apple);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px 20px;
    background: linear-gradient(to top, rgba(2, 1, 4, 0.95) 0%, rgba(2, 1, 4, 0.3) 70%, transparent 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-apple);
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-card-text {
    font-size: 13px;
    color: var(--text-gray);
}

/* Interactive FAQ Accordion */
.faq-area {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-apple);
}

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

.faq-header {
    width: 100%;
    padding: 24px 32px;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-white);
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 600;
}

.faq-icon {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-white);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-text {
    padding: 0 32px 24px;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Call to Action Banner */
.download-banner {
    padding: 120px 10%;
    text-align: center;
}

.banner-content {
    max-width: 650px;
    margin: 0 auto;
}

.banner-title {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.banner-desc {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 45px;
}

.app-stores {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition-apple);
}

.store-btn:hover {
    background: var(--text-white);
    color: var(--bg-primary);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.store-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Match Celebration Popup Modal */
.web-match-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 1, 4, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.web-match-popup.active {
    opacity: 1;
    pointer-events: auto;
}

.web-match-content {
    background: #090510;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    width: 90%;
    max-width: 420px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8),
                0 0 50px rgba(0, 229, 255, 0.05);
    transform: scale(0.9);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.web-match-popup.active .web-match-content {
    transform: scale(1);
}

.popup-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-portraits {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.portrait {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,229,255,0.15);
}

.portrait-user {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(255,64,129,0.15);
}

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

.popup-desc {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.popup-close {
    background: var(--text-white);
    color: var(--bg-primary);
    padding: 12px 36px;
    border-radius: 30px;
    font-family: var(--font-outfit);
    font-weight: 700;
    border: 1px solid var(--text-white);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-apple);
}

.popup-close:hover {
    background: transparent;
    color: var(--text-white);
    transform: scale(1.03);
}

/* Footer Section */
footer {
    padding: 80px 10% 40px;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-col h4 {
    font-family: var(--font-outfit);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
    margin-bottom: 8px;
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 30px;
}

/* Language Selector & Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2px;
    border-radius: 20px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 16px;
    font-family: var(--font-outfit);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-apple);
}

.lang-btn.active {
    background: var(--text-white);
    color: var(--bg-primary);
}

.lang-btn:hover:not(.active) {
    color: var(--text-white);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-apple);
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Global Mission Section */
.mission-section {
    padding: 140px 10%;
    background-color: var(--bg-primary);
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.orb-mission {
    bottom: -200px;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 64, 251, 0.06) 0%, transparent 70%);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    z-index: 1;
    position: relative;
}

.mission-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    transition: var(--transition-apple);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    pointer-events: none;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(0, 229, 255, 0.05);
}

.mission-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.mission-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.mission-card-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-large, .feature-full { grid-column: span 2; }
    .map-section { flex-direction: column; text-align: center; gap: 40px; }
    .map-card-wrapper { justify-content: center; width: 100%; }
}

@media (max-width: 768px) {
    section {
        padding: 100px 8%;
    }
    
    header {
        padding: 15px 6%;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    header .btn-primary {
        padding: 8px 18px !important;
        font-size: 12px !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(2, 1, 4, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        gap: 30px;
        z-index: 99;
        padding: 0;
    }
    
    .nav-links.active li {
        width: auto;
        text-align: center;
    }
    
    .nav-links.active a {
        font-size: 22px;
        color: var(--text-white);
        font-family: var(--font-outfit);
        font-weight: 700;
    }
    
    .hero {
        flex-direction: column;
        padding-top: 140px;
        text-align: center;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-large, .feature-medium, .feature-full {
        grid-column: span 1;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-card-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .map-detail-panel {
        width: 100%;
        max-width: 320px;
    }
    
    .map-container {
        width: 100%;
        max-width: 320px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 5%;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-img {
        height: 28px;
    }
    
    header .btn-primary {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }
    
    .lang-selector {
        gap: 2px;
        padding: 1px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .tinder-simulator {
        width: 100%;
        max-width: 310px;
        height: 480px;
    }
}

/* Footer Social Links */
.social-links-footer {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-links-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition-apple);
    text-decoration: none;
}

.social-links-footer a svg {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-links-footer a:hover {
    color: var(--text-white);
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
}

.social-links-footer a:hover svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .social-links-footer {
        justify-content: center;
        margin-top: 15px;
    }
}
