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

html {
    scroll-behavior: smooth;
    background: #1A1A1A;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Performance optimization for mobile */
@media (max-width: 768px) {
    * {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    html {
        scroll-behavior: auto; /* Disable smooth scroll on mobile for better performance */
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
}

.nav-logo a {
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #B8B8B8;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #D4AF37;
}

.cta-button {
    background: #D4AF37 !important;
    color: #1A1A1A !important;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Mobile navbar optimization */
@media (max-width: 768px) {
    .navbar {
        backdrop-filter: none; /* Remove backdrop filter on mobile */
        background: rgba(26, 26, 26, 0.98);
        -webkit-transform: translateZ(0); /* Force hardware acceleration on mobile */
        transform: translateZ(0);
    }
    
    .cta-button:hover {
        transform: none; /* Disable hover transforms on mobile */
    }
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23D4AF37" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-badge span {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
}

.fade-text {
    color: #B8B8B8;
    text-decoration: line-through;
    opacity: 0.6;
}

.gradient-text {
    background: linear-gradient(135deg, #D4AF37 0%, #F4C842 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-description {
    font-size: 1.25rem;
    color: #B8B8B8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.primary-button {
    background: #D4AF37;
    color: #1A1A1A;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.secondary-button {
    background: rgba(45, 45, 45, 0.9);
    color: #D4AF37;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(45, 45, 45, 1);
    border-color: #D4AF37;
    transform: translateY(-2px);
}

/* Mobile button optimization */
@media (max-width: 768px) {
    .primary-button:hover,
    .secondary-button:hover {
        transform: none; /* Disable hover transforms on mobile */
    }
    
    .primary-button:active,
    .secondary-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Values Showcase */
.values-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(45, 45, 45, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.value-item.active {
    opacity: 1;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.value-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.value-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.value-item.active span {
    color: #D4AF37;
}

/* Mobile values showcase optimization */
@media (max-width: 768px) {
    .value-item {
        transition: background-color 0.3s ease, border-color 0.3s ease; /* Simplified transition */
    }
}

/* Values Section */
.values {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
}

.values-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #D4AF37;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #B8B8B8;
    text-align: center;
    font-style: italic;
}

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

.value-card {
    background: rgba(45, 45, 45, 0.6);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card.primary {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
}

.value-card.primary::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

/* Mobile value cards optimization */
@media (max-width: 768px) {
    .value-card:hover {
        transform: none; /* Disable hover transforms on mobile */
    }
    
    .value-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

.value-number {
    width: 60px;
    height: 60px;
    background: #D4AF37;
    color: #1A1A1A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #B8B8B8;
    font-size: 1rem;
    line-height: 1.6;
}

/* Movement Section */
.movement {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
}

.movement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.movement-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #D4AF37;
    margin-bottom: 1.5rem;
}

.movement-description {
    font-size: 1.25rem;
    color: #B8B8B8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.movement-principles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.principle {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.principle-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.principle-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.principle-text p {
    color: #B8B8B8;
    font-size: 0.95rem;
}

.challenge-preview {
    background: rgba(45, 45, 45, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: float 6s ease-in-out infinite;
}

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

/* Mobile challenge preview optimization */
@media (max-width: 768px) {
    .challenge-preview {
        animation: none; /* Disable floating animation on mobile */
    }
}

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

.challenge-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #D4AF37;
}

.challenge-timer {
    color: #B8B8B8;
    font-size: 1rem;
    font-weight: 500;
}

.challenge-body {
    text-align: center;
    margin-bottom: 2rem;
}

.challenge-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.challenge-reminder {
    font-size: 1rem;
    color: #D4AF37;
    font-style: italic;
}

.challenge-btn {
    width: 100%;
    background: #D4AF37;
    color: #1A1A1A;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.challenge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Mobile challenge button optimization */
@media (max-width: 768px) {
    .challenge-btn:hover {
        transform: none;
    }
    
    .challenge-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Community Section */
.community {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    text-align: center;
}

.community-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.community-content p {
    font-size: 1.25rem;
    color: #B8B8B8;
    margin-bottom: 3rem;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #B8B8B8;
    font-size: 1rem;
    font-weight: 500;
}

/* Join Section */
.join {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
}

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

.join-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.join-content p {
    font-size: 1.25rem;
    color: #B8B8B8;
    margin-bottom: 3rem;
}

.coming-soon {
    background: rgba(45, 45, 45, 0.8);
    border-radius: 16px;
    padding: 3rem 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.launch-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.launch-badge span {
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.coming-soon h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.coming-soon p {
    color: #B8B8B8;
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.waitlist-form input {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #FFFFFF;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.waitlist-form input:focus {
    outline: none;
    border-color: #D4AF37;
}

.waitlist-form input::placeholder {
    color: #B8B8B8;
}

.form-note {
    font-size: 0.875rem;
    color: #B8B8B8;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #1A1A1A;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #B8B8B8;
    font-size: 0.95rem;
}

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

.link-group h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.link-group a {
    display: block;
    color: #B8B8B8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-bottom p {
    color: #B8B8B8;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        backdrop-filter: none;
        background: rgba(26, 26, 26, 0.98);
    }
    
    .nav-container {
        height: 60px; /* Slightly shorter on mobile */
        padding: 0 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem; /* Slightly smaller on mobile */
    }
    
    .hero {
        margin-top: 60px; /* Match mobile navbar height */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 15px; /* Add top padding for better spacing */
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .values-showcase {
        order: -1;
        padding: 1.5rem; /* Reduce padding */
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem; /* Reduce gap */
    }
    
    .movement-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .values {
        padding: 3rem 0; /* Reduce padding */
    }
    
    .movement {
        padding: 3rem 0;
    }
    
    .community {
        padding: 3rem 0;
    }
    
    .join {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 15px; /* Reduce container padding */
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 55px; /* Even shorter on smaller screens */
    }
    
    .hero {
        margin-top: 55px; /* Match smaller navbar height */
    }
    
    .hero-container {
        padding: 1.5rem 15px; /* Adjusted padding */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .primary-button,
    .secondary-button {
        text-align: center;
        width: 100%;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .movement-text h2 {
        font-size: 2rem;
    }
    
    .join-content h2 {
        font-size: 2rem;
    }
    
    .waitlist-form {
        max-width: 100%;
    }
    
    .coming-soon {
        padding: 2rem 1rem; /* Reduce padding */
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-card {
        padding: 1.5rem; /* Reduce padding */
    }
}

/* Mobile-specific performance optimizations */
@media (max-width: 768px) {
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* Optimize scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    /* Prevent zoom on form inputs */
    input[type="email"] {
        font-size: 16px;
    }
}

/* Legal Page Styles */
.legal-page {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.last-updated {
    color: #B8B8B8;
    font-size: 0.95rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(45, 45, 45, 0.3);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

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

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: #B8B8B8;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: #B8B8B8;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section li strong {
    color: #FFFFFF;
}

.text-link {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #F4C842;
    text-decoration: underline;
}

/* Special highlight cards for privacy page */
.privacy-highlight {
    margin: 2rem 0;
}

.highlight-card {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-card h2 {
    color: #D4AF37;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: #FFFFFF;
    margin-bottom: 0;
}

/* No sharing card */
.no-sharing-card {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.no-sharing-card h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.no-sharing-card ul {
    margin-left: 1rem;
}

.no-sharing-card li {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.no-sharing-card li strong {
    color: #4CAF50;
}

.legal-disclaimer {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.legal-disclaimer p {
    color: #F44336;
    margin-bottom: 0;
    font-weight: 600;
}

/* Responsive for legal pages */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        padding: 0 1rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-disclaimer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.75rem;
    }
    
    .legal-section h2 {
        font-size: 1.125rem;
    }
    
    .legal-section {
        padding: 0;
    }
} 