/* CSS Custom Properties */
:root {
    /* Colors */
    --color-primary: #1d4ed8;
    --color-primary-hover: #1e40af;
    --color-primary-light: #dbeafe;
    --color-primary-light-border: #93c5fd;
    
    --color-secondary: #3282b8;
    --color-secondary-dark: #1e3a8a;
    --color-secondary-darker: #0c1532;
    
    --color-gradient-hero-start: #bbe1fa;
    --color-gradient-hero-middle: #0f4c75;
    --color-gradient-hero-end: #3282b8;
    
    --color-gradient-features-start: #3282b8;
    --color-gradient-features-middle: #1e40af;
    --color-gradient-features-end: #1e3a8a;
    
    --color-gradient-screenshots-start: #1e3a8a;
    --color-gradient-screenshots-middle: #1e293b;
    --color-gradient-screenshots-end: #0c1532;
    
    --color-gradient-cta-start: #0c1532;
    --color-gradient-cta-middle: #1e293b;
    --color-gradient-cta-end: #334155;
    
    --color-text-primary: #1a1a1a;
    --color-text-white: #ffffff;
    --color-text-white-90: rgba(255, 255, 255, 0.9);
    --color-text-gray: #94a3b8;
    --color-text-gray-light: #cbd5e1;
    --color-text-gray-dark: #374151;
    
    --color-bg-white: #ffffff;
    --color-bg-dark: #0f172a;
    --color-bg-card: rgba(255, 255, 255, 0.1);
    --color-bg-card-hover: rgba(255, 255, 255, 0.15);
    
    --color-border-light: rgba(255, 255, 255, 0.2);
    --color-border-light-hover: rgba(255, 255, 255, 0.3);
    --color-border-subtle: rgba(0, 0, 0, 0.05);
    
    --color-fish-body: #6b7280;
    --color-fish-stroke: #7a8594;
    --color-fish-light: #ffff00;
    --color-fish-eye: #ecf0f1;
    --color-fish-pupil: #374151;
    
    /* Animation Durations */
    --duration-fast: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.6s;
    --duration-wave: 15s;
    --duration-wave-flow: 8s;
    --duration-bubble: 7s;
    --duration-jellyfish: 3s;
    --duration-eating: 1.5s;
    --duration-approach: 2s;
    --duration-swim-away: 3s;
    
    /* Spacing */
    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 40px;
    --spacing-lg: 60px;
    --spacing-xl: 100px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 25px;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 0 20px;
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-normal: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 800;
    
    /* Z-index */
    --z-navbar: 1000;
    --z-modal: 2000;
    --z-hero-content: 3;
    --z-hero-waves: 2;
    --z-angler-fish: 5;
    --z-skip-nav: 10000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-subtle);
    z-index: var(--z-navbar);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.sign-in-btn {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-pill);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--duration-normal) ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.sign-in-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.sign-in-btn:hover::before {
    left: 100%;
}

.sign-in-btn:hover {
    background: rgba(29, 78, 216, 0.1);
    color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
}

/* Hero Section */
.hero {
    padding: 200px 0 80px;
    background: linear-gradient(180deg, var(--color-gradient-hero-start) 0%, var(--color-gradient-hero-middle) 50%, var(--color-gradient-hero-end) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 0;
    width: 150%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C100,20 150,100 200,60 C250,20 300,100 400,60 L400,0 L0,0 Z' opacity='.3' fill='%23fff'/%3E%3Cpath d='M0,40 C80,10 120,70 200,40 C280,10 320,70 400,40 L400,0 L0,0 Z' opacity='.5' fill='%23fff'/%3E%3Cpath d='M0,20 C50,5 100,35 200,20 C300,5 350,35 400,20 L400,0 L0,0 Z' fill='%23fff'/%3E%3C/svg%3E") repeat-x;
    background-size: 400px 120px;
    animation: wave 15s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    z-index: 2;
}

.wave-container {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 600px;
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 300px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    animation: wave-flow 8s ease-in-out infinite;
}

.wave:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.7;
}

