/* ===== CSS Variables ===== */
:root {
    /* Brand Colors */
    --primary: #FF6B35;
    --primary-dark: #E85A2A;
    --primary-light: #FF8F66;
    --secondary: #004E64;
    --secondary-light: #006680;
    
    /* Semantic Colors */
    --success: #2ECC71;
    --warning: #F39C12;
    --error: #E74C3C;
    
    /* Neutrals */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Background */
    --bg-primary: #FFFBF8;
    --bg-secondary: #FFF5EF;
    --bg-card: #FFFFFF;
    
    /* Typography */
    --font-display: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--gray-600);
}

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

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== Components ===== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-ghost:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.btn-small {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-secondary);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.section-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-secondary);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header p {
    font-size: 1.125rem;
    margin-top: var(--space-md);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 248, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition-normal);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: var(--space-lg);
    flex-direction: column;
    gap: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: var(--space-md);
    font-weight: 500;
    border-radius: var(--radius-md);
}

.mobile-menu a:hover {
    background: var(--bg-secondary);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 53, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 78, 100, 0.08), transparent);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--gray-200) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-text h1 {
    margin: var(--space-lg) 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    padding: var(--space-lg);
}

.app-header {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.host-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.host-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.host-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.host-name {
    font-weight: 600;
    color: var(--gray-900);
}

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

.host-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    font-size: 0.875rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card .emoji {
    font-size: 1.25rem;
}

.card-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -5%;
    animation-delay: 3s;
}

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

/* ===== Problem Section ===== */
.problem {
    padding: var(--space-4xl) 0;
    background: var(--gray-900);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.problem-card {
    padding: var(--space-xl);
    background: var(--gray-800);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-700);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.problem-card h3 {
    color: white;
    margin-bottom: var(--space-sm);
}

.problem-card p {
    color: var(--gray-400);
}

/* ===== Solution Section ===== */
.solution {
    padding: var(--space-4xl) 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.solution-card {
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
}

.solution-card h3 {
    margin-bottom: var(--space-sm);
}

/* ===== How it Works ===== */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    padding: var(--space-lg);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.step-content h3 {
    margin-bottom: var(--space-sm);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-300);
    margin-top: 43px;
}

/* ===== For Hosts ===== */
.for-hosts {
    padding: var(--space-4xl) 0;
}

.hosts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hosts-text h2 {
    margin: var(--space-md) 0;
}

.hosts-text > p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.hosts-benefits {
    margin-bottom: var(--space-xl);
}

.hosts-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-100);
}

.hosts-benefits .check {
    color: var(--success);
    font-weight: 700;
    font-size: 1.125rem;
}

.hosts-visual {
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

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

.author-name {
    font-weight: 600;
    color: var(--gray-900);
}

.author-detail {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.community-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.community-emoji {
    display: block;
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.community-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ===== Safety Section ===== */
.safety {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.safety-card {
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--gray-100);
}

.safety-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.safety-card h3 {
    margin-bottom: var(--space-sm);
}

/* ===== Community Highlight Section ===== */
.community-highlight {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.community-content {
    max-width: 900px;
    margin: 0 auto;
}

.community-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.community-header h2 {
    margin-bottom: var(--space-md);
}

.community-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.community-feature {
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.community-feature h3 {
    margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
    .community-features {
        grid-template-columns: 1fr;
    }
}

/* ===== Download Section ===== */
.download {
    padding: var(--space-4xl) 0;
    background: var(--gray-900);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
    align-items: center;
}

.download-text h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.download-text > p {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.download-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: white;
    color: var(--gray-900);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.store-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.store-name {
    font-weight: 600;
    font-size: 1.125rem;
}

.download-note {
    margin-top: var(--space-lg);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.qr-code {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.qr-placeholder span:first-child {
    font-size: 2rem;
}

/* ===== Footer ===== */
.footer {
    padding: var(--space-4xl) 0 var(--space-xl);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand p {
    margin: var(--space-lg) 0;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-200);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: var(--space-lg);
}

.footer-links a {
    display: block;
    padding: var(--space-sm) 0;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hosts-content {
        grid-template-columns: 1fr;
    }
    
    .hosts-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .earnings-card {
        right: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .safety-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-cell {
        justify-content: center;
        text-align: center;
    }
    
    .pricing-cell.label {
        background: var(--gray-50);
        font-weight: 600;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .qr-code {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(70px + var(--space-2xl));
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }
    
    .stat-divider {
        display: none;
    }
    
    .store-button {
        flex: 1;
        justify-content: center;
    }
}

