/* ==================== DESIGN SYSTEM & TOKENS ==================== */
:root {
    /* Colors */
    --bg-main: #060608;
    --bg-surface: #0e0e12;
    --bg-surface-elevated: #16161f;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 123, 144, 0.2);
    
    --text-primary: #f5f5f7;
    --text-secondary: #9494a3;
    --text-muted: #5c5c6d;
    
    --primary-grad: linear-gradient(135deg, #ff7b90 0%, #ffae76 50%, #ffd085 100%);
    --primary-color: #ff7b90;
    --accent-color: #ffae76;
    --accent-glow: rgba(255, 123, 144, 0.45);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    position: relative;
}

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

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

button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ==================== UTILITIES ==================== */
.gradient-text {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 40px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    font-size: 0.95rem;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-grad);
    color: #060608;
    box-shadow: 0 4px 20px rgba(255, 123, 144, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(255, 123, 144, 0.4);
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-download {
    background: #ffffff;
    color: #000000;
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-download-small {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.btn-download-large {
    font-size: 1.05rem;
    font-weight: 700;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background-color var(--transition-normal), border-color var(--transition-normal), backdrop-filter var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(6, 6, 8, 0.75);
    backdrop-filter: blur(20px);
    border-color: var(--border-color);
}

.nav-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-cta-link {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    border: 1px solid rgba(255, 123, 144, 0.3);
    padding: 8px 18px;
    border-radius: 20px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.nav-cta-link:hover {
    border-color: rgba(255, 123, 144, 0.8);
    background: rgba(255, 123, 144, 0.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    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: 60px 60px;
    background-position: center top;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    right: 10%;
}

.hero-glow-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: 20%;
    left: 5%;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-title-gradient {
    display: block;
    font-style: italic;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

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

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 290px;
    height: 590px;
}

.phone-frame {
    position: absolute;
    inset: 0;
    border-radius: 40px;
    border: 10px solid #1a1a24;
    background-color: #0c0c10;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    overflow: hidden;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* ==================== COMMON SECTION HEADERS ==================== */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.5;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 120px 0;
    position: relative;
}

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

.feature-card {
    background: rgba(14, 14, 18, 0.4);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 123, 144, 0.2);
    box-shadow: 0 15px 35px -10px rgba(255, 123, 144, 0.05);
}

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

.feature-card:hover .feature-icon {
    background: rgba(255, 123, 144, 0.05);
    border-color: rgba(255, 123, 144, 0.25);
    color: var(--primary-color);
}

.feature-icon-accent {
    color: var(--accent-color);
}

.feature-card:hover .feature-icon-accent {
    color: var(--accent-color);
    background: rgba(255, 174, 118, 0.05);
    border-color: rgba(255, 174, 118, 0.25);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    padding: 120px 0;
    background-color: rgba(6, 6, 8, 0.3);
    position: relative;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.step-reverse {
    direction: rtl;
}

.step-reverse .step-content {
    direction: ltr;
}

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

.step-phone {
    width: 260px;
    height: 560px;
    border-radius: 38px;
    border: 10px solid #1c1c24;
    background-color: #000000;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 2;
    position: relative;
}

.step-screen {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000000;
}

.step-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0.9;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.step-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    max-width: 440px;
}

/* ==================== PREVIEW SECTION ==================== */
.preview {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.preview-showcase {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.preview-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    padding: 24px;
    max-width: 900px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.preview-image {
    border-radius: var(--radius-lg);
    width: 100%;
}

.preview-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 75%);
    opacity: 0.3;
    z-index: -1;
}

/* ==================== DOWNLOAD SECTION ==================== */
.download {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.download-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.25;
    z-index: 1;
}

.download-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.download-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 480px;
}

/* ==================== FOOTER ==================== */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: #040406;
    padding: 80px 0 40px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 240px;
    line-height: 1.5;
}

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

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: rgba(22, 22, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2000;
    transform: translateY(120px) scale(0.9);
    opacity: 0;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    pointer-events: none;
    max-width: 360px;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 123, 144, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.toast-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.toast-message {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.3;
}

/* ==================== RESPONSIVE LAYOUTS ==================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: rgba(6, 6, 8, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding-bottom: 80px;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform var(--transition-normal), opacity var(--transition-normal);
        pointer-events: none;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-top: 20px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        margin-inline: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .step-reverse {
        direction: ltr;
    }
    
    .step-content {
        align-items: center;
    }
    
    .step-desc {
        margin-inline: auto;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .download-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* ==================== DOUBLE PHONE LAYOUT & COMMUNITY GRID ==================== */
.step-visual-double {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 580px;
}

.step-visual-double .step-phone {
    position: absolute;
    transition: transform var(--transition-normal), opacity var(--transition-normal), box-shadow var(--transition-normal);
}

.step-phone-1 {
    transform: translateX(-45px) translateY(-20px) rotate(-5deg);
    z-index: 3;
}

.step-phone-2 {
    transform: translateX(45px) translateY(20px) rotate(5deg);
    z-index: 2;
    opacity: 0.9;
}

.step-phone-1:hover {
    transform: translateX(-55px) translateY(-30px) rotate(-2deg) scale(1.03);
    z-index: 4;
    box-shadow: 0 30px 60px rgba(255, 123, 144, 0.2);
}

.step-phone-2:hover {
    transform: translateX(55px) translateY(10px) rotate(2deg) scale(1.03);
    z-index: 4;
    opacity: 1;
    box-shadow: 0 30px 60px rgba(255, 174, 118, 0.2);
}

/* Community Grid Section */
.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
}

.community-phone {
    width: 100%;
    aspect-ratio: 9 / 20;
    border-radius: 28px;
    border: 8px solid #1c1c24;
    background-color: #000000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.community-phone:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 123, 144, 0.3);
    box-shadow: 0 22px 45px rgba(255, 123, 144, 0.15);
}

.community-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000000;
}

/* Responsive updates for new structures */
@media (max-width: 1024px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .step-visual-double {
        min-height: 520px;
    }
}

@media (max-width: 480px) {
    .step-visual-double {
        min-height: 420px;
    }
    .step-visual-double .step-phone {
        width: 180px;
        height: 380px;
        border-radius: 24px;
        border-width: 6px;
    }
    .step-phone-1 {
        transform: translateX(-25px) translateY(-10px) rotate(-4deg);
    }
    .step-phone-2 {
        transform: translateX(25px) translateY(10px) rotate(4deg);
    }
    .community-grid {
        grid-template-columns: 1fr;
        max-width: 260px;
        margin-inline: auto;
    }
}

/* ==================== HERO SHOWCASE ==================== */
.hero-showcase {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 440px;
    margin: 0 auto;
    display: block;
}

.showcase-item {
    position: absolute;
    width: 200px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.12);
    background: #0d0d12;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), z-index var(--transition-normal);
}

.showcase-garment-1 {
    left: 0;
    top: 25px;
    transform: rotate(-5deg);
    z-index: 1;
}

.showcase-garment-2 {
    left: 140px;
    top: 40px;
    transform: rotate(-2deg);
    z-index: 2;
}

.showcase-model {
    left: 280px;
    top: 20px;
    transform: rotate(2deg);
    z-index: 3;
}

.showcase-result {
    left: 420px;
    top: 10px;
    transform: rotate(5deg) scale(1.05);
    z-index: 4;
    border-color: var(--primary-color);
    box-shadow: 0 20px 45px rgba(255, 123, 144, 0.3);
}

/* Hover effects to make them pop and show details */
.showcase-item:hover {
    z-index: 10 !important;
    transform: scale(1.15) translateY(-25px) rotate(0deg) !important;
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(255, 123, 144, 0.4);
}

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

.showcase-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6, 6, 8, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}



/* Adjust layout on desktop media queries to align with the wider showcase element */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-subtitle {
        margin-inline: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .hero-showcase {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        height: auto;
        max-width: 360px;
        padding: 0 10px;
    }
    .showcase-item {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
        transform: none !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
        border-width: 2px;
    }
    .showcase-item:hover {
        transform: scale(1.05) !important;
    }
}


