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

:root {
    --bg-dark: #070412;
    --bg-card: rgba(18, 11, 38, 0.65);
    --bg-card-hover: rgba(26, 16, 54, 0.88);
    --border-purple: rgba(168, 85, 247, 0.18);
    --border-pink: rgba(226, 30, 122, 0.22);
    --border-light: rgba(255, 255, 255, 0.08);
    
    --primary: #E21E7A;
    --primary-hover: #F43F5E;
    --primary-glow: rgba(226, 30, 122, 0.4);
    --purple-accent: #A855F7;
    --purple-glow: rgba(168, 85, 247, 0.3);
    --cyan-accent: #06B6D4;
    --cyan-glow: rgba(6, 182, 212, 0.3);
    --orange-accent: #F97316;
    --emerald-accent: #10B981;
    
    --text-main: #FFFFFF;
    --text-muted: #B8B8DB;
    --text-dim: #7979A0;
    
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-blur: blur(24px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Lights & Mesh */
.ambient-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}

.glow-top-right {
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(226, 30, 122, 0.16) 0%, rgba(168, 85, 247, 0.08) 50%, rgba(0, 0, 0, 0) 100%);
}

.glow-center-left {
    top: 35%;
    left: -220px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(6, 182, 212, 0.05) 60%, rgba(0, 0, 0, 0) 100%);
}

.glow-bottom-right {
    bottom: 5%;
    right: -150px;
    background: radial-gradient(circle, rgba(226, 30, 122, 0.14) 0%, rgba(168, 85, 247, 0.06) 60%, rgba(0, 0, 0, 0) 100%);
}

.glow-radar-pulse {
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.04) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 4, 18, 0.84);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-header);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px var(--primary-glow));
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--purple-accent));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch-wrapper {
    position: relative;
}

.lang-switch {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

.lang-switch:hover, .lang-switch:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-purple);
}

.lang-switch option {
    background-color: #120A2B;
    color: #FFFFFF;
}

.btn-nav-download {
    background: linear-gradient(135deg, var(--primary) 0%, #D91B6E 100%);
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 18px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-nav-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--primary-glow);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 140px 28px 60px 28px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(226, 30, 122, 0.1);
    border: 1px solid rgba(226, 30, 122, 0.28);
    padding: 8px 18px;
    border-radius: 9999px;
    color: #FFA4CD;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 0 16px rgba(226, 30, 122, 0.18);
}

.pill-icon {
    color: var(--primary);
    font-size: 14px;
}

.hero h1 {
    font-family: var(--font-header);
    font-size: 58px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.hero h1 span {
    background: linear-gradient(135deg, #FF7DB3 0%, #E21E7A 40%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtext {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.btn-primary {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #C41666 100%);
    color: #FFFFFF;
    padding: 16px 34px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 28px var(--primary-glow);
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    animation: shimmerPass 4s infinite ease-in-out;
}

@keyframes shimmerPass {
    0%, 75% { left: -60%; }
    100% { left: 140%; }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px var(--primary-glow);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-purple);
    transform: translateY(-3px);
}

.store-badges {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.store-badge-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(18, 11, 38, 0.7);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.store-badge-card:hover {
    background: rgba(28, 18, 58, 0.9);
    border-color: var(--border-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(226, 30, 122, 0.2);
}

.store-icon {
    font-size: 26px;
    color: var(--text-main);
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-small {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-bold {
    font-size: 15px;
    font-weight: 700;
}

/* Hero Right Mockup */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-frame {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.85));
    animation: floatingMockup 6s ease-in-out infinite;
}

.phone-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
}

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

.floating-glass-card {
    position: absolute;
    background: rgba(18, 10, 42, 0.82);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-purple);
    border-radius: 16px;
    padding: 14px 18px;
    z-index: 4;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.15);
    transition: var(--transition-smooth);
}

.card-match {
    top: 6%;
    left: -12%;
    width: 230px;
    animation: floatCardOne 5s ease-in-out infinite alternate;
}

.card-radar {
    bottom: 22%;
    right: -10%;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 250px;
    border-color: var(--border-pink);
    animation: floatCardTwo 6s ease-in-out infinite alternate;
}

.card-session {
    bottom: 4%;
    left: -8%;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 260px;
    border-color: rgba(6, 182, 212, 0.3);
    animation: floatCardThree 7s ease-in-out infinite alternate;
}

