@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=space-grotesk@700&display=swap');

/* 1. Variables */
:root {
    --primary: #00B67A;
    --primary-light: #00d890;
    --dark: #1a1a1a;
    --gray: #666;
    --bg-light: #f5f7fa;
    --bg-dark: #f5f7fa;
}

/* 2. Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fa;
    background-size: 400% 400%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: gradientBG 15s ease infinite;
}

/* 3. Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Rest of your existing styles, updated with CSS variables */
header {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    overflow: hidden;
    contain: layout style paint;
}

.wave {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 350px;
    z-index: 1;
    will-change: transform;
    transform: translate3d(0,0,0);
    backface-visibility: hidden;
}

.wave-path {
    fill: #f5f7fa;
}

.wave1 .wave-path {
    fill-opacity: 0.9;
}

.wave2 .wave-path {
    fill-opacity: 0.6;
}

.wave3 .wave-path {
    fill-opacity: 0.3;
}

.wave1 {
    z-index: 1;
}

.wave2 {
    z-index: 2;
}

.wave3 {
    z-index: 3;
}

.header-image {
    max-height: 40px;
    display: block;
    margin: 0 auto;
}

.logo {
    font-family: 'Clash Display', sans-serif;
    font-size: 5.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
    transition: all 0.3s ease;
    z-index: 10;
    background: linear-gradient(120deg, 
        #1a1a1a 0%,
        #1a1a1a 85%,
        #00B67A 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 1px rgba(26, 26, 26, 0.2);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    filter: brightness(0.98) contrast(1.02);
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.15),
        -2px 2px 4px rgba(0, 182, 122, 0.1);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
}

.slogan {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 1rem;
    background: linear-gradient(120deg, #00B67A, #00d890);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.slogan:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.97);
    padding: 4rem 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    max-width: 700px;
    width: 95%;
    transition: all 0.3s ease;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
}

.container:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.container::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, #00B67A22, #00d89022);
    border-radius: 17px;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.container:hover::before {
    opacity: 1;
}

h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    background: linear-gradient(120deg, #1a1a1a, #00B67A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    margin-bottom: 1.4rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 168px;
    height: 3px;
    background: #00B67A;
    border-radius: 2px;
}

.message-lines {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 3rem 0;
}

.highlight-text {
    font-size: 2rem;
    font-weight: 500;
    color: #00B67A;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.main-text {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

.cta-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: #00B67A;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.cta-text:hover {
    transform: translateY(-2px);
    color: #00d890;
}

.cta-text em {
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.status {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 182, 122, 0.1);
    color: #00B67A;
    border-radius: 8px;
    font-weight: 500;
}

.message-lines p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.message-lines p:last-child {
    margin-bottom: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    color: #00B67A;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 182, 122, 0.1);
}

.message-lines p:hover {
    transform: translateX(5px);
}

.status-message {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(0, 182, 122, 0.1);
    border-radius: 8px;
}

.subscribe {
    margin-top: 2rem;
}

.subscribe-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #00B67A;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #00B67A;
}

.subscribe-button:hover {
    background: transparent;
    color: #00B67A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 182, 122, 0.2);
}

.subscribe-frame {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.subscribe-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.9);
    z-index: -1;
    opacity: 1;
    transition: opacity 0.3s;
}

.subscribe-frame.loaded::before {
    opacity: 0;
}

.subscribe-frame iframe {
    display: block;
    width: 100%;
    height: 288px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .logo {
        font-size: 3.8rem;
    }
    
    .slogan {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.96rem;
    }
    
    .container {
        padding: 2rem;
    }
    
    .subscribe-button {
        padding: 0.8rem 1.6rem;
        font-size: 0.9rem;
    }
    
    .message-lines p:last-child {
        font-size: 1.4rem;
    }
    
    .highlight-text {
        font-size: 1.2rem;
    }
    
    .main-text {
        font-size: 1.1rem;
    }
    
    .cta-text {
        font-size: 1.6rem !important;
    }
    
    .status {
        font-size: 1rem !important;
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientText {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.decorative-element {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #00B67A11, transparent);
    border-radius: 50%;
    filter: blur(30px);
    z-index: -1;
}

.top-right {
    top: -100px;
    right: -100px;
}

.bottom-left {
    bottom: -100px;
    left: -100px;
}

@keyframes waveMotion1 {
    from { transform: translate3d(0, 0, 0) scale(1.2); }
    to { transform: translate3d(-50%, 0, 0) scale(1.2); }
}

@keyframes waveMotion2 {
    from { transform: translate3d(-25%, 0, 0) scale(1.2); }
    to { transform: translate3d(-75%, 0, 0) scale(1.2); }
}

@keyframes waveMotion3 {
    from { transform: translate3d(-50%, 0, 0) scale(1.2); }
    to { transform: translate3d(0%, 0, 0) scale(1.2); }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    }
    
    .container {
        background-color: rgba(40, 40, 40, 0.97);
    }
    
    .main-text {
        color: #aaa;
    }
    
    .status-message {
        background: rgba(0, 182, 122, 0.2);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
} 