/* 
 * Slide Social Website Styles
 * Dark Disco Theme - Deep blues, vibrant accents
 */

:root {
    /* Dark Disco Color Palette */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a2234;
    --bg-card-hover: #232d42;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --accent-glow: rgba(99, 102, 241, 0.4);
    
    --success: #22c55e;
    --warning: #f59e0b;
    
    /* Typography */
    --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 24px;
    --container-max: 1200px;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(99, 102, 241, 0.3);
    
    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px var(--accent-glow);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 10px 20px;
    background: var(--accent-gradient);
    border-radius: 50px;
    color: white !important;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 30%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2%, 2%) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-cta {
    margin-bottom: 16px;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-visual {
    display: none;
}

@media (min-width: 900px) {
    .hero {
        flex-direction: row;
        gap: 80px;
        padding: 120px 48px 80px;
    }
    
    .hero-content {
        text-align: left;
        flex: 1;
    }
    
    .hero-visual {
        display: block;
        flex: 0 0 320px;
        position: relative;
        z-index: 1;
    }
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a3a 0%, #1a1a2a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-glow), var(--shadow-card);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #000;
    border-radius: 12px;
}

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

.app-preview {
    padding: 60px 16px 16px;
}

.preview-header {
    margin-bottom: 24px;
}

.preview-title {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preview-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-subtle);
}

.preview-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 8px;
}

.preview-emoji {
    font-size: 1.25rem;
}

.preview-card-detail {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.preview-card-rsvp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rsvp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.rsvp-dot.going {
    background: var(--success);
}

.rsvp-dot.pending {
    background: var(--warning);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* Sections */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--section-padding);
}

section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-primary);
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
}

.step {
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-secondary);
}

.step-arrow {
    font-size: 2rem;
    color: var(--text-muted);
    display: none;
}

@media (min-width: 768px) {
    .step-arrow {
        display: block;
        margin-top: 20px;
    }
}

/* SMS Section */
.sms-section {
    background: var(--bg-secondary);
}

.sms-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sms-content {
        grid-template-columns: 1fr 1fr;
    }
}

.sms-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.sms-info > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.sms-features {
    list-style: none;
}

.sms-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.sms-features li:last-child {
    border-bottom: none;
}

.sms-features .check {
    color: var(--success);
    font-weight: bold;
}

.sms-privacy {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    padding: 28px;
}

.privacy-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.sms-privacy p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.link {
    color: var(--accent-primary);
    font-weight: 600;
    transition: color 0.2s;
}

.link:hover {
    color: var(--accent-secondary);
}

/* Download Section */
.download {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.3;
}

.download-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-content h2 {
    margin-bottom: 16px;
}

.download-content > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.download-note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .logo {
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: color 0.2s;
}

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

.footer-address {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-address p {
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
}

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

/* Mobile Menu (hidden for now, can add hamburger later) */
@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
}

/* Smooth Animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

