/* ===== CSS VARIABLES (Official Brand Colors) ===== */
:root {
    --copper: #AA7A45;
    --copper-light: #C4956A;
    --copper-dark: #8B5E2F;
    --sage: #7A8B6E;
    --sage-light: #A4B494;
    --sage-dark: #5A6B4E;
    --black: #1A1A1A;
    --black-light: #2a2a2a;
    --cream: #F5E6D3;
    --cream-light: #FAF8F5;
    --cream-dark: #EDD9C4;
    --white: #FFFFFF;
    --gray: #888888;
    --gray-dark: #666666;
    --success: #27AE60;
    --error: #E74C3C;
    --font-display: 'Source Serif 4', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cream);
    background-color: var(--black);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--copper);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--copper-light);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm) 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 75px;
    width: auto;
}

.nav-links {
    display: none;
    gap: var(--space-xl);
    list-style: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: var(--cream-dark);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

.nav-cta {
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    color: var(--cream) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(170, 122, 69, 0.3);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--space-4xl) + 80px) var(--space-lg) var(--space-3xl);
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(170, 122, 69, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(122, 139, 110, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.logo-container {
    margin-bottom: var(--space-2xl);
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

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

.kickstarter-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
    color: var(--cream);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.headline {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.headline-accent {
    color: var(--copper);
}

.description {
    font-size: 1.125rem;
    color: var(--cream-dark);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

/* ===== FORMS ===== */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

@media (min-width: 480px) {
    .form-row {
        flex-direction: row;
    }
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.form-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--black);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: #8B8B8B;
}

.form-input:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 4px rgba(170, 122, 69, 0.15);
}

.form-input.error {
    border-color: var(--error);
}

.submit-btn {
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--copper-light) 0%, var(--copper) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(170, 122, 69, 0.3);
}

.success-message {
    display: none;
    padding: var(--space-lg);
    background: rgba(39, 174, 96, 0.1);
    border: 2px solid var(--success);
    border-radius: var(--radius-md);
    color: var(--success);
    text-align: center;
    max-width: 500px;
    margin: 0 auto var(--space-lg);
}

.success-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.success-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

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

.privacy-note {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: var(--space-2xl);
}

.privacy-note i {
    margin-right: var(--space-xs);
}

/* ===== HERO FEATURES ===== */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 600px) {
    .hero-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-feature i {
    font-size: 1.5rem;
    color: var(--copper);
}

.hero-feature span {
    font-size: 0.875rem;
    color: var(--cream-dark);
    text-align: center;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--space-4xl) 0;
}

.section-dark {
    background: var(--black);
}

.section-darker {
    background: var(--black-light);
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--copper);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--cream-dark);
    line-height: 1.7;
}

/* ===== PROBLEM/SOLUTION ===== */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

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

.problem-card,
.solution-card {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.problem-card {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.solution-card {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.card-header i {
    font-size: 1.5rem;
}

.problem-card .card-header i {
    color: #E74C3C;
}

.solution-card .card-header i {
    color: #27AE60;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream);
}

.card-list {
    list-style: none;
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--cream-dark);
}

.card-list li:last-child {
    margin-bottom: 0;
}

.card-list li i {
    margin-top: 4px;
    font-size: 0.75rem;
}

.problem-card .card-list li i {
    color: #E74C3C;
}

.solution-card .card-list li i {
    color: #27AE60;
}

/* ===== APP PREVIEW ===== */
.app-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .app-preview {
        grid-template-columns: 1fr 1fr;
    }
    
    .app-preview.reverse {
        direction: rtl;
    }
    
    .app-preview.reverse > * {
        direction: ltr;
    }
}

.app-preview-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.app-preview-content p {
    color: var(--cream-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.app-preview-features {
    list-style: none;
}

.app-preview-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--cream-dark);
}

.app-preview-features li i {
    color: var(--copper);
    margin-top: 4px;
}

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
    position: relative;
    width: 280px;
    margin: 0 auto;
}

.phone-frame {
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5), inset 0 -2px 6px rgba(255, 255, 255, 0.05);
}

.phone-screen {
    background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
    border-radius: 32px;
    aspect-ratio: 9 / 19;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 20px;
}

.phone-content {
    padding: var(--space-2xl) var(--space-md) var(--space-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.phone-content i {
    font-size: 2.5rem;
    color: var(--copper);
    margin-bottom: var(--space-md);
}

.phone-content .screen-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-xs);
}

.phone-content .screen-note {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(170, 122, 69, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--cream);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--cream-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--copper);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--cream-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== AUDIENCE ===== */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.audience-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.audience-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(170, 122, 69, 0.1);
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
}

.audience-icon i {
    font-size: 2rem;
    color: var(--copper);
}

.audience-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-sm);
}

.audience-card p {
    color: var(--cream-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ===== MISSION + EARLY ACCESS ===== */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 1024px) {
    .mission-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

.mission-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.mission-content h3 i {
    color: var(--copper);
}

.mission-content p {
    color: var(--cream-dark);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.mission-content p:last-child {
    margin-bottom: 0;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    background: rgba(170, 122, 69, 0.05);
    border-color: rgba(170, 122, 69, 0.2);
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--copper) 0%, var(--copper-dark) 100%);
    border-radius: var(--radius-sm);
}

.benefit-icon i {
    font-size: 1.25rem;
    color: var(--cream);
}

.benefit-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-xs);
}

.benefit-content p {
    color: var(--cream-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
    background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(170, 122, 69, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-md);
}

.cta-section > .cta-content > p {
    color: var(--cream-dark);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
}

@media (min-width: 480px) {
    .cta-form {
        flex-direction: row;
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
}

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

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: block;
    margin-bottom: var(--space-md);
}

.footer-logo-img {
    height: 75px;
    width: auto;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--copper);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9375rem;
}

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

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--gray);
    font-size: 1.125rem;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--copper);
    color: var(--cream);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    color: var(--gray-dark);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--gray-dark);
    font-size: 0.875rem;
}

/* ===== LOADING STATE ===== */
.loading .submit-btn {
    position: relative;
    color: transparent;
}

.loading .submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--cream);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
