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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1976D2 0%, #42A5F5 100%);
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(25, 118, 210, 0.2);
}

header {
    padding: 2rem;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    animation: pulse 2s infinite;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1976D2;
    letter-spacing: -0.02em;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

main {
    flex: 1;
    padding: 0 2rem;
}

.hero-section {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1976D2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1976D2, #42A5F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(25, 118, 210, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(25, 118, 210, 0.2);
    border-color: rgba(25, 118, 210, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976D2, #42A5F5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cta-section {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(25, 118, 210, 0.15);
    margin-bottom: 2rem;
    border: 1px solid rgba(25, 118, 210, 0.1);
}

.cta-section h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1976D2;
    margin-bottom: 2rem;
}

.email-signup {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem auto;
    flex-wrap: wrap;
}

#emailInput {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid #E3F2FD;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

#emailInput:focus {
    outline: none;
    border-color: #1976D2;
    background: white;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, #1976D2, #42A5F5);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.3);
}

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

.privacy-note {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(25, 118, 210, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 15px;
    }
    
    header {
        padding: 1.5rem 1rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .hero-section h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
    }
    
    .email-signup {
        flex-direction: column;
        gap: 1rem;
    }
    
    #emailInput {
        min-width: 100%;
    }
    
    .cta-button {
        justify-content: center;
        width: 100%;
    }
    
    main {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Terms Page Styling */
.terms-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.terms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E3F2FD;
}

.terms-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1976D2;
    margin: 0;
    background: linear-gradient(135deg, #1976D2, #42A5F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.back-link {
    color: #1976D2;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border: 2px solid #1976D2;
    border-radius: 12px;
    background: white;
}

.back-link:hover {
    background: #1976D2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.terms-content h3 {
    color: #1976D2;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #E3F2FD;
    padding-bottom: 0.75rem;
}

.terms-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.terms-intro {
    background: #F3F8FF;
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #1976D2;
    margin-bottom: 3rem !important;
    font-weight: 500;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .terms-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .terms-header h2 {
        font-size: 2rem;
    }
    
    .terms-page {
        padding: 1rem;
    }
    
    .terms-intro {
        padding: 1.5rem;
    }
}