@keyframes floatCardOne {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

@keyframes floatCardTwo {
    0% { transform: translateY(0px); }
    100% { transform: translateY(12px); }
}

@keyframes floatCardThree {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.glass-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
}

.pulse-pink {
    box-shadow: 0 0 0 0 rgba(226, 30, 122, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(226, 30, 122, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(226, 30, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 30, 122, 0); }
}

.glass-card-title {
    font-size: 12px;
    font-weight: 700;
    color: #FFA4CD;
}

.glass-card-mbti {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.match-bars { width: 100%; }

.match-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.match-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--purple-accent));
}

.bar-fill-94 { width: 94%; }

.radar-ping-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(226, 30, 122, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.radar-tag, .session-tag {
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.35;
}

.session-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(6, 182, 212, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-accent);
    font-size: 16px;
    flex-shrink: 0;
}

/* Trust / Metrics Bar */
.metrics-section {
    max-width: 1280px;
    margin: 0 auto 80px auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.metrics-container {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 28px 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.metric-value {
    font-family: var(--font-header);
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFA4CD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.metric-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Section Common Headings */
.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-badge {
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #D8B4FE;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 9999px;
    width: fit-content;
}

.section-heading h2 {
    font-family: var(--font-header);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.section-subtext {
    font-size: 17px;
    color: var(--text-muted);
}

/* Bento Grid Showcase Section */
.bento-section {
    max-width: 1280px;
    margin: 60px auto 100px auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-purple);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.16);
}

.bento-col-1 { grid-column: span 1; }
.bento-col-2 { grid-column: span 2; }
.bento-col-3 { grid-column: span 3; }

.bento-tag-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--purple-accent);
    margin-bottom: 8px;
}

.badge-pink { color: var(--primary); }
.badge-cyan { color: var(--cyan-accent); }
.badge-orange { color: var(--orange-accent); }
.badge-emerald { color: var(--emerald-accent); }

.bento-card h3 {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.bento-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.bento-pills-row {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.bento-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: #E2E8F0;
}

/* Bento 1: Matrix UI */
.matrix-ui-card {
    background: rgba(10, 6, 24, 0.85);
    border: 1px solid var(--border-purple);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.matrix-ui-row {
    display: grid;
    grid-template-columns: 110px 1fr 40px;
    align-items: center;
    gap: 12px;
}

.matrix-trait-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.matrix-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.matrix-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--purple-accent));
}

.bar-78 { width: 78%; }
.bar-92 { width: 92%; }
.bar-85 { width: 85%; }
.bar-88 { width: 88%; }

.matrix-val {
    font-size: 12px;
    font-weight: 700;
    color: #FFA4CD;
    text-align: right;
}

/* Bento 2: Concentric Radar */
.bento-visual-radar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.radar-concentric-container {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(226, 30, 122, 0.3);
}

.ring-1 { width: 60px; height: 60px; }
.ring-2 { width: 110px; height: 110px; }
.ring-3 { width: 160px; height: 160px; }

.radar-center-blip {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
}

.radar-sweep-beam {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 0;
    left: 80px;
    transform-origin: bottom left;
    background: linear-gradient(45deg, rgba(226, 30, 122, 0.4) 0%, rgba(226, 30, 122, 0) 70%);
    animation: radarSpin 4s linear infinite;
    border-radius: 100% 0 0 0;
}

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

.radar-user-pin {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    overflow: hidden;
    box-shadow: 0 0 12px var(--primary-glow);
}

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

.pin-1 { top: 20px; left: 15px; }
.pin-2 { bottom: 25px; right: 20px; }

.radar-status-badge {
    background: rgba(226, 30, 122, 0.12);
    border: 1px solid rgba(226, 30, 122, 0.3);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: #FFA4CD;
    display: flex;
    align-items: center;
    gap: 8px;
}

.radar-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

/* Bento 3: AI Live Audio Wave */
.bento-visual-ai {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.ai-audio-wave-container {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 60px;
}

.wave-bar {
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--cyan-accent), var(--purple-accent));
    animation: waveBounce 1.4s ease-in-out infinite alternate;
}

