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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2a2a2a;
    background-color: #fafafa;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: #1a1a1a;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #2a2a2a;
    margin-bottom: 1.6rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: #2a2a2a;
    margin-bottom: 0.75rem;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 1.25rem;
    max-width: 65ch;
    color: #4a4a4a;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #ffffff 100%);
    position: relative;
    text-align: center;
    padding: 4rem 1.6rem 2rem 1.6rem;
}

.hero-content {
    max-width: 900px;
    padding: 0 1.6rem;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-image {
    max-width: 150px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
}

.hero-title {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #4a4a4a;
    font-weight: 400;
    max-width: 75ch;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-signup-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #6a6a6a;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-signup-form {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 0;
    width: 100%;
}

/* Product Description Section */
.product-description {
    padding: 6rem 0;
    background-color: #ffffff;
}

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

.description-content p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: #4a4a4a;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}

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

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-description {
    color: #6a6a6a;
    line-height: 1.7;
    margin-bottom: 0;
}

.form-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
}

.email-input {
    flex: 1;
    min-width: 280px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background-color: #fafafa;
    color: #2a2a2a;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.email-input:focus {
    border-color: #4a4a4a;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(74, 74, 74, 0.1);
}

.email-input::placeholder {
    color: #9a9a9a;
}

.submit-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-color: #2a2a2a;
    border: 2px solid #2a2a2a;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 0;
}

.submit-button:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-button:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Bottom Signup Section */
.bottom-signup {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center;
}

.bottom-signup-content {
    max-width: 600px;
    margin: 0 auto;
}

.bottom-signup-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #6a6a6a;
    font-weight: 400;
    margin-bottom: 2rem;
}

.bottom-signup-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    text-align: center;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-text {
    margin: 0;
    font-size: 0.9rem;
    color: #9a9a9a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    
    .hero {
        padding: 3rem 1.2rem 2rem 1.2rem;
    }
    
    .hero-content {
        padding: 0 1.2rem;
    }
    
    .logo-image {
        max-width: 112.5px;
    }
    
    .product-description,
    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .email-input {
        width: 100%;
        min-width: 100%;
    }
    
    .submit-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .logo-image {
        max-width: 93.75px;
    }
    
    .product-description,
    .features {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 1.5rem 1.25rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #4a4a4a;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid #2a2a2a;
    }
    
    .email-input {
        border-width: 3px;
    }
    
    .submit-button {
        border-width: 3px;
    }
}

