/* ========================================
   Salvador the Brown Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #3E2723;
    --color-accent: #D4AF37;
    --color-bg-dark: #1a1a1a;
    --color-bg-light: #2a2a2a;
    --color-text: #e0e0e0;
    --color-text-secondary: #b0b0b0;
    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
}

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

/* Header / Navigation */
#header {
    position: sticky;
    top: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-accent);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg-light);
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
}

.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-accent);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, 20px) rotate(90deg); }
    50% { transform: translate(0, 40px) rotate(180deg); }
    75% { transform: translate(-20px, 20px) rotate(270deg); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle strong {
    color: var(--color-text);
    font-weight: 700;
}

.hero-cta-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #C19A2E);
    color: #1a1a1a;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: #1a1a1a;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 4rem;
}

/* Story Section */
.story-section {
    background: var(--color-bg-light);
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 1.5rem;
}

.story-list, .arrow-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 0;
}

.story-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.story-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.5rem;
}

.arrow-list li {
    padding: 0.5rem 0 0.5rem 2.5rem;
    position: relative;
}

.arrow-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.story-conclusion {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    text-align: center;
    margin-top: 3rem;
}

/* Apps Section */
.apps-section {
    background: var(--color-bg-dark);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.app-card {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.2);
}

.app-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.app-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.app-tagline {
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.app-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.app-details h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--color-accent);
}

.app-details ul {
    list-style: none;
    padding-left: 0;
}

.app-details li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.app-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

.app-status {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
}

.badge-success {
    background: var(--color-success);
    color: #fff;
}

.badge-warning {
    background: var(--color-warning);
    color: #1a1a1a;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Lab Section */
.lab-section {
    background: var(--color-bg-light);
}

.lab-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
}

.lab-content p {
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    text-align: left;
    margin: 2rem auto;
    max-width: 700px;
}

.check-list li {
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 4rem auto 0;
}

.stat-card {
    background: var(--color-bg-dark);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Matters Section */
.why-matters-section {
    background: var(--color-bg-dark);
}

.matters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.matter-card {
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
}

.matter-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.matter-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.matter-card p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

.link-arrow {
    color: var(--color-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    gap: 0.75rem;
}

/* Positioning Section */
.positioning-section {
    background: var(--color-bg-light);
}

.positioning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.positioning-column h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.not-list, .am-list {
    list-style: none;
}

.not-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
}

.not-list li::before {
    content: '❌';
    position: absolute;
    left: 0;
}

.am-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
}

.am-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

/* Journey Section */
.journey-section {
    background: var(--color-bg-dark);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.journey-card {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
}

.journey-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.journey-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.journey-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.journey-card p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.journey-apps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 8rem 2rem;
    text-align: center;
}

.final-cta-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2rem;
}

.final-cta-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.final-cta-content p {
    margin-bottom: 1.5rem;
}

.final-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

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

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-secondary);
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

#waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#waitlist-form input {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: var(--color-bg-dark);
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-primary);
}

#waitlist-form input:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Footer */
.footer {
    background: var(--color-bg-light);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.footer h4 {
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: var(--color-text-secondary);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-light);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

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

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons, .final-cta-buttons {
        flex-direction: column;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .app-card {
        padding: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .btn, .modal {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
