:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --text-muted: #666666;
    --bg-light: #f7f7f7;
    --primary-color: #000000;
    --accent-color: #ff3b30; /* Red color for New Product badge */
    --border-color: #eaeaea;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 18px;
    display: block;
    opacity: 0.85;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s;
    opacity: 0.85;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 25%, #e5e5e5 50%, #f0f0f0 75%, #ffffff 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s linear infinite;
    border-radius: 0 0 2rem 2rem;
    padding-top: 8rem;
    padding-bottom: 12rem; /* Increased from 10rem to add height */
    width: 100%;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    z-index: 1;
    font-size: 1.4rem; /* Scales text, buttons, and spacing proportionally */
}

.badge {
    color: var(--accent-color);
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 1em;
}

.hero-title {
    font-size: 4.5em;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.15em;
}

.hero-subtitle {
    font-size: 1.4em;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1.875em; /* Mathematically scaled to keep exact total block height */
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    gap: 1em;
}

.btn {
    display: inline-block;
    padding: 0.75em 1.5em;
    border-radius: 0.5em;
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #d1d1d1;
}

.btn-secondary:hover {
    border-color: var(--text-color);
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: absolute;
    right: 0;
    top: -50px;
    bottom: -12.5rem; /* Extends past the 12rem bottom padding of .hero */
    width: 50%;
    pointer-events: none;
    overflow: visible;
}

.hero-image {
    width: 88%; /* Increased by ~10% */
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: translateX(-10%);
}

/* Make sure container doesn't overflow horizontally if we scale image */
body {
    overflow-x: hidden;
}

/* Features Section */
.features {
    padding: 4rem 0 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 25%, #e5e5e5 50%, #f0f0f0 75%, #ffffff 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s linear infinite;
    border-radius: 1rem;
    padding: 1.5rem 3rem 3rem 3rem;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.feature-text {
    margin-bottom: 3rem;
}

.feature-text h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1rem;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.feature-image img {
    max-width: 100%;
    height: auto;
}

/* Info Section */
.info-section {
    background-color: transparent;
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.info-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.info-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 3rem 0;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-company {
    font-weight: 600;
    font-size: 0.9rem;
}

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

.footer-nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

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

.footer-social a {
    color: var(--text-muted);
    transition: color 0.2s;
}

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

/* Responsive Adjustments */
@media (max-width: 900px) {
    .hero {
        padding-top: 2rem;
        padding-bottom: 0;
    }
    
    .hero-inner {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 3rem;
        font-size: 1rem; /* Reset scaling for mobile */
    }

    .hero-subtitle {
        white-space: normal;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-container {
        position: relative;
        width: 100%;
        top: 0;
        right: 0;
        bottom: auto;
        display: flex;
        justify-content: center;
        overflow: visible;
        margin-bottom: -1rem;
    }

    .hero-image {
        width: 75%;
        max-width: 300px;
        min-width: 0;
        object-position: center;
        transform: none;
    }

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

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

    .feature-text {
        text-align: center;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Waitlist Page Specific */
.waitlist-hero {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.waitlist-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.waitlist-content {
    flex: 1;
    max-width: 450px;
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    margin-top: 0.5rem;
}

.privacy-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    color: #27ae60;
}

.form-message.error {
    color: #e74c3c;
}

.waitlist-content .badge {
    margin-bottom: 0.25em; /* Reduced from 1em */
}

.waitlist-image-container {
    flex: 1.4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transform: translateX(25%);
}

.waitlist-image {
    width: 120%; /* Increased by ~20% */
    max-width: 850px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .waitlist-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .waitlist-content {
        max-width: 100%;
        text-align: center;
    }
    
    .waitlist-hero {
        padding-bottom: 2rem;
    }
    
    .waitlist-image-container {
        justify-content: center;
        transform: translateX(0);
    }
    
    .waitlist-image {
        width: 100%;
    }
}
