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

:root {
    --primary-color: #3F7467;
    --secondary-color: #E16C4D;
    --text-primary: #191A1A;
    --text-secondary: #484A4C;
    --background: #F2F2F3;
    --white: #FFFFFF;
    --primary-light: #E2F8F5;
    --secondary-light: #FDEFED;
    --primary-dark: #134E46;
    --secondary-dark: #AD2715;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--white);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Header */
.header {
    padding: 40px 60px;
    position: relative;
    z-index: 10;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -1px;
}

/* Main Content */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 100px;
    max-width: 800px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 24px;
    letter-spacing: -4px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: -0.5px;
    margin-bottom: 48px;
}

/* Email Form */
.email-form {
    margin-top: 48px;
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(225, 108, 77, 0.1);
}

.email-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.submit-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(63, 116, 103, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    transition: all 0.3s ease;
}

.form-message.success {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary-color);
}

.form-message.error {
    background: var(--secondary-light);
    color: var(--secondary-dark);
    border: 1px solid var(--secondary-color);
}

/* App Stores Section */
.app-stores-section {
    width: 100%;
    padding: 80px 40px;
    text-align: center;
}

.app-stores {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.app-stores-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.app-stores-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: default;
}

.app-store-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.app-store-badge:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(63, 116, 103, 0.2);
}

/* Features Section */
.features-section {
    width: 100%;
    margin-bottom: 120px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 16px 40px rgba(31, 127, 114, 0.15);
    border-color: var(--primary-color);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:nth-child(2) {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--white) 100%);
}

.feature-item:nth-child(2):hover {
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.feature-item:nth-child(2) h3 {
    color: var(--secondary-color);
}

.feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Background Decoration */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 30s infinite ease-in-out;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -250px;
    right: -250px;
    animation-delay: 0s;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -200px;
    left: -200px;
    animation-delay: 8s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: var(--secondary-color);
    top: 40%;
    left: 5%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.2);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.8);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .header {
        padding: 30px 40px;
    }
    
    .main {
        padding: 60px 30px;
    }
    
    .hero {
        margin-bottom: 80px;
    }
    
    .hero-title {
        font-size: 56px;
        letter-spacing: -3px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .app-stores-section {
        padding: 60px 30px;
    }
    
    .app-stores-badges {
        gap: 16px;
    }
    
    .app-store-badge {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .features-grid {
        gap: 30px;
    }
    
    .features-section {
        margin-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 24px 24px;
    }
    
    .logo {
        height: 40px;
    }
    
    .main {
        padding: 50px 24px;
    }
    
    .hero {
        margin-bottom: 60px;
    }
    
    .hero-title {
        font-size: 42px;
        letter-spacing: -2px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .email-form {
        margin-top: 32px;
    }
    
    .email-input {
        font-size: 14px;
        padding: 14px 16px;
    }
    
    .submit-btn {
        font-size: 14px;
        padding: 14px 24px;
    }
    
    .app-stores-section {
        padding: 40px 24px;
    }
    
    .app-stores-text {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .app-stores-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .app-store-badge {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-item {
        padding: 32px 24px;
    }
    
    .features-section {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}