.wb-1 { height: 20px; animation-delay: 0.1s; }
.wb-2 { height: 45px; animation-delay: 0.3s; }
.wb-3 { height: 58px; animation-delay: 0.2s; }
.wb-4 { height: 35px; animation-delay: 0.5s; }
.wb-5 { height: 50px; animation-delay: 0.4s; }
.wb-6 { height: 40px; animation-delay: 0.2s; }
.wb-7 { height: 24px; animation-delay: 0.6s; }

@keyframes waveBounce {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1); }
}

.ai-session-pill {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: #A5F3FC;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Bento 4: Community Events */
.bento-events-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.event-chip {
    background: rgba(10, 6, 24, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-chip-text {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
}

.event-chip-attendees {
    font-size: 11px;
    font-weight: 700;
    color: var(--orange-accent);
}

.community-avatars-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-avatars-row img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
    object-fit: cover;
}

.community-avatars-row img:first-child { margin-left: 0; }

.comm-more-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange-accent);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
}

/* Bento 5: Taste Vault */
.bento-content-wide { margin-bottom: 20px; }

.vault-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.vault-item-card {
    background: rgba(10, 6, 24, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-smooth);
}

.vault-item-card:hover {
    border-color: var(--emerald-accent);
    transform: translateY(-3px);
}

.vault-icon {
    font-size: 20px;
    color: var(--emerald-accent);
}

.vault-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

.vault-item-count {
    font-size: 12px;
    color: var(--text-dim);
}

/* Interactive Personality Calculator */
.showcase-section {
    max-width: 1280px;
    margin: 60px auto 100px auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.calculator-container {
    max-width: 880px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-purple);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.1);
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.calc-selectors-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.select-wrapper { position: relative; }

.custom-select {
    width: 100%;
    background: rgba(10, 6, 26, 0.8);
    border: 1px solid var(--border-purple);
    border-radius: 14px;
    padding: 14px 18px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.custom-select:hover, .custom-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(226, 30, 122, 0.25);
}

.calc-synergy-divider {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(226, 30, 122, 0.15);
    border: 1px solid var(--border-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    margin-top: 24px;
    box-shadow: 0 0 20px rgba(226, 30, 122, 0.3);
}

.calc-result-area {
    background: rgba(10, 5, 24, 0.75);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.score-radial {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple-accent) 100%);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 28px var(--primary-glow);
}

.score-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #0E0724;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-number {
    font-family: var(--font-header);
    font-size: 28px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
}

.score-caption {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-details h3 {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 700;
    color: #FFA4CD;
}

.result-details p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.traits-preview-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.trait-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trait-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trait-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.trait-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan-accent), var(--purple-accent));
    border-radius: 2px;
}

.fill-w70 { width: 70%; }
.fill-w95 { width: 95%; }
.fill-w85 { width: 85%; }
.fill-w90 { width: 90%; }
.fill-w88 { width: 88%; }

/* Social Proof & Testimonials */
.social-proof {
    max-width: 1280px;
    margin: 80px auto 100px auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.proof-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}

.avatar-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.avatar-stack img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    margin-left: -12px;
    object-fit: cover;
}

.avatar-stack img:first-child { margin-left: 0; }

.avatar-stack-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple-accent) 100%);
    border: 3px solid var(--bg-dark);
    margin-left: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
}

.proof-header h2 {
    font-family: var(--font-header);
    font-size: 40px;
    font-weight: 800;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--border-pink);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.quote-icon {
    font-size: 22px;
    color: var(--primary);
    opacity: 0.8;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.65;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.user-profile img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-purple);
}

.user-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

.user-info span {
    font-size: 12px;
    color: var(--text-dim);
}

/* FAQ Accordion Section */
.faq-section {
    max-width: 920px;
    margin: 80px auto 100px auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--border-purple);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    gap: 16px;
}

