/* ============================================
   AurAI - Global Stylesheet
   Brand Color: Deep Navy (#0d3b66)
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
    color: #1a1a2e;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #0d3b66; border-radius: 4px; }

/* ---- Gradient Utilities ---- */
.gradient-navy {
    background: linear-gradient(135deg, #0d3b66 0%, #1a5276 50%, #2e86de 100%);
}
.gradient-navy-dark {
    background: linear-gradient(135deg, #0a1929 0%, #0d3b66 50%, #1a5276 100%);
}
.gradient-text-navy {
    background: linear-gradient(135deg, #0d3b66, #2e86de);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-gold {
    background: linear-gradient(135deg, #c9a84c, #e8d5a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Hero ---- */
.hero-bg {
    background: linear-gradient(160deg, #0a1929 0%, #0d3b66 40%, #1a5276 70%, #102a43 100%);
    position: relative;
    overflow: hidden;
}
.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 80%; height: 200%;
    background: radial-gradient(ellipse, rgba(46,134,222,.08) 0%, transparent 70%);
    animation: heroFloat 20s ease-in-out infinite;
}
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -20%;
    width: 60%; height: 150%;
    background: radial-gradient(ellipse, rgba(201,168,76,.05) 0%, transparent 70%);
    animation: heroFloat 25s ease-in-out infinite reverse;
}
@keyframes heroFloat {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(30px,-30px); }
}

/* ---- Wave ---- */
.wave-pattern {
    position: absolute; bottom: 0; left: 0;
    width: 100%; overflow: hidden; line-height: 0;
}
.wave-pattern svg {
    position: relative; display: block;
    width: calc(100% + 1.3px); height: 80px;
}

/* ---- Cards ---- */
.card-hover {
    transition: all .4s cubic-bezier(.165,.84,.44,1);
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(13,59,102,.15);
}

/* ---- Section Divider ---- */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #0d3b66, transparent);
    max-width: 200px;
    margin: 0 auto;
}

/* ---- Timeline ---- */
.timeline-vertical { position: relative; }
.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0d3b66, #2e86de, #c9a84c);
    transform: translateX(-50%);
}
@media (max-width: 768px) {
    .timeline-vertical::before { left: 24px; }
}

/* ---- Particles ---- */
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: .3;
    animation: particleFloat 15s ease-in-out infinite;
}
@keyframes particleFloat {
    0%,100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(5px); }
}

/* ---- Logo Shimmer ---- */
.logo-shimmer { position: relative; overflow: hidden; }
.logo-shimmer::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.1) 50%, transparent 70%);
    animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
    0%,100% { transform: translate(-100%,-100%); }
    50% { transform: translate(100%,100%); }
}

/* ---- Mobile Menu ---- */
.mobile-menu {
    transform: translateX(100%);
    transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }

/* ---- Counter Animation ---- */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-count { animation: countUp .8s ease-out forwards; }

/* ---- Language Switcher ---- */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,.1);
    border-radius: 9999px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.15);
    transition: all .3s;
}
.lang-switch a {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
    letter-spacing: .5px;
}
.lang-switch a.active {
    background: white;
    color: #0d3b66;
}
.lang-switch a:not(.active) {
    color: rgba(255,255,255,.7);
}
.lang-switch a:not(.active):hover {
    color: white;
}

/* Scrolled nav lang switch */
.nav-scrolled .lang-switch {
    background: rgba(13,59,102,.08);
    border-color: rgba(13,59,102,.15);
}
.nav-scrolled .lang-switch a.active {
    background: #0d3b66;
    color: white;
}
.nav-scrolled .lang-switch a:not(.active) {
    color: #0d3b66;
}
