/* ============================================
   iBoys V2 Beta Landing Page
   ============================================ */

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

:root {
    --bg: #0a0a0f;
    --bg-card: rgba(20, 20, 30, 0.6);
    --bg-input: rgba(30, 30, 45, 0.8);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --text-dim: #6a6a7a;
    --primary: #ff2d55;
    --primary-hover: #ff4870;
    --accent: #ff006e;
    --gradient: linear-gradient(135deg, #ff006e 0%, #ff2d55 50%, #ff4870 100%);
    --shadow-primary: 0 20px 60px -15px rgba(255, 45, 85, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero {
    flex: 1;
}

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

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

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(255, 45, 85, 0.1) 0%, transparent 50%);
    z-index: -3;
    pointer-events: none;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.6), transparent);
    top: -250px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.5), transparent);
    top: 30%;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.3), transparent);
    bottom: -300px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
}

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

.header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    backdrop-filter: blur(20px);
}

.nav-link {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 16px -4px rgba(255, 45, 85, 0.5);
}

/* Mobile Nav Toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Pages */
.page {
    display: none;
    animation: pageIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.page.active {
    display: block;
}

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

/* Page intro */
.page-intro {
    text-align: center;
    margin-bottom: 56px;
    padding-top: 40px;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 45, 85, 0.1);
    border: 1px solid rgba(255, 45, 85, 0.3);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 20px;
}

.page-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hover);
    border-radius: 100px;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
}

.logo-i {
    color: var(--primary);
    font-style: italic;
}

.logo-boys {
    color: var(--text);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 45, 85, 0.1);
    border: 1px solid rgba(255, 45, 85, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

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

.hero {
    padding: 60px 0;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.hero-title {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.hero-title .gradient-text {
    display: inline-block;
    transform: translateZ(40px);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-subtitle-text {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-muted);
    display: inline-block;
    margin-top: 16px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--text);
    font-weight: 700;
}

/* ============================================
   Hero CTA Button
   ============================================ */

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--gradient);
    border: none;
    border-radius: 100px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
    margin-top: 16px;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 70px -15px rgba(255, 45, 85, 0.7);
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta svg {
    transition: transform 0.3s ease;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ============================================
   Signup Section
   ============================================ */

.signup-section {
    margin-top: 140px;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.signup-card {
    max-width: 600px;
    width: 100%;
    padding: 56px 48px;
    background: linear-gradient(145deg, rgba(30, 30, 45, 0.8), rgba(20, 20, 30, 0.8));
    border: 1px solid var(--border-hover);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: rotateSlow 20s linear infinite;
}

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

.signup-card > * {
    position: relative;
    z-index: 1;
}

.signup-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 45, 85, 0.1);
    border: 1px solid rgba(255, 45, 85, 0.3);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 24px;
}

.signup-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.signup-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Signup Form
   ============================================ */

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto 20px;
}

.form-group {
    position: relative;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.label-hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a2e;
    color: var(--text);
    padding: 12px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(30, 30, 45, 1);
    box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.1);
}

/* Checkbox */
.form-checkbox {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-hover);
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-mark {
    background: var(--gradient);
    border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-mark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus ~ .checkbox-mark {
    box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.1);
}

.checkbox-label:hover .checkbox-mark {
    border-color: var(--primary);
}

.checkbox-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    background: var(--gradient);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 70px -15px rgba(255, 45, 85, 0.7);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit svg {
    transition: transform 0.2s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
}

/* ============================================
   Showcase Section (iPhone Mockup)
   ============================================ */

.showcase {
    margin-top: 140px;
    padding: 0 0 40px;
}

.showcase-header {
    text-align: center;
    margin-bottom: 48px;
}

.showcase-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.showcase-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Feature Tabs */
.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 64px;
    padding: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    backdrop-filter: blur(20px);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.feature-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.feature-tab.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 24px -6px rgba(255, 45, 85, 0.5);
}

.tab-icon {
    font-size: 18px;
}

.tab-label {
    font-weight: 700;
}

/* Showcase Content */
.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* iPhone Mockup */
.phone-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    perspective: 1500px;
    perspective-origin: center center;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(255, 45, 85, 0.4) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

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

