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

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 16px;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow: hidden;
    height: 100vh;
}

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

/* Page Wrapper */
.page-wrapper {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.header-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
}

.header-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    animation: fadeInDown 1s ease-out;
}

.logo-wrapper {
    width: 170px;
}

.logo-link {
    display: block;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* Hero Image */
.hero-image-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2) brightness(0.4);
    animation: zoomIn 20s ease-out infinite alternate;
}

.gradient-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 140px);
    padding: 120px 0 20px;
    z-index: 10;
}

.hero-grid {
    margin-top: 300px !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.hero-content {
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 570px;
}

/* Subtitle */
.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.subtitle-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
}

.subtitle-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Title */
.title-container {
    margin-bottom: 24px;
    max-width: 570px;
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    font-family: 'Inter Tight', sans-serif;
}

.title-highlight {
    color: #cccccc;
    white-space: nowrap;
}

/* Description */
.description-container {
    margin-bottom: 40px;
    max-width: 494px;
}

.description-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Email Form */
.email-form-container {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.email-form {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 4px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    color: #ffffff;
    outline: none;
    font-family: inherit;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-btn {
    background: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.subscribe-btn:active {
    transform: translateY(0);
}

/* Success/Error Messages */
.success-message,
.error-message {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.success-message {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-icon {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
    font-weight: bold;
}

.error-message {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ff9999;
}

/* Gradient Overlay */
.gradient-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* Footer */
.footer-wrapper {
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.footer-bottom {
    padding: 20px 0;
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.footer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.copyright-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    html, body {
        overflow-y: auto;
        height: auto;
    }
    
    .page-wrapper {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
    
    .hero-section {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .hero-content,
    .description-container {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .container-default {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 80px 0 30px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .description-text {
        font-size: 16px;
    }
    
    .input-wrapper {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
    }
    
    .email-input,
    .subscribe-btn {
        padding: 14px 20px;
    }
    
    .subscribe-btn {
        border-radius: 40px;
    }
    
    .footer-card {
        padding: 16px;
    }
}

@media (max-width: 479px) {
    .main-title {
        font-size: 2rem;
    }
    
    .logo-wrapper {
        width: 140px;
    }
    
    .subtitle-text {
        font-size: 14px;
    }
    
    .description-text {
        font-size: 15px;
    }
}

/* Focus States for Accessibility */
.email-input:focus,
.subscribe-btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.logo-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
    border-radius: 8px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}