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

:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 3.9%;
    --primary: 0 0% 9%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 96.1%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;
    --accent: 0 0% 96.1%;
    --accent-foreground: 0 0% 9%;
    --border: 0 0% 89.8%;
    --input: 0 0% 89.8%;
    --radius: 0.5rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "rlig" 1, "calt" 1;
}

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

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid hsl(var(--border) / 0.4);
    background-color: hsl(var(--background) / 0.95);
    backdrop-filter: blur(8px);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: hsl(var(--foreground) / 0.8);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: hsl(var(--foreground));
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
}

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

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    text-decoration: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.5rem;
    padding: 0 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

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

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
}

.btn-lg {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid hsl(var(--border));
    background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--muted) / 0.2));
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 0;
    }
}

.hero-content {
    text-align: center;
    max-width: 100%;
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, hsl(var(--foreground)), hsl(var(--foreground) / 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    margin: 0 auto 2.5rem;
    max-width: 42rem;
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

.hero-actions {
    margin: 0 auto;
    max-width: 28rem;
}

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

.waitlist-form input {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid hsl(var(--input));
    border-radius: calc(var(--radius) - 2px);
    background-color: hsl(var(--background));
    font-size: 1rem;
    transition: border-color 0.2s;
}

.waitlist-form input:focus {
    outline: none;
    border-color: hsl(var(--foreground));
}

.waitlist-form button {
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

/* Value Cards Section */
.value-cards {
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .value-cards {
        padding: 6rem 0;
    }
}

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

.section-header h2 {
    margin-bottom: 1rem;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    margin: 0 auto;
    max-width: 42rem;
    color: hsl(var(--muted-foreground));
}

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

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

.card {
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s;
}

.card:hover {
    border-color: hsl(var(--foreground) / 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: calc(var(--radius) - 2px);
    border: 2px solid hsl(var(--border));
    background-color: hsl(var(--muted));
    color: hsl(var(--foreground));
    transition: transform 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

/* Social Proof Section */
.social-proof {
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.3);
    padding: 4rem 0;
}

.section-label {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
}

.logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: opacity 0.3s;
}

.logos:hover {
    opacity: 0.6;
}

.logo-placeholder {
    width: 8rem;
    height: 2.5rem;
    border-radius: 4px;
    background-color: hsl(var(--muted) / 0.5);
}

/* How It Works Section */
.how-it-works {
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .how-it-works {
        padding: 6rem 0;
    }
}

.steps-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

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

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    border: 2px solid hsl(var(--foreground));
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.step p {
    margin: 0 auto;
    max-width: 24rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}

/* Footer */
.footer {
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.3);
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.footer-col h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: hsl(var(--muted-foreground));
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: hsl(var(--foreground) / 0.8);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border) / 0.4);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.footer-bottom a {
    font-weight: 500;
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: hsl(var(--foreground) / 0.8);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
}