.phone-mockup {
    position: relative;
    width: 300px;
    height: 620px;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 48px;
    padding: 14px;
    box-shadow:
        0 0 0 2px #333,
        0 0 0 4px #1a1a1a,
        0 40px 80px -20px rgba(0, 0, 0, 0.8),
        0 20px 40px -10px rgba(255, 45, 85, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    z-index: 2;
    transform-style: preserve-3d;
    transform:
        rotateX(var(--tilt-x, 0deg))
        rotateY(var(--tilt-y, -8deg))
        translateZ(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, -8deg)) translateY(0) translateZ(0); }
    50% { transform: rotateX(var(--tilt-x, 2deg)) rotateY(var(--tilt-y, -6deg)) translateY(-12px) translateZ(0); }
}

.phone-wrapper.tilting .phone-mockup {
    animation: none;
    transition: transform 0.2s ease-out;
}

.phone-mockup > * {
    transform: translateZ(20px);
}

.phone-notch {
    transform: translateZ(30px) translateX(-50%);
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 18px 18px;
    z-index: 20;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* New version is clipped via width */
.slider-new {
    width: 50%;
    border-right: 2px solid var(--primary);
    box-shadow: 2px 0 20px rgba(255, 45, 85, 0.5);
}

/* Placeholder for when no image is loaded */
.slider-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    background: linear-gradient(145deg, #1e1e2e, #0a0a15);
}

.slider-old .slider-placeholder {
    background: linear-gradient(145deg, #2a2a3a, #1a1a25);
}

.slider-new .slider-placeholder {
    background: linear-gradient(145deg, #ff006e, #ff2d55);
}

.placeholder-icon {
    font-size: 48px;
    opacity: 0.9;
}

.placeholder-text {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.placeholder-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.slider-img img[src=""],
.slider-img img:not([src]) {
    display: none;
}

.slider-img img[src]:not([src=""]) ~ .slider-placeholder {
    display: none;
}

/* Slider Labels */
.slider-label {
    position: absolute;
    top: 60px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-label-old {
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-label-new {
    left: 16px;
    background: rgba(255, 45, 85, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Slider Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 15;
    cursor: ew-resize;
}

.slider-handle-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.slider-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

.slider-handle:hover .slider-handle-circle {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-container.dragging .slider-handle-circle {
    transform: translate(-50%, -50%) scale(1.15);
}

/* Showcase Info */
.showcase-info {
    padding: 0 20px;
}

.showcase-info-content {
    animation: fadeInUp 0.5s ease;
}

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

.showcase-info-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.showcase-info-content h3 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.showcase-info-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.showcase-info-content p strong {
    color: var(--text);
    font-weight: 700;
}

.showcase-list {
    list-style: none;
    padding: 0;
}

.showcase-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    color: var(--text);
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.showcase-list li:last-child {
    border-bottom: none;
}

.showcase-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.2;
}

.showcase-list li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: translateY(-70%) rotate(-45deg);
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    margin-top: 60px;
    padding: 0 20px;
}

/* Section Heading */
.section-heading {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 100px auto 48px;
    line-height: 1.1;
}

/* Story Section */
.story-section {
    margin-top: 40px;
    padding: 0 20px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.story-card {
    padding: 48px 40px;
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.7), rgba(15, 15, 25, 0.8));
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.story-text h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.story-text p:last-child {
    margin-bottom: 0;
}

.story-text p strong {
    color: var(--text);
    font-weight: 700;
}

.story-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.story-stat {
    padding: 32px 20px;
    background: linear-gradient(145deg, rgba(255, 45, 85, 0.08), rgba(15, 15, 25, 0.8));
    border: 1px solid rgba(255, 45, 85, 0.2);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.story-stat:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(255, 45, 85, 0.15), rgba(25, 25, 40, 0.8));
}

.story-stat-value {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

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

/* Timeline */
.timeline-section {
    padding: 0 20px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, var(--border), rgba(255, 45, 85, 0.6), var(--border));
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 84px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    border-color: var(--primary);
    background: rgba(255, 45, 85, 0.1);
    color: var(--primary);
}

.timeline-highlight .timeline-marker {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px -6px rgba(255, 45, 85, 0.5);
}

.timeline-content {
    flex: 1;
    padding: 16px 24px;
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.5), rgba(15, 15, 25, 0.5));
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.timeline-highlight .timeline-content {
    border-color: rgba(255, 45, 85, 0.4);
    background: linear-gradient(145deg, rgba(255, 45, 85, 0.1), rgba(15, 15, 25, 0.7));
}

.timeline-content h4 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1200px;
}

.feature {
    position: relative;
    padding: 40px 32px 32px;
    background: linear-gradient(145deg, rgba(25, 25, 40, 0.6), rgba(10, 10, 20, 0.8));
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.feature[data-number]::before {
    content: attr(data-number);
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.15), rgba(255, 0, 110, 0.05));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    z-index: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.feature:hover[data-number]::before {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.3), rgba(255, 0, 110, 0.15));
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.05) translateY(-2px);
}