.wave:nth-child(2) {
    animation-delay: -2s;
    opacity: 0.5;
    animation-duration: 10s;
}

.wave:nth-child(3) {
    animation-delay: -4s;
    opacity: 0.3;
    animation-duration: 12s;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(-200px);
    }
}

@keyframes wave-flow {
    0%, 100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-20px) rotate(180deg);
    }
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: bubble-rise linear infinite;
    pointer-events: none;
}

@keyframes bubble-rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.whale-burst {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: burst-particle 2s ease-out forwards;
}

@keyframes burst-particle {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.angler-fish {
    position: absolute;
    right: -200px;
    top: 65%;
    width: 140px;
    height: 84px;
    transform: translateY(-50%);
    z-index: 5;
    opacity: 0;
    transition: all 2s ease-out;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.3));
}

.angler-fish svg {
    width: 100%;
    height: 100%;
}

/* Angler fish swimming toward button */
.angler-fish.swim-to-button {
    right: 48%;
    opacity: 1;
    transition: all 2s ease-out;
    animation: approach-float 2s ease-out;
}

/* Angler fish eating animation */
.angler-fish.eating {
    animation: eating-motion 1.5s ease-in-out;
}

/* Angler fish swimming away */
.angler-fish.swim-away {
    right: 90%;
    opacity: 0.7;
    transition: all 3s ease-in;
    animation: satisfied-swim 3s ease-in;
}

@keyframes approach-float {
    0% {
        transform: translateY(-50%) rotate(0deg) scaleX(1);
    }
    50% {
        transform: translateY(-55%) rotate(-3deg) scaleX(1.05);
    }
    100% {
        transform: translateY(-50%) rotate(-1deg) scaleX(1);
    }
}

@keyframes eating-motion {
    0%, 100% {
        transform: translateY(-50%) rotate(-1deg) scaleX(1);
    }
    25% {
        transform: translateY(-45%) rotate(2deg) scaleX(1.1);
    }
    50% {
        transform: translateY(-55%) rotate(-3deg) scaleX(1.15);
    }
    75% {
        transform: translateY(-48%) rotate(1deg) scaleX(1.05);
    }
}

@keyframes satisfied-swim {
    0% {
        transform: translateY(-50%) rotate(-1deg) scaleX(1);
    }
    50% {
        transform: translateY(-40%) rotate(5deg) scaleX(0.9);
    }
    100% {
        transform: translateY(-45%) rotate(3deg) scaleX(0.8);
    }
}


.jellyfish {
    position: absolute;
    font-size: 40px;
    z-index: 2;
    opacity: 0;
    transition: all 3s ease-out;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.jellyfish-left {
    left: -150px;
    top: 20%;
    animation: jellyfish-pulse 3s ease-in-out infinite;
}

.jellyfish-right {
    right: -150px;
    top: 70%;
    animation: jellyfish-pulse 3.5s ease-in-out infinite;
    animation-delay: 1s;
}

.jellyfish-left.swim-in {
    left: 10%;
    opacity: 0.8;
}

.jellyfish-right.swim-in {
    right: 10%;
    opacity: 0.8;
}

@keyframes jellyfish-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-10px) scale(1.05);
    }
    50% {
        transform: translateY(-5px) scale(0.95);
    }
    75% {
        transform: translateY(-15px) scale(1.02);
    }
}

.jellyfish-tentacles {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1));
    border-radius: 1px;
    animation: tentacle-sway 2s ease-in-out infinite;
}

.jellyfish-tentacles:nth-child(2) {
    left: 40%;
    animation-delay: 0.3s;
    height: 25px;
}

.jellyfish-tentacles:nth-child(3) {
    left: 60%;
    animation-delay: 0.6s;
    height: 35px;
}

