/*
Theme Name: Reunite Modern
Theme URI: https://reunite.app
Author: Reunite LLC
Description: Modern, vibrant WordPress theme for Reunite coordination app
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: reunite-modern
*/

:root {
    --orange: #FF6B35;
    --blue: #4A90E2;
    --purple: #9B59B6;
    --green: #2ECC71;
    --gradient-sunset: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --gradient-ocean: linear-gradient(135deg, #4A90E2 0%, #6CB6EE 100%);
    --gradient-purple: linear-gradient(135deg, #9B59B6 0%, #B37DCE 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gray-50: #F9FAFB;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
}

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

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.main-nav { display: flex; gap: 32px; align-items: center; }
.nav-link { color: var(--gray-700); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--orange); }

.btn-primary {
    background: var(--gradient-sunset);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.btn-primary:hover { transform: translateY(-2px); }

/* Hero */
.hero-section {
    padding: 180px 0 120px;
    background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-content { text-align: center; max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle { font-size: 22px; color: var(--gray-500); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; }

.btn-hero {
    background: var(--gradient-sunset);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-hero:hover { transform: translateY(-3px); }

.btn-hero-outline {
    background: white;
    color: var(--orange);
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--orange);
    transition: all 0.3s;
}

.btn-hero-outline:hover { background: var(--orange); color: white; }

/* Hero Cards */
.hero-visual { margin-top: 80px; position: relative; height: 400px; }
.floating-cards { position: relative; height: 100%; }

.card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    min-width: 280px;
    animation: cardFloat 6s ease-in-out infinite;
}

.card-orange { top: 20%; left: 10%; border-top: 4px solid var(--orange); }
.card-blue { top: 50%; right: 15%; animation-delay: 2s; border-top: 4px solid var(--blue); }
.card-purple { bottom: 15%; left: 35%; animation-delay: 4s; border-top: 4px solid var(--purple); }

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

.card-icon { font-size: 32px; margin-bottom: 12px; }
.card-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.card-progress { width: 100%; height: 8px; background: var(--gray-50); border-radius: 10px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--gradient-sunset); border-radius: 10px; }
.card-blue .progress-bar { background: var(--gradient-ocean); }
.card-purple .progress-bar { background: var(--gradient-purple); }

/* Features */
.features-section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 80px; }

.section-label {
    background: var(--gradient-sunset);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.section-header h2 { font-size: 56px; font-weight: 800; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.feature-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: all 0.3s;
}

.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.gradient-orange::before { background: var(--gradient-sunset); }
.gradient-blue::before { background: var(--gradient-ocean); }
.gradient-purple::before { background: var(--gradient-purple); }
.gradient-green::before { background: linear-gradient(135deg, #2ECC71 0%, #5CE09B 100%); }

.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.feature-icon { font-size: 48px; margin-bottom: 24px; }
.feature-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.feature-card p { font-size: 17px; color: var(--gray-500); line-height: 1.7; }

/* How It Works */
.how-section { padding: 120px 0; background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%); }
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.step { text-align: center; }

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-sunset);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
}

.step:nth-child(3) .step-number { background: var(--gradient-ocean); }
.step:nth-child(5) .step-number { background: var(--gradient-purple); }

.step-connector {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 50%, var(--purple) 100%);
    opacity: 0.3;
}

.step h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 16px; color: var(--gray-500); }

/* CTA */
.cta-section { padding: 120px 0; position: relative; overflow: hidden; text-align: center; }

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-section h2 { font-size: 56px; font-weight: 800; color: white; margin-bottom: 24px; }
.cta-section p { font-size: 20px; color: rgba(255, 255, 255, 0.9); margin-bottom: 48px; }

.waitlist-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }

.email-input {
    flex: 1;
    padding: 18px 24px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
}

.btn-submit {
    background: white;
    color: var(--purple);
    padding: 18px 36px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover { transform: translateY(-3px); }
.form-note { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-top: 16px; }

/* Footer */
.site-footer { padding: 80px 0 40px; background: var(--gray-900); color: white; }
.footer-content { display: grid; grid-template-columns: 2fr 3fr; gap: 80px; margin-bottom: 40px; }

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.footer-tagline { font-size: 15px; color: var(--gray-500); margin-bottom: 24px; }
.footer-legal { font-size: 13px; color: var(--gray-500); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-column h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.footer-column a { display: block; color: var(--gray-500); text-decoration: none; font-size: 14px; margin-bottom: 12px; }
.footer-column a:hover { color: var(--orange); }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 48px; }
    .section-header h2 { font-size: 36px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
    .main-nav { display: none; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}
