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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
}

/* Brand Colors */
:root {
    --primary-color: #217346;
    --primary-hover: #1A5C3A;
    --accent-color: #F2BF45;
    --background: #ffffff;
    --light-grey: #F6F6F6;
    --text-primary: #333333;
    --text-secondary: #666666;
    --shadow: rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 115, 70, 0.3);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-text:hover,
.logo-text:focus,
.logo-text:active {
    text-decoration: none;
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link--active {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===============================================
   HAMBURGER MENU (BEM)
   =============================================== */

/* Hamburger Button - Hidden on Desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.nav-hamburger:hover {
    transform: scale(1.1);
}

.nav-hamburger__line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation when Open */
.nav-hamburger--active .nav-hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-hamburger--active .nav-hamburger__line:nth-child(2) {
    opacity: 0;
}

.nav-hamburger--active .nav-hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu - Hidden by Default */
.nav-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    padding-top: 80px;
    overflow-y: auto;
}

.nav-mobile-menu--active {
    right: 0;
}

.nav-mobile-menu__content {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
}

.nav-mobile-menu__link {
    color: white;
    text-decoration: none;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

.nav-mobile-menu__link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.nav-mobile-menu__link--active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.nav-mobile-menu__button {
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    margin-top: 12px;
    transition: all 0.3s ease;
    display: block;
}

.nav-mobile-menu__button:hover {
    background-color: var(--light-grey);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Backdrop */
.nav-mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-mobile-backdrop--active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #ffffff;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    grid-template-areas:
        "content image"
        "actions image";
}

.hero-content {
    text-align: left;
    grid-area: content;
}

.hero-image {
    grid-area: image;
}

.hero-actions {
    grid-area: actions;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Image */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image__img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
}

/* Secondary Button */
.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 115, 70, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-body {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Why Section */
.why-section {
    background-color: var(--light-grey);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 40px 24px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.benefit-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Demo Section */
.demo-section {
    background-color: var(--light-grey);
}

.demo-content {
    text-align: center;
}

.demo-placeholder {
    max-width: 800px;
    margin: 40px auto 0;
    background-color: var(--light-grey);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 40px var(--shadow);
}

.video-overlay-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 999px;
    border: none;
    background: #217346;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(33, 115, 70, 0.35);
}

.video-overlay-btn:hover {
    background: #1a5c3a;
}

/* (Reverted) removed custom blurred overlay styles */

.demo-placeholder iframe {
    border-radius: 8px;
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.demo-placeholder iframe:hover {
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

.play-icon {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

.placeholder-text {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 0;
}

/* Beta Section */
.beta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
}

.beta-section .section-title,
.beta-section .section-subtitle {
    color: white;
}

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

.beta-actions {
    margin: 40px 0;
}

.beta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.beta-section .btn-primary:hover {
    background-color: var(--light-grey);
    transform: translateY(-2px);
}

.team-note {
    margin-top: 40px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.team-note blockquote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.95);
}

.team-note cite {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer .logo-text {
    color: white;
    margin-bottom: 8px;
    display: inline-block;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-legal-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-legal-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-legal-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Show hamburger, hide desktop nav */
    .nav-hamburger {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    /* Enhanced Hero for Tablet */
    .hero {
        padding: 100px 0 70px;
        background: #ffffff;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "image"
            "actions";
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 38px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 24px;
        font-weight: 500;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image__img {
        max-width: 450px;
    }
    
    /* Why Section - Subtle card on tablet */
    .why-section .section-content {
        background: linear-gradient(135deg, #f9fdfb 0%, #f0fdf4 100%);
        padding: 32px 24px;
        border-radius: 16px;
        box-shadow: 0 2px 16px rgba(33, 115, 70, 0.08);
    }
    
    .section-title {
        font-size: 30px;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 19px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefit-card {
        padding: 32px 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }
    
    .demo-placeholder {
        max-width: 100%;
        margin: 20px auto 0;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    /* Enhanced Hero Section - More engaging on mobile */
    .hero {
        padding: 70px 0 40px;
        background: #ffffff;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "image"
            "actions";
        gap: 20px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
        font-weight: 700;
    }
    
    /* Keep green text same size on mobile */
    .hero-title span[style*="color: #217346"] {
        display: inline;
        font-size: 28px;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 0;
        font-weight: 400;
        color: #1f2937;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hero-image__img {
        max-width: 280px;
    }
    
    /* Enhanced CTA Buttons on mobile */
    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(33, 115, 70, 0.25);
        width: 100%;
        text-align: center;
    }
    
    .btn-secondary {
        box-shadow: none;
        border-width: 2px;
    }
    
    .btn-lg:active {
        transform: translateY(-1px) scale(0.98);
        box-shadow: 0 2px 8px rgba(33, 115, 70, 0.3);
    }
    
    /* Why Section - Card Style on Mobile */
    .why-section {
        background-color: white;
        padding: 40px 0;
    }
    
    .why-section .section-content {
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        padding: 28px 20px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(33, 115, 70, 0.1);
        border: 1px solid rgba(33, 115, 70, 0.1);
    }
    
    .why-section .section-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 16px;
        color: #217346;
    }
    
    .why-section .section-body {
        font-size: 16px;
        line-height: 1.7;
        color: #1f2937;
    }
    
    /* Benefits Section - Enhanced cards */
    .benefits-section {
        padding: 50px 0;
    }
    
    .benefit-card {
        padding: 28px 20px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
        border: 1px solid #f0f0f0;
    }
    
    .benefit-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    }
    
    section {
        padding: 50px 0;
    }
    
    /* Demo Section - More visual on mobile */
    .demo-section {
        padding: 50px 0;
    }
    
    .demo-section .section-title {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .demo-section .section-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Beta CTA Section - More engaging */
    .beta-section {
        padding: 50px 0;
    }
    
    .beta-section .section-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .beta-section .section-subtitle {
        font-size: 17px;
        line-height: 1.5;
    }
    
    .team-note {
        padding: 24px 20px;
        background-color: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .team-note blockquote {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* ===============================================
   ENHANCED MOBILE RESPONSIVENESS
   =============================================== */

/* Tablet and below */
@media (max-width: 768px) {
    /* Navigation improvements */
    .nav {
        padding: 12px 0;
    }
    
    /* Hamburger menu shown, desktop nav hidden */
    .nav-hamburger {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.3;
    }
    
    .hero-body {
        font-size: 17px;
    }
    
    /* Button improvements */
    .btn-lg {
        padding: 14px 28px;
        font-size: 17px;
        width: 100%;
        justify-content: center;
    }
    
    /* Modal improvements */
    .modal__content {
        max-width: 95vw;
        margin: 10px;
    }
    
    .modal__header {
        padding: 20px;
    }
    
    .modal__body {
        padding: 20px;
        max-height: 70vh;
    }
    
    /* Form improvements */
    .beta-form__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .beta-form__input,
    .beta-form__textarea {
        font-size: 16px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    /* Container adjustments */
    .container {
        padding: 0 12px;
    }
    
    /* Navigation mobile */
    .nav {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    /* Desktop nav hidden on mobile */
    .nav-actions {
        display: none;
    }
    
    /* Hamburger shown on mobile */
    .nav-hamburger {
        display: flex;
    }
    
    /* Mobile menu width adjustment for small screens */
    .nav-mobile-menu {
        width: 240px;
    }
    
    /* Hero mobile */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 26px;
        line-height: 1.4;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 16px;
    }
    
    .hero-body {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    /* Buttons mobile */
    .btn-lg {
        padding: 12px 24px;
        font-size: 16px;
        width: 100%;
    }
    
    .btn-sm {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    /* Sections mobile */
    .section-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .section-body {
        font-size: 15px;
    }
    
    /* Benefits mobile */
    .benefits-grid {
        gap: 16px;
    }
    
    .benefit-card {
        padding: 24px 16px;
    }
    
    .benefit-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .benefit-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .benefit-description {
        font-size: 14px;
    }
    
    /* Demo section mobile */
    .demo-placeholder {
        padding: 12px;
        margin: 20px auto 0;
    }
    
    .video-overlay-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* Modal mobile */
    .modal {
        padding: 8px;
    }
    
    .modal__content {
        max-width: 100%;
        margin: 0;
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .modal__header {
        padding: 16px;
    }
    
    .modal__title {
        font-size: 18px;
    }
    
    .modal__close {
        font-size: 20px;
    }
    
    .modal__body {
        padding: 16px;
        max-height: 60vh;
    }
    
    /* Success modal list spacing on mobile */
    .success-list {
        padding-left: 32px !important;
        margin-left: 0 !important;
    }
    
    /* Form mobile */
    .beta-form__field {
        margin-bottom: 12px;
    }
    
    .beta-form__label {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .beta-form__input,
    .beta-form__textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .beta-form__textarea {
        min-height: 60px;
    }
    
    .beta-form__checkbox-text {
        font-size: 13px;
    }
    
    .beta-form__submit {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
    }
    
    /* Footer mobile */
    .footer {
        padding: 32px 0;
    }
    
    .footer-text {
        font-size: 14px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-legal-separator {
        display: none;
    }
    
    .footer-legal-link {
        font-size: 13px;
    }
}

/* Extra small devices (iPhone SE, etc.) */
@media (max-width: 360px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    /* Green text same size on tiny screens */
    .hero-title span[style*="color: #217346"] {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .hero-image__img {
        max-width: 300px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    /* Why section more compact but still engaging */
    .why-section .section-content {
        padding: 24px 16px;
    }
    
    .section-title {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .benefit-card {
        padding: 24px 16px;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal__title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal__title-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #217346;
    margin: 8px 0 0 0;
    text-align: center;
}

.modal__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal__close:hover {
    color: var(--text-primary);
}

.modal__body {
    padding: 30px;
}

.modal__subtitle {
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 16px;
}

/* Beta Form Styles */
.beta-form {
    max-width: none;
}

.beta-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    margin-bottom: 20px;
}

.beta-form__field {
    display: flex;
    flex-direction: column;
}

.beta-form__label {
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 14px;
}

.beta-form__input,
.beta-form__textarea {
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.beta-form__input:focus,
.beta-form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 115, 70, 0.1);
}

.beta-form__textarea {
    resize: vertical;
    min-height: 80px;
    margin-bottom: 16px;
}

.beta-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.beta-form__checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.beta-form__checkbox-text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.beta-form__submit {
    width: 100%;
    padding: 14px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.beta-form__submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.beta-form__submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

.beta-form__error {
    background-color: #fee;
    color: #c53030;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid #feb2b2;
    font-size: 14px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal__content {
        max-height: 95vh;
    }
    
    .modal__header {
        padding: 20px;
    }
    
    .modal__title {
        font-size: 20px;
    }
    
    .modal__body {
        padding: 20px;
    }
    
    .beta-form__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .modal__header {
        padding: 16px;
    }
    
    .modal__body {
        padding: 16px;
    }
    
    .beta-form__input,
    .beta-form__textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Logo Image Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 40px; /* Reduced from 50px (20% smaller) */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-image {
        height: 30px; /* Reduced from 38px (20% smaller) */
    }
}
