/* ==================== */
/* CSS Variables & Reset */
/* ==================== */

:root {
    /* Color Palette */
    --color-primary: #0d9488;
    --color-primary-dark: #0f766e;
    --color-secondary: #f97316;
    --color-accent: #eab308;
    --color-white: #ffffff;
    --color-light: #f8fafc;
    --color-gray: #94a3b8;
    --color-dark: #0f172a;
    --color-darker: #020617;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    --gradient-secondary: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #06b6d4 50%, #f59e0b 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(2, 6, 23, 0.9) 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(13, 148, 136, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--color-darker);
    color: var(--color-white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ==================== */
/* Animated Stars Background */
/* ==================== */

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.stars,
.stars2,
.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 60px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 50px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 10px, #fff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite;
    opacity: 0.8;
}

.stars2 {
    background-image:
        radial-gradient(1px 1px at 100px 150px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 200px 100px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 150px 50px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 200px, #fff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 250px 250px;
    animation: twinkle 7s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 0.6;
}

.stars3 {
    background-image:
        radial-gradient(1px 1px at 75px 125px, #f0f0f0, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 175px 75px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 125px 175px, #fff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: twinkle 10s ease-in-out infinite;
    animation-delay: 2s;
    opacity: 0.5;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* ==================== */
/* Mountain Silhouette */
/* ==================== */

.mountain-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    z-index: 1;
    pointer-events: none;
}

.mountain-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mountain-path {
    fill: rgba(15, 23, 42, 0.95);
    animation: mountainFloat 20s ease-in-out infinite;
}

@keyframes mountainFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ==================== */
/* Floating Particles */
/* ==================== */

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ==================== */
/* Container & Layout */
/* ==================== */

.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg);
}

/* ==================== */
/* Header */
/* ==================== */

.header {
    text-align: center;
    padding: var(--spacing-lg) 0;
    animation: fadeInDown 1s ease-out;
}

.brand-name {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--color-white);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-xs);
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--gradient-primary);
    animation: expandWidth 1.5s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 60%;
    }
}

/* ==================== */
/* Hero Section */
/* ==================== */

.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) 0;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.main-heading {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #ffffff 0%, #14b8a6 40%, #06b6d4 70%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite, textFloat 3s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes textFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-gray);
    margin-bottom: var(--spacing-xl);
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeIn 1s ease-out 0.6s both;
}

/* ==================== */
/* Countdown Timer */
/* ==================== */

.countdown {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
    transition: all var(--transition-normal);
    animation: fadeInScale 0.8s ease-out both;
}

.countdown-item:nth-child(1) {
    animation-delay: 0.8s;
}

.countdown-item:nth-child(2) {
    animation-delay: 0.9s;
}

.countdown-item:nth-child(3) {
    animation-delay: 1s;
}

.countdown-item:nth-child(4) {
    animation-delay: 1.1s;
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.countdown-value {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== */
/* Subscribe Section */
/* ==================== */

.subscribe-section {
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 1s ease-out 1.2s both;
}

.subscribe-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: var(--color-gray);
}

.email-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.4);
}

.subscribe-btn {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.subscribe-btn:hover::before {
    width: 300px;
    height: 300px;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.subscribe-message {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--color-accent);
    min-height: 20px;
    animation: fadeIn var(--transition-normal);
}

/* ==================== */
/* Contact Section */
/* ==================== */

.contact-section {
    text-align: center;
    padding: var(--spacing-xl) 0;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.contact-heading {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ==================== */
/* Social Links */
/* ==================== */

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-link svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-normal);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 1;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* ==================== */
/* Footer */
/* ==================== */

.footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    color: var(--color-gray);
    font-size: 0.875rem;
    animation: fadeIn 1s ease-out 1.6s both;
}

/* ==================== */
/* Animations */
/* ==================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== */
/* Responsive Design */
/* ==================== */

@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md);
    }

    .hero-section {
        padding: var(--spacing-xl) 0;
    }

    .main-heading {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .countdown {
        gap: var(--spacing-sm);
    }

    .countdown-item {
        min-width: 80px;
        padding: var(--spacing-sm);
    }

    .subscribe-form {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        min-width: 100%;
    }

    .contact-link {
        font-size: 0.875rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 0.875rem;
        letter-spacing: 2px;
    }

    .countdown-item {
        min-width: 70px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .contact-links {
        width: 100%;
    }

    .contact-link {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ==================== */
/* Accessibility */
/* ==================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==================== */
/* Coming Soon Tooltip */
/* ==================== */

.coming-soon-tooltip {
    position: fixed;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.coming-soon-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}