/* WATER BACKGROUND */
.water-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-gradient-dark);
}

.water-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.water-overlay {
    position: absolute;
    inset: 0;
    background: var(--water-overlay-video-gradient);
    z-index: var(--z-background);
    pointer-events: none;
}

/* MAIN CONTENT */
.home-main {
    position: relative;
    min-height: 100vh;
    z-index: var(--z-content);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--spacing-6xl) * 2) var(--spacing-2xl) calc(var(--spacing-6xl) * 2);
    position: relative;
    padding-bottom: max(calc(var(--spacing-6xl) * 2), calc(var(--spacing-6xl) + var(--spacing-4xl)) + var(--spacing-5xl));
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-accent);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #FFFFFF;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-accent {
    color: var(--text-accent);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: var(--z-button);
}

.hero-cta {
    padding: var(--spacing-lg) var(--spacing-3xl);
    font-size: var(--font-size-lg);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-5xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-xs);
    cursor: pointer;
    animation: fadeIn 1s ease-out 1s both;
    transition: color var(--transition-fast);
    z-index: var(--z-button);
}

.hero-scroll:hover {
    color: var(--text-accent);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
    opacity: 0.6;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* QUOTE SECTION */
.quote-section {
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}

.quote-card {
    max-width: 900px;
    padding: 60px 48px;
    text-align: center;
}

.quote-text-en {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 500;
    font-style: italic;
    color: #FFFFFF;
    line-height: 1.5;
    margin-bottom: 20px;
}

.quote-text-ko {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 32px;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar svg {
    width: 100%;
    height: auto;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.author-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* SECTION COMMON STYLES */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-accent);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* FEATURES SECTION */
.features-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--button-shadow-sm);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.feature-icon-schedule {
    background: #8B5CF6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.feature-icon-cert {
    background: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.feature-icon-brand {
    background: #10B981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.feature-icon-marketplace {
    background: #EC4899;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

.feature-icon-pool {
    background: #06B6D4;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    flex: 1;
}

.feature-arrow {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    transition: all var(--transition-normal);
    align-self: flex-end;
}

.feature-arrow svg {
    width: 20px;
    height: 20px;
    stroke: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-arrow {
    background: var(--primary);
    border-color: var(--primary);
}

.feature-card:hover .feature-arrow svg {
    stroke: white;
}

/* BRANDS SECTION */
.brands-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-4xl) var(--spacing-2xl);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

.brand-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.brand-name-text {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 2px;
    opacity: 0.95;
}

.brand-name {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.brand-link-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: all var(--transition-normal);
}

.brand-link-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--icon-color);
}

.brand-card:hover .brand-link-icon {
    opacity: 1;
    transform: translate(0, 0);
}

.brand-card:hover .brand-name-text {
    color: var(--text-accent);
}

/* CTA SECTION */
.cta-section {
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 500;
}

.cta-btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* FOOTER */
.footer-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(var(--blur-lg));
    -webkit-backdrop-filter: blur(var(--blur-lg));
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 64px 24px 32px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    text-decoration: none;
}

.footer-logo .logo-text {
    font-size: 28px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(var(--spacing-6xl) + var(--spacing-4xl)) var(--spacing-xl) calc(var(--spacing-6xl) + var(--spacing-4xl));
        padding-bottom: max(calc(var(--spacing-6xl) + var(--spacing-4xl)), calc(var(--spacing-6xl) + var(--spacing-4xl)) + var(--spacing-5xl));
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-bottom: var(--spacing-3xl);
    }
    
    .hero-cta,
    .hero-cta-secondary {
        width: 100%;
        padding: var(--spacing-lg) var(--spacing-3xl);
        font-size: var(--font-size-lg);
    }
    
    .hero-scroll {
        bottom: calc(var(--spacing-5xl) + var(--spacing-sm));
    }
    
    .quote-card {
        padding: var(--spacing-4xl) var(--spacing-2xl);
    }
    
    .quote-author {
        flex-direction: column;
        gap: 12px;
    }
    
    .author-info {
        align-items: center;
    }
    
    .features-section,
    .brands-section,
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-container {
        padding: var(--spacing-4xl) var(--spacing-2xl);
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .brand-card {
        padding: 32px 20px;
    }
    
    .brand-name-text {
        font-size: 22px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* SCROLL ANIMATIONS */
.quote-section,
.features-section,
.brands-section,
.cta-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-section.visible,
.features-section.visible,
.brands-section.visible,
.cta-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card,
.brand-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.visible,
.brand-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1),
.brand-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2),
.brand-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3),
.brand-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4),
.brand-card:nth-child(4) { transition-delay: 0.4s; }