@keyframes tentacle-sway {
    0%, 100% {
        transform: translateX(-50%) rotate(-2deg);
    }
    50% {
        transform: translateX(-50%) rotate(2deg);
    }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 20px;
}

.alpha-notice {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 15px 25px;
    display: inline-block;
    color: #1d4ed8;
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #3282b8 0%, #1e40af 50%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon-large {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Screenshots Section */
.screenshots-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #1e3a8a 0%, #1e293b 50%, #0c1532 100%);
    position: relative;
    overflow: hidden;
}

.screenshots-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.screenshots-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.screenshot-card:nth-child(even) {
    direction: rtl;
}

.screenshot-card:nth-child(even) .screenshot-content {
    direction: ltr;
}

.screenshot-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-image img {
    transform: scale(1.02);
}

.screenshot-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.screenshot-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0c1532 0%, #1e293b 50%, #334155 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cbd5e1;
}

.cta-button {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Button being eaten animation */
.cta-button.being-eaten {
    animation: button-eaten 1.5s ease-in-out forwards;
    transform-origin: center;
}

@keyframes button-eaten {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    30% {
        transform: scale(1.1) rotate(-5deg);
        opacity: 0.8;
    }
    60% {
        transform: scale(0.8) rotate(10deg);
        opacity: 0.5;
    }
    85% {
        transform: scale(0.3) rotate(-15deg);
        opacity: 0.2;
    }
    100% {
        transform: scale(0) rotate(30deg);
        opacity: 0;
    }
}

/* Apology notice container */
.apology-notice {
    margin-top: 40px;
    position: relative;
    text-align: center;
    min-height: 80px; /* Reserve space for content */
}

.apology-notice .cta-button {
    position: relative;
    z-index: 3;
}

.apology-text {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.apology-notice.fade-in .apology-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.apology-text p:first-child {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.apology-text p:last-child {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #cbd5e1;
}

.apology-text em {
    font-style: italic;
    color: #f1c40f;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.close {
    color: #94a3b8;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close:hover {
    color: #64748b;
}

.modal-content h2 {
    margin-bottom: 30px;
    color: #1e293b;
    text-align: center;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.submit-btn {
    width: 100%;
    background: transparent;
    color: #1d4ed8;
    border: 2px solid #1d4ed8;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.1), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: rgba(29, 78, 216, 0.1);
    color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(29, 78, 216, 0.3);
}

.sign-in-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.sign-in-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.sign-in-message.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 6px;
    background: transparent;
    color: transparent;
    padding: 8px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10000;
    transition: all 0.3s ease;
    outline: none;
}

.skip-nav:focus {
    top: 6px;
    background: #1d4ed8;
    color: white;
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Focus styles for better keyboard navigation */
button:focus,
input:focus,
a:focus,
.feature-card:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.close:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Disable specific animations */
    .wave,
    .bubble,
    .whale-burst,
    .hero::before {
        animation: none !important;
    }
    
    /* Hide angler fish completely */
    .angler-fish {
        display: none !important;
    }
    
    /* Disable jellyfish animations but keep them visible */
    .jellyfish {
        animation: none !important;
    }
    
    /* Remove transforms that create motion */
    .sign-in-btn:hover,
    .cta-button:hover,
    .feature-card:hover,
    .screenshot-card:hover {
        transform: none !important;
    }
    
    /* Keep functional transitions but make them instant */
    .sign-in-btn,
    .cta-button,
    .feature-card,
    .screenshot-card {
        transition: background-color 0.01ms, border-color 0.01ms, box-shadow 0.01ms !important;
    }
    
    /* CTA Section: Hide button and show apology notice immediately */
    .cta-button {
        display: none !important;
    }
    
    .apology-notice .apology-text {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        position: static !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .features-section h2, .cta-section h2, .screenshots-section h2 {
        font-size: 2rem;
    }
    
    .screenshot-card {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .screenshot-card:nth-child(even) {
        direction: ltr;
    }
    
    .screenshots-grid {
        gap: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}