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

:root {
    --primary-red: #B9002A;
    --primary-blue: #014286;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-gray);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Header */
.header {
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    text-align: center;
}

.logo-img {
    max-width: 250px;
    height: auto;
    display: block;
}

/* Main Content */
.main {
    position: relative;
    z-index: 10;
}

/* Hero Section - Full Width */
.contact-section {
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: calc(100vh - 100px);
    width: 100%;
}

/* Gradient Overlay for Hero Section */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.contact-info {
    padding-left: 0;
}

.waitlist-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.waitlist-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 3px var(--shadow-dark);
    margin-top: 0;
    margin-bottom: 40px;
    text-align: center;
}

/* Left side content styles */
.coming-soon-title {
    font-family: 'Rancho', cursive;
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 400;
    margin: 0 0 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px var(--shadow-dark);
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

.description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 1px 1px 2px var(--shadow-dark);
    margin-bottom: 0;
}

/* Features Section */
.features-wrapper {
    background: var(--white);
    padding: 60px 0;
}

.features-section {
    padding: 60px 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    color: var(--dark-gray);
}

.feature-icon {
    margin-bottom: 15px;
}

.feature-svg {
    width: 64px;
    height: 64px;
    fill: var(--primary-blue);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
}

/* Messages */
.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--white);
    border: 1px solid rgba(76, 175, 80, 0.5);
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

.message.error {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid var(--white);
}

/* Waitlist Form Styles */
.waitlist-form {
    max-width: 100%;
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--white);
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-align: center;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.privacy-notice {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

.privacy-link {
    text-align: center;
    margin-top: 15px;
}

.privacy-link a {
    color: var(--white);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

.privacy-link a:hover {
    opacity: 0.8;
}

/* Submit Button */
.submit-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px auto 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.submit-btn span {
    color: var(--primary-blue);
}

.submit-btn .btn-icon {
    stroke: var(--primary-blue);
    width: 18px;
    height: 18px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: var(--white);
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    width: 100%;
}

.footer p {
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px var(--shadow-dark);
}

/* Privacy Policy Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: var(--white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.close {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.close:hover,
.close:focus {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
    color: var(--dark-gray);
    line-height: 1.6;
}

.modal-body h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 25px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-section {
        padding: 40px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }

    .contact-info {
        text-align: center;
    }

    .waitlist-wrapper {
        padding: 30px;
    }

    .coming-soon-title {
        font-size: 5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .features-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 15px;
    }
    
    .coming-soon-title {
        font-size: 4rem;
    }

    .features-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 20px;
        max-height: calc(85vh - 70px);
    }
    
    .close {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 20px 10px;
    }
    
    .contact-container {
        padding: 0 15px;
    }

    .coming-soon-title {
        font-size: 3rem;
    }
    
    .waitlist-title {
        font-size: 1.8rem;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .waitlist-wrapper {
        padding: 20px;
    }
}

/* Landscape orientation for tablets */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 0 40px;
    }

    .contact-info {
        text-align: left;
    }

    .waitlist-wrapper {
        padding: 40px;
    }

    .coming-soon-title {
        font-size: 5.5rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .description {
        font-size: 1.05rem;
    }
}