.feature-icon-wrapper,
.feature-body,
.feature-stat {
    transform: translateZ(30px);
    position: relative;
    z-index: 1;
}

.feature-body {
    flex: 1;
    margin-bottom: 20px;
}

.feature-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    transition: border-color 0.4s ease;
}

.feature:hover .feature-stat {
    border-top-color: rgba(255, 45, 85, 0.3);
}

.feature-stat .stat-value {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

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

.feature::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255, 45, 85, 0.4), transparent, rgba(255, 0, 110, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 45, 85, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.feature:hover {
    transform: translateY(-6px);
    background: linear-gradient(145deg, rgba(35, 25, 45, 0.8), rgba(20, 15, 30, 0.8));
    box-shadow:
        0 20px 40px -15px rgba(0, 0, 0, 0.5),
        0 10px 30px -10px rgba(255, 45, 85, 0.3);
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover::after {
    opacity: 1;
}

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.15), rgba(255, 0, 110, 0.05));
    border: 1px solid rgba(255, 45, 85, 0.3);
    border-radius: 18px;
    color: var(--primary);
    transition: all 0.4s ease;
    position: relative;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-icon-wrapper svg {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.feature:hover .feature-icon-wrapper {
    color: white;
    border-color: transparent;
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 10px 30px -5px rgba(255, 45, 85, 0.5);
}

.feature:hover .feature-icon-wrapper::before {
    opacity: 1;
}

.feature:hover .feature-icon-wrapper svg {
    transform: scale(1.1);
}

.feature h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.01em;
}

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

.feature p strong {
    color: var(--text);
    font-weight: 700;
}

/* ============================================
   Stats
   ============================================ */

.stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: 120px auto 0;
    max-width: 800px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

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

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
}

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

.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
    margin-top: 80px;
    background: #000;
    position: relative;
    z-index: 5;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 900;
}

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

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

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

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
    width: 100%;
    text-align: center;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ============================================
   Success Modal
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(145deg, rgba(30, 30, 45, 0.95), rgba(20, 20, 30, 0.95));
    border: 1px solid var(--border-hover);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(20px);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 45, 85, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary);
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        padding: 32px 28px;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-marker {
        width: 60px;
        font-size: 11px;
    }

    .timeline-item {
        gap: 20px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        flex-direction: column;
        padding: 12px;
        border-radius: 20px;
        background: rgba(15, 15, 25, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .badge {
        display: none;
    }

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

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-info {
        text-align: center;
        padding: 0;
    }

    .showcase-list {
        max-width: 400px;
        margin: 0 auto;
        text-align: left;
    }

    .feature-tabs {
        max-width: 100%;
        border-radius: 24px;
    }

    .feature-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0 80px;
    }

    .showcase {
        margin-top: 80px;
    }

    .phone-mockup {
        width: 260px;
        height: 540px;
    }

    .phone-wrapper {
        padding: 20px;
    }

    .feature-tab .tab-label {
        display: none;
    }

    .feature-tab {
        padding: 12px;
    }

    .tab-icon {
        font-size: 20px;
    }

    .features-section {
        margin-top: 80px;
    }

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

    .feature {
        padding: 32px 24px;
    }

    .stats {
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
        margin-top: 80px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

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

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}
