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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: none;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

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

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    border-radius: 50px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: block;
}

.nav-menu a:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-pill {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.waitlist-pill {
    background: #000;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.waitlist-pill:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.preorder-pill {
    background: #000;
    color: white;
    border: 1px solid #000;
}

.preorder-pill:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.hero-content {
    max-width: 650px;
    flex: 1;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: #000;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pill {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3), 
                0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.pill:hover {
    background: linear-gradient(135deg, #00e6ff 0%, #00b3e6 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.2),
                0 0 20px rgba(0, 212, 255, 0.3);
}

.pill:hover::before {
    left: 100%;
}

.cta-btn {
    background: #000;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.cta-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 6em;
}

.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.ketone-meter {
    position: absolute;
    top: 50px;
    right: 50px;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 3;
}

.meter-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.meter-unit {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.product-mockup {
    position: absolute;
    top: 100px;
    left: 50px;
    z-index: 2;
}

.tin-container {
    width: 120px;
    height: 80px;
    background: linear-gradient(45deg, #e9ecef, #dee2e6);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.pouch-mockup {
    width: 100px;
    height: 60px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Key Benefits Section */
.key-benefits {
    padding: 2rem 0 6rem;
    background: #f8f9fa;
    text-align: center;
}

.key-benefits h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    letter-spacing: -0.02em;
}

.benefits-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.benefit-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.benefit-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 3rem;
    color: #000;
}

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

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: #000;
}

.step p {
    color: #666;
}

.science-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: #000;
    font-weight: 500;
}

.science-badge i {
    color: #666;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: #f8f9fa;
    text-align: center;
}

.benefits h2 {
    margin-bottom: 3rem;
    color: #000;
}

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

.benefit {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit i {
    font-size: 3rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.benefit h3 {
    margin-bottom: 1rem;
    color: #000;
}

.benefit p {
    color: #666;
    font-weight: 500;
}

/* Social Proof Section */
.social-proof {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.social-proof h2 {
    margin-bottom: 1rem;
    color: #000;
}

.proof-statement {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 500;
}

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

.partner {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
}

.partner-logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.coming-soon {
    background: #000;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Waitlist Incentive Section */
.waitlist-incentive {
    padding: 6rem 0;
    background: #000;
    color: white;
    text-align: center;
}

.waitlist-incentive h2 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.referral-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 4rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.referral-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.referral-block {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: left;
}

.referral-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.referral-block p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.milestone-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.milestone-list li {
    color: #ccc;
    margin-bottom: 0.75rem;
    padding-left: 0;
    position: relative;
}

.milestone-list li:before {
    content: "•";
    color: #00b3e6;
    font-weight: bold;
    margin-right: 0.5rem;
}

.how-it-works-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.how-it-works-list li {
    color: #ccc;
    margin-bottom: 0.75rem;
    padding-left: 0;
    position: relative;
    counter-increment: step-counter;
}

.how-it-works-list li:before {
    content: counter(step-counter);
    color: #00b3e6;
    font-weight: bold;
    margin-right: 0.75rem;
    background: rgba(0, 179, 230, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.leaderboard-placeholder {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    color: #999;
    font-style: italic;
    background: rgba(255, 255, 255, 0.05);
}

.referral-disclaimer {
    color: #999;
    font-size: 0.9rem;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ketosis Brain Energy Section */
.ketosis-brain-energy h2 {
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}

/* Early Backer Section */
.early-backer {
    padding: 6rem 0;
    background: #f8f9fa;
    text-align: center;
}

.early-backer h2 {
    margin-bottom: 1.5rem;
    color: #000;
    font-weight: 700;
}

.early-backer .leaderboard-teaser {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.early-backer .leaderboard-teaser h3 {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
    line-height: 1.6;
}

.preorder-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.tier:hover {
    transform: translateY(-5px);
}

.tier.featured {
    border: 2px solid #000;
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.tier h3 {
    margin-bottom: 1.5rem;
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.tier p {
    color: #666;
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.4;
}

.tier ul {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    flex-grow: 1;
}

.tier li {
    margin-bottom: 0.75rem;
    color: #333;
    position: relative;
    padding-left: 2rem;
    line-height: 1.5;
}

.tier li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 600;
    font-size: 1.1rem;
}

.preorder-btn {
    background: #000;
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    width: 100%;
    margin-top: auto;
}

.preorder-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

.modal h2 {
    margin-bottom: 1rem;
    color: #000;
}

.modal p {
    color: #666;
    margin-bottom: 2rem;
}

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

.waitlist-form input {
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
}

.waitlist-form button {
    background: #000;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.waitlist-form button:hover {
    background: #333;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.faq-section h2 {
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 400;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #000;
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: #000;
    color: white;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    color: #000;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #000;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #333;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-pill {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 2rem;
        justify-content: center;
    }
    
    .hero-content {
        margin-bottom: 2rem;
        flex: 1;
    }
    
    .hero-visual {
        width: 300px;
        height: 300px;
    }
    
    .ketone-meter {
        top: 30px;
        right: 30px;
        padding: 1rem;
    }
    
    .meter-display {
        font-size: 2rem;
    }
    
    .preorder-tiers {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tier.featured {
        transform: none;
    }
    
    .tier {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .early-backer .leaderboard-teaser {
        margin-bottom: 3rem;
    }
    
    .milestones {
        grid-template-columns: 1fr;
    }
    
    .hero-pills {
        justify-content: center;
    }
    
    .pill {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        box-shadow: 0 3px 15px rgba(0, 212, 255, 0.25), 
                    0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    
    .pill:hover {
        box-shadow: 0 6px 20px rgba(0, 212, 255, 0.35), 
                    0 0 0 1px rgba(255, 255, 255, 0.2),
                    0 0 15px rgba(0, 212, 255, 0.25);
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
        flex-direction: row;
        text-align: left;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .benefit-content h3 {
        font-size: 1rem;
    }
    
    .referral-blocks {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .referral-block {
        padding: 1.5rem;
    }
    
    .faq-section {
        padding: 4rem 0;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .how-it-works, .benefits, .social-proof, .waitlist-incentive, .early-backer {
        padding: 3rem 0;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }
}