.faq-icon {
    font-size: 14px;
    color: var(--purple-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 22px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Download CTA Section */
.download-cta {
    max-width: 1280px;
    margin: 40px auto 100px auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.download-cta-section {
    background: linear-gradient(135deg, rgba(30, 14, 60, 0.85) 0%, rgba(16, 7, 36, 0.95) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-pink);
    border-radius: 32px;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(226, 30, 122, 0.2);
}

.cta-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-left h2 {
    font-family: var(--font-header);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.cta-subtext {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
}

.cta-store-row { margin-top: 12px; }

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

.qr-container {
    display: flex;
    gap: 20px;
}

.qr-card {
    background: rgba(10, 5, 24, 0.8);
    border: 1px solid var(--border-purple);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #FFFFFF;
    transition: var(--transition-smooth);
}

.qr-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(226, 30, 122, 0.3);
}

.qr-wrapper {
    background-color: #FFFFFF;
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-wrapper img {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.qr-card-label {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qr-info p {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* Legal & Contact Page Layouts */
.legal-container {
    max-width: 860px;
    margin: 120px auto 80px auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-family: var(--font-header);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFA4CD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-header p {
    color: var(--text-dim);
    font-size: 14px;
}

.legal-content {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-purple);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.legal-content h2 {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 700;
    margin: 28px 0 12px 0;
    color: #FFA4CD;
}

.legal-content p, .legal-content li {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Contact Page Specific Styles */
.contact-form-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-accent);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-purple);
    border-radius: 12px;
    padding: 14px 18px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
    background: rgba(255, 255, 255, 0.08);
}

.btn-contact-submit {
    align-self: flex-start;
    border: none;
    cursor: pointer;
    padding: 14px 36px;
    font-size: 15px;
    margin-top: 10px;
}

.contact-info-grid {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-card h3 {
    font-family: var(--font-header);
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 6px;
}

.contact-email-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.contact-email-link:hover { color: var(--primary-hover); }

.contact-social-icons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.contact-social-link {
    color: var(--text-muted);
    font-size: 20px;
    transition: var(--transition-smooth);
}

.contact-social-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Invite / Add-Member Page Specific Styles */
.invite-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 140px 24px 80px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.invite-card {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 32px;
    padding: 48px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.invite-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: rgba(226, 30, 122, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 36px;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.invite-card h1 {
    font-family: var(--font-header);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--text-main);
}

.invite-card h1 span {
    background: linear-gradient(135deg, #FFA4CD 0%, #E21E7A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.invite-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 440px;
}

.code-badge {
    background: rgba(168, 85, 247, 0.12);
    border: 1.5px dashed rgba(168, 85, 247, 0.4);
    color: #D8B4FE;
    padding: 12px 28px;
    border-radius: 16px;
    font-family: var(--font-header);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 32px;
    display: inline-block;
}

.qr-container-invite { margin: 32px 0 16px; }

.qr-text {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 12px;
}

.footer-spaced { margin-top: 80px; }

/* Footer */
footer {
    background: rgba(6, 3, 16, 0.95);
    border-top: 1px solid var(--border-light);
    padding: 64px 28px 36px 28px;
    position: relative;
    z-index: 1;
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto 48px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-socials {
    display: flex;
    gap: 18px;
}

.footer-socials a {
    color: var(--text-dim);
    font-size: 18px;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
    }

    .hero-left { align-items: center; }
    .hero h1 { font-size: 46px; }
    .hero-buttons { justify-content: center; }
    .store-badges { justify-content: center; }
    .hero-mockup-wrapper { margin-top: 30px; }

    .card-match { left: -4%; }
    .card-radar { right: -4%; }
    .card-session { left: -2%; }

    .metrics-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .metric-divider { display: none; }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-col-1, .bento-col-2, .bento-col-3 {
        grid-column: span 2;
    }

    .vault-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-cta-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-left { align-items: center; }
    .cta-store-row { justify-content: center; }
    .contact-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 4, 18, 0.96);
        backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }

    .hero h1 { font-size: 36px; }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .card-match, .card-radar, .card-session {
        position: static;
        width: 100%;
        margin-bottom: 12px;
        animation: none;
    }

    .hero-mockup-wrapper { flex-direction: column; }

    .metrics-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .bento-col-1, .bento-col-2, .bento-col-3 {
        grid-column: span 1;
    }

    .vault-items-grid {
        grid-template-columns: 1fr;
    }

    .matrix-ui-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .matrix-val { text-align: left; }

    .calc-selectors-row { grid-template-columns: 1fr; }
    .calc-synergy-divider { margin: 0 auto; }
    .calc-result-area {
        flex-direction: column;
        text-align: center;
    }

    .traits-preview-row { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .qr-container { flex-direction: column; }

    .faq-question {
        font-size: 15px;
        padding: 18px 20px;
    }

    .faq-answer { padding: 0 20px; }
    .faq-item.active .faq-answer { padding-bottom: 18px; }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links { justify-content: center; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
