* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ========== HEADER ========== */
header {
    background: rgba(255, 255, 255, 0.99);
    padding: 0.9rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.header-branding {
    flex: 1;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2d5016;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.tagline {
    color: #999;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-top: 0.1rem;
}

.language-switcher {
    display: flex;
    gap: 0.2rem;
    background: rgba(45, 80, 22, 0.04);
    padding: 0.25rem;
    border-radius: 18px;
    flex-shrink: 0;
}

.language-switcher button {
    padding: 0.35rem 0.7rem;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #999;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.language-switcher button.active {
    background: white;
    color: #2d5016;
    border-color: #2d5016;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.language-switcher button:hover:not(.active) {
    color: #2d5016;
}

/* ========== CAROUSEL SECTION ========== */
.carousel-section {
    padding: 2rem 1.5rem 2.5rem;
    background: #ffffff;
}

.hero-header {
    text-align: center;
    margin-bottom: 2rem;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(45, 80, 22, 0.06);
    color: #2d5016;
    padding: 0.4rem 0.9rem;
    border-radius: 16px;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(45, 80, 22, 0.15);
    font-size: 0.8rem;
    letter-spacing: 0.4px;
}

.hero-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.hero-header p {
    font-size: 1rem;
    color: #666;
    max-width: 100%;
    line-height: 1.6;
    font-weight: 400;
}

.carousel-container {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 16px;
    background: #f5f5f5;
    aspect-ratio: 16 / 10;
    max-width: 100%;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    contain: layout style paint;
    will-change: transform;
    display: block;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f5f5;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: crisp-edges;
    max-width: 100%;
    max-height: 100%;
}

.carousel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d5016 0%, #1f3810 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    z-index: 10;
    font-weight: 600;
}

.carousel-btn:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0.75rem;
}

.carousel-next {
    right: 0.75rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #2d5016;
}

.carousel-cta {
    text-align: center;
    margin-top: 2rem;
    animation: slideUp 0.8s ease 0.6s both;
}

.carousel-cta p {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.cta-link {
    display: inline-block;
    color: #2d5016;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    background: rgba(45, 80, 22, 0.06);
    border: 1px solid rgba(45, 80, 22, 0.2);
    letter-spacing: 0.3px;
}

.cta-link:hover {
    background: rgba(45, 80, 22, 0.12);
    border-color: rgba(45, 80, 22, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.12);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== FORM SECTION ========== */
.form-section {
    padding: 2rem 1.5rem;
    background: #fafbfc;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.signup-section {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.signup-section h2 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.signup-section p {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

.form-group input {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    font-weight: 400;
}

.form-group input:focus {
    outline: none;
    border-color: #2d5016;
    background: white;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.08);
}

.form-group input::placeholder {
    color: #ccc;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.25rem;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #2d5016;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1.5;
    color: #555;
}

.checkbox-group a {
    color: #2d5016;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, #2d5016 0%, #1f3810 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.25);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(45, 80, 22, 0.35);
}

.submit-btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.success-message {
    display: none;
    background: #f0f9f4;
    color: #1b5e35;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid #c6e9d8;
    font-size: 0.9rem;
    font-weight: 500;
}

.error-message {
    display: none;
    background: #fef2f2;
    color: #b42318;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    border: 1px solid #fecaca;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 2.5rem 1.5rem;
    background: #ffffff;
}

.features-section h2 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.feature {
    background: #fafbfc;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.1px;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}

/* ========== FOOTER ========== */
.footer {
    background: #1f1f1f;
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.footer a {
    color: #b4d96c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #d4e99c;
}

/* ========== MODALS ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.2s ease;
    overflow-y: auto;
    padding-top: 80px;
}

.modal-content {
    background-color: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    width: calc(100% - 2rem);
    max-width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.modal-header h2 {
    color: #1a1a1a;
    font-size: 1.4rem;
    margin: 0;
    flex: 1;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.close-btn {
    color: #ccc;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    transition: color 0.2s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.close-btn:hover {
    color: #2d5016;
}

.modal-body {
    line-height: 1.8;
    color: #555;
    font-size: 0.9rem;
}

.modal-body h3 {
    color: #1a1a1a;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.modal-body p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== TABLET ========== */
@media (min-width: 600px) {
    html {
        scroll-padding-top: 60px;
    }

    header {
        padding: 0.8rem 2rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .hero-header h1 {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
    }

    .hero-header p {
        font-size: 1.05rem;
        max-width: 600px;
        margin: 0 auto;
    }

    .carousel-section {
        padding: 2.5rem;
    }

    .carousel-wrapper {
        max-width: 800px;
        margin: 0 auto;
        border-radius: 18px;
    }

    .carousel-container {
        max-width: 800px;
        margin: 0 auto;
    }

    .form-section {
        padding: 2.5rem;
    }

    .signup-section {
        padding: 2.5rem;
        max-width: 600px;
        margin: 0 auto;
        border-radius: 16px;
    }

    .features-section {
        padding: 3rem 2.5rem;
    }

    .features-section h2 {
        margin-bottom: 2.5rem;
        font-size: 2rem;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .modal {
        padding-top: 100px;
    }

    .modal-content {
        width: 90%;
        max-width: 700px;
    }
}

/* ========== DESKTOP ========== */
@media (min-width: 1024px) {
    html {
        scroll-padding-top: 50px;
    }

    header {
        padding: 0.8rem 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.85rem;
    }

    .hero-header h1 {
        font-size: 3rem;
        margin-bottom: 1.2rem;
        letter-spacing: -0.5px;
    }

    .hero-header p {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
    }

    .carousel-section {
        padding: 3.5rem 2rem;
    }

    .carousel-wrapper {
        max-width: 1000px;
        margin: 0 auto;
        aspect-ratio: 16 / 7;
        border-radius: 18px;
    }

    .carousel-container {
        max-width: 1000px;
        margin: 0 auto;
    }

    .carousel-cta {
        margin-top: 2.5rem;
    }

    .carousel-cta p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .form-section {
        padding: 3.5rem 2rem;
    }

    .signup-section {
        padding: 3rem;
        max-width: 650px;
        margin: 0 auto;
        border-radius: 16px;
    }

    .signup-section h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .signup-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .features-section {
        padding: 3.5rem 2rem;
    }

    .features-section h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .feature {
        padding: 2rem;
    }

    .feature h3 {
        font-size: 1.15rem;
    }

    .modal {
        padding-top: 120px;
    }

    .modal-content {
        width: 80%;
        max-width: 800px;
    }
}
