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

:root {
    --navy-dark: #0a1929;
    --navy-medium: #112d45;
    --navy-light: #1a3f5c;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --accent-blue: #4a9eff;
    --gradient-start: #0a1929;
    --gradient-end: #1a3f5c;
    --wave-color-1: rgba(74, 158, 255, 0.2);
    --wave-color-2: rgba(74, 158, 255, 0.15);
    --wave-color-3: rgba(74, 158, 255, 0.12);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* ===================================
   Animated Ocean Background with Realistic Waves
   =================================== */
.ocean-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 200%;
    height: 250px;
    transform: translateX(-50%);
}

.wave1 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C150,90 200,20 300,60 C400,100 500,30 600,70 C700,110 800,40 900,80 C1000,120 1100,50 1200,90 L1200,120 L0,120 Z' fill='rgba(74,158,255,0.2)' /%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 120px;
    bottom: 0;
    opacity: 0.9;
    animation: wave-animation-1 18s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

.wave2 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C100,20 250,100 350,50 C450,0 550,80 650,40 C750,0 850,70 950,30 C1050,80 1150,20 1200,50 L1200,120 L0,120 Z' fill='rgba(74,158,255,0.15)' /%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 120px;
    bottom: 30px;
    opacity: 0.7;
    animation: wave-animation-2 24s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite reverse;
}

.wave3 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,80 C200,30 300,110 450,60 C600,10 700,90 850,50 C1000,10 1100,80 1200,40 L1200,120 L0,120 Z' fill='rgba(74,158,255,0.12)' /%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 120px;
    bottom: 60px;
    opacity: 0.5;
    animation: wave-animation-3 30s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

@keyframes wave-animation-1 {
    0% {
        background-position-x: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
    100% {
        background-position-x: 1200px;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes wave-animation-2 {
    0% {
        background-position-x: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
    100% {
        background-position-x: 1200px;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes wave-animation-3 {
    0% {
        background-position-x: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        background-position-x: 1200px;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===================================
   Header & Logo
   =================================== */
.header {
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.logo-container {
    animation: fadeInDown 1s ease-out;
}

.logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* ===================================
   Main Content & Hero Section
   =================================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    padding: 1rem 1.5rem;
    overflow-y: auto;
}

.hero-section {
    text-align: center;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 1.2s ease-out;
}

/* ===================================
   Wavy Text Animation (Replacing Graphics)
   =================================== */
.animated-graphic {
    margin-bottom: 2rem;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wavy-text-container {
    display: inline-flex;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 20px rgba(74, 158, 255, 0.5),
                 0 0 40px rgba(74, 158, 255, 0.3),
                 0 8px 16px rgba(0, 0, 0, 0.4);
}

.wavy-letter {
    display: inline-block;
    animation: wave-letter 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
    transform-origin: center;
}

@keyframes wave-letter {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(-5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(5deg);
    }
}

/* ===================================
   Content Wrapper
   =================================== */
.content-wrapper {
    animation: fadeIn 1.5s ease-out 0.3s both;
}

.status-badge {
    display: inline-block;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out 0.5s both;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    animation: slideInRight 1s ease-out 0.7s both;
}

.tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    animation: fadeIn 1.5s ease-out 0.9s both;
}

.contact-info {
    margin-top: 2rem;
    animation: fadeIn 1.5s ease-out 1.1s both;
}

.domain {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    padding: 0.6rem 1.8rem;
    /* border: 2px solid var(--accent-blue);
    border-radius: 50px; */
    transition: all 0.3s ease;
    background: rgba(74, 158, 255, 0.1);
}

.domain:hover {
    background: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 158, 255, 0.3);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: rgba(10, 25, 41, 0.6);
    padding: 1.2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
    display: inline;
}

.footer-content a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ===================================
   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);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media screen and (min-width: 768px) {
    .header {
        justify-content: flex-start;
        padding: 1.8rem 3rem;
    }
    
    .logo {
        height: 85px;
    }
    
    .hero-section {
        padding: 0 2rem;
    }
    
    .animated-graphic {
        margin-bottom: 2.5rem;
    }
}

@media screen and (max-height: 700px) {
    .header {
        padding: 1rem 1.5rem;
    }
    
    .logo {
        height: 55px;
    }
    
    .animated-graphic {
        margin-bottom: 1.5rem;
        min-height: 150px;
    }
    
    .wavy-text-container {
        font-size: 3.5rem;
    }
    
    .status-badge {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .main-title {
        margin-bottom: 0.6rem;
    }
    
    .subtitle {
        margin-bottom: 0.8rem;
    }
    
    .tagline {
        margin-bottom: 1.2rem;
    }
    
    .contact-info {
        margin-top: 1.5rem;
    }
    
    .footer {
        padding: 1rem 1.5rem;
    }
}

@media screen and (max-width: 767px) {
    .logo {
        height: 60px;
    }
    
    .wavy-text-container {
        font-size: 4rem;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .domain {
        font-size: 0.95rem;
        padding: 0.55rem 1.4rem;
    }
    
    .status-badge {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .header {
        padding: 1rem 1rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .main-content {
        padding: 0.8rem 1rem;
    }
    
    .animated-graphic {
        margin-bottom: 1.5rem;
        min-height: 120px;
    }
    
    .wavy-text-container {
        font-size: 3rem;
        gap: 0.3rem;
    }
    
    .status-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* ===================================
   Accessibility & Performance
   =================================== */
@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 accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
}

/* Print styles */
@media print {
    .ocean-background,
    .animated-graphic {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
