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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border: #e5e7eb;
    --success: #10b981;
    --error: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s;
}

.nav-brand:hover {
    transform: scale(1.02);
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 20%;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0.75rem;
}

/* Override for logos in different contexts */
.hero-badge .logo,
.mockup-header .logo,
.footer-brand .logo,
.auth-header .logo {
    width: auto;
    height: auto;
    max-width: 2rem;
    max-height: 2rem;
}

.auth-header .logo {
    max-width: 4rem;
    max-height: 4rem;
    margin: 0 auto;
}

.nav-brand:hover .logo {
    transform: rotate(5deg) scale(1.05);
}

.brand-name {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.mobile-menu-toggle i {
    position: absolute;
    font-size: 1.5rem;
    color: var(--text);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mobile-menu-toggle .hamburger-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.mobile-menu-toggle .close-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.mobile-menu-toggle.active .hamburger-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.mobile-menu-toggle.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: none;
}

@media (min-width: 769px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: none !important;
    }
}

.mobile-sidebar.active {
    right: 0;
}

.mobile-sidebar-content {
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-nav-cta {
    margin-top: 1rem;
    text-align: center;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-links > a:not(.btn-primary):not(.btn-secondary) {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
}

.nav-links > a:not(.btn-primary):not(.btn-secondary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.3s ease;
}

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

.nav-links > a:not(.btn-primary):not(.btn-secondary):hover::after {
    width: 100%;
}

.nav-links .btn-secondary {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    border: 2px solid var(--primary);
    box-sizing: border-box;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-links .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.nav-links .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
    border: 2px solid transparent;
    box-sizing: border-box;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-links .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero, .btn-hero-outline {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

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

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

.btn-hero {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-hero-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    width: fit-content;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.desktop-cta {
    display: inline-block;
}

.mobile-cta {
    display: none !important;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
}

.stat-label {
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 2rem;
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup.hovering {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #2a2a2a;
    border-radius: 3px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 1.5rem;
}

.phone-screenshot.active {
    opacity: 1;
}

/* App Download Section */
.app-download {
    padding: 6rem 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.app-download-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.app-download-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.app-store-badge {
    display: inline-block;
    text-decoration: none;
}

.app-store-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.2s, opacity 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.app-store-badge:hover .app-store-button {
    transform: scale(1.05);
    opacity: 0.9;
}

.app-store-button i {
    font-size: 2rem;
    color: white;
}

.app-store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-store-small {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.app-store-large {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.app-download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-phone-mockup {
    width: 250px;
    height: 500px;
    background: #1a1a1a;
    border-radius: 2rem;
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.app-phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Features Section */
.features {
    padding: 6rem 20px;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-icon i {
    font-size: inherit;
    color: inherit;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

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

/* How It Works */
.how-it-works {
    padding: 6rem 20px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

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

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 20px;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Why Motif Section */
.why-motif {
    padding: 6rem 20px;
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.why-icon i {
    font-size: inherit;
    color: inherit;
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.why-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 6rem 20px;
    background: white;
}

.pricing-simple {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card-simple {
    background: white;
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

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

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 1rem;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: fit-content;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

.pricing-features li i {
    color: var(--success);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.pricing-features li strong {
    color: var(--primary);
}

.pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.pricing-card .btn-full {
    margin-top: auto;
}

/* CTA Section */
.cta-section {
    padding: 6rem 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-content .btn-hero:hover {
    background: var(--bg-light);
}

/* Affiliates Page */
.affiliates-hero {
    padding: 6rem 20px 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.affiliates-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.affiliates-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
}

.affiliates-content {
    padding: 4rem 20px;
    background: white;
}

.affiliates-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.affiliates-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.affiliates-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.affiliates-benefits {
    margin-bottom: 4rem;
}

.affiliates-benefits h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.benefit-icon i {
    font-size: inherit;
    color: inherit;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

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

.affiliates-requirements {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.affiliates-requirements h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text);
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
}

.requirements-list li i {
    color: var(--success);
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.affiliates-apply {
    max-width: 600px;
    margin: 0 auto;
}

.apply-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.apply-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.apply-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.apply-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-light);
}

.apply-email {
    margin-top: 2rem;
    text-align: center;
}

.apply-email a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.75rem;
}

.apply-email a:hover {
    text-decoration: underline;
}

/* Page Hero (for stub pages) */
.page-hero {
    padding: 4rem 20px 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.page-content {
    padding: 4rem 20px;
    background: white;
}

.content-section {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.content-section a {
    color: var(--primary);
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

/* Careers Page Styles */
.careers-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.careers-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.careers-why {
    margin-bottom: 4rem;
}

.careers-why h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.career-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

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

.career-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.career-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.career-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.careers-looking {
    margin-bottom: 4rem;
    background: var(--bg-light);
    padding: 4rem 2rem;
    border-radius: 1rem;
}

.careers-looking h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
}

.looking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.looking-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.looking-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.looking-item h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.looking-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.careers-positions {
    margin-bottom: 4rem;
}

.careers-positions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.positions-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.positions-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.positions-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.positions-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.positions-list li i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.positions-note {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 0 !important;
}

.careers-apply {
    max-width: 700px;
    margin: 0 auto;
}

.apply-card-careers {
    background: var(--bg-light);
    padding: 3.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid var(--primary);
}

.apply-card-careers h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.apply-card-careers p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.careers-email {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.careers-email:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* About Page Styles */
.about-mission {
    margin-bottom: 5rem;
    text-align: center;
}

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

.about-mission h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.mission-lead {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.mission-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-what {
    margin-bottom: 5rem;
    background: var(--bg-light);
    padding: 4rem 2rem;
    border-radius: 1rem;
}

.about-what h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.what-intro {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.what-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

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

.what-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.what-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.what-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-story {
    margin-bottom: 5rem;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-story h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text);
}

.story-text {
    text-align: left;
}

.story-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.about-values {
    margin-bottom: 3rem;
}

.about-values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.value-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Blog Listing */
.blog-listing {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.blog-post-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.blog-post-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-post-card-category {
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-post-card-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-post-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-card h2 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post-card h2 a:hover {
    color: var(--primary);
}

.blog-post-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.2s;
}

.blog-read-more:hover {
    gap: 0.75rem;
}

/* Blog Placeholder */
.blog-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Blog Post Styles */
.blog-post {
    min-height: 100vh;
}

.blog-post-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4rem 20px 3rem;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: opacity 0.2s;
}

.blog-back-link:hover {
    opacity: 0.8;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.blog-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.blog-post-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    line-height: 1.5;
}

.blog-post-content {
    padding: 4rem 20px;
    background: white;
}

.blog-post-body {
    max-width: 800px;
    margin: 0 auto;
}

.blog-lead {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.blog-post-body h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.3;
}

.blog-post-body p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.blog-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.blog-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.blog-post-cta {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    margin-top: 4rem;
    border: 2px solid var(--primary);
}

.blog-post-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.blog-post-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Contact Page */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-full {
    width: 100%;
}

/* Help Center */
.help-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
    text-align: center;
}

.faq-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 0.75rem;
}

.faq-content {
    flex: 1;
}

.faq-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.faq-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

.help-contact {
    margin-top: 4rem;
    padding-top: 0;
    border-top: none;
    text-align: center;
}

.help-contact-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.help-contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.help-contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.help-contact p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.help-contact a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.help-contact a:hover {
    opacity: 0.9;
}

/* Status Page */
.status-content {
    max-width: 800px;
    margin: 0 auto;
}

.status-overview {
    margin-bottom: 3rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 1rem;
}

.status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.operational {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.status-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.status-info p {
    color: var(--text-light);
}

.status-services h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
}

.service-status {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.service-status.operational {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 20px 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    transition: opacity 0.2s;
}

.footer-brand a:hover {
    opacity: 0.8;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-column-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 0.95rem;
}

.footer-column-links a:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Auth Pages */
.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 20px;
    background: var(--bg-light);
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: var(--primary) !important;
    background: none !important;
    width: auto;
    height: auto;
    padding: 0;
    box-shadow: none;
}


.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-hint {
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* App Pages */
.app-body {
    background: var(--bg-light);
}

.app-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

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

.app-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.2s;
}

.app-nav-brand:hover {
    transform: scale(1.02);
}

.app-nav-brand .logo {
    width: 2.5rem;
    height: 2.5rem;
    transition: all 0.3s ease;
}

.app-nav-brand:hover .logo {
    transform: rotate(5deg) scale(1.05);
}

.app-nav-brand .brand-name {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

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

.app-section {
    display: none;
}

.app-section.active {
    display: block;
}

.app-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.tool-icon i {
    font-size: inherit;
    color: inherit;
}

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

.timer-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
}

.timer-controls,
.metronome-controls,
.recording-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.bpm-control {
    width: 100%;
    margin-bottom: 1rem;
}

.bpm-control label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.bpm-control input[type="range"] {
    width: 100%;
}

.tuner-display {
    margin: 1.5rem 0;
}

.tuner-note {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tuner-indicator {
    width: 200px;
    height: 4px;
    background: var(--border);
    margin: 0 auto 1rem;
    position: relative;
    border-radius: 2px;
}

.tuner-needle {
    width: 2px;
    height: 20px;
    background: var(--primary);
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
}

.recording-status {
    color: var(--error);
    font-weight: 600;
    margin: 1rem 0;
}

.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.post-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.post-header {
    margin-bottom: 1rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-name {
    font-weight: 600;
}

.post-time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-content {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.post-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn i {
    font-size: inherit;
}

.action-btn:hover {
    color: var(--primary);
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.profile-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: var(--text-light);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.profile-stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.modal-form {
    padding: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .desktop-cta {
        display: none !important;
    }

    .mobile-cta {
        display: inline-block !important;
    }

    .hero-cta .app-store-badge {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-cta .app-store-button {
        width: 100%;
        padding: 1rem 1.5rem;
        background: #000;
        color: white;
        justify-content: center;
    }

    .hero-cta .app-store-button i {
        color: white;
        font-size: 1.75rem;
    }

    .hero-cta .app-store-small {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.7rem;
    }

    .hero-cta .app-store-large {
        color: white;
        font-size: 1.3rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-cta .btn-hero-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .nav {
        padding: 1rem 20px;
    }

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

    .mobile-sidebar {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .logo {
        width: 2rem;
        height: 2rem;
        font-size: 1.5rem;
    }

    .logo i {
        font-size: 1rem;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .app-nav-links {
        gap: 1rem;
    }

    .community-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    /* Footer Mobile */
    .footer {
        padding: 2rem 20px 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        font-size: 1.25rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column {
        gap: 0.75rem;
    }

    .footer-column-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .footer-column-links {
        gap: 0.5rem;
    }

    .footer-column-links a {
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .footer-links a {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }

    .footer-bottom {
        text-align: left;
        padding-top: 1.5rem;
        font-size: 0.875rem;
    }

    /* Testimonials Mobile */
    .testimonials {
        padding: 4rem 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Why Motif Mobile */
    .why-motif {
        padding: 4rem 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-item {
        padding: 1.5rem;
    }

    /* App Download Mobile */
    .app-download {
        padding: 4rem 20px;
    }

    .app-download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .app-download-text h2 {
        font-size: 2rem;
    }

    .app-download-text p {
        font-size: 1.1rem;
    }

    .app-phone-mockup {
        width: 200px;
        height: 400px;
        margin: 0 auto;
    }

    .app-store-button {
        padding: 0.625rem 1.25rem;
    }

    .app-store-button i {
        font-size: 1.5rem;
    }

    .app-store-small {
        font-size: 0.65rem;
    }

    .app-store-large {
        font-size: 1.1rem;
    }

    /* Pricing Mobile */
    .pricing {
        padding: 4rem 20px;
    }

    .pricing-card-simple {
        padding: 2rem 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    /* Affiliates Mobile */
    .affiliates-hero {
        padding: 4rem 20px 3rem;
    }

    .affiliates-hero-content h1 {
        font-size: 2rem;
    }

    .affiliates-subtitle {
        font-size: 1.2rem;
    }

    .affiliates-content {
        padding: 3rem 20px;
    }

    .affiliates-intro h2,
    .affiliates-benefits h2,
    .affiliates-requirements h2 {
        font-size: 1.75rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .apply-card {
        padding: 2rem 1.5rem;
    }

    /* Page Stub Mobile */
    .page-hero {
        padding: 3rem 20px 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .page-content {
        padding: 3rem 20px;
    }

    .content-section {
        margin-bottom: 2rem;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    /* Careers Page Mobile */
    .careers-grid {
        grid-template-columns: 1fr;
    }

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

    .careers-email {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
        display: block;
        text-align: center;
    }

    /* About Page Mobile */
    .what-grid {
        grid-template-columns: 1fr;
    }

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

    /* Help Center Mobile */
    .faq-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .faq-icon {
        margin: 0 auto;
    }

    .help-contact-card {
        padding: 2rem 1.5rem;
    }

    /* Blog Post Mobile */
    .blog-post-header {
        padding: 3rem 20px 2rem;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-subtitle {
        font-size: 1.2rem;
    }

    .blog-post-content {
        padding: 3rem 20px;
    }

    .blog-lead {
        font-size: 1.2rem;
    }

    .blog-post-body h2 {
        font-size: 1.75rem;
    }

    .blog-post-cta {
        padding: 2rem 1.5rem;
    }

    /* Blog Listing Mobile */
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-post-card {
        padding: 2rem;
    }
}

