/* ===== GurryShark Design System ===== */

:root {
    --navy: #0f2a4a;
    --navy-light: #1a3a5c;
    --navy-dark: #091d35;
    --gold: #c5a065;
    --gold-light: #d4b87a;
    --gold-pale: rgba(197, 160, 101, 0.1);
    --bg: #f8f9fb;
    --bg-alt: #f0f2f5;
    --white: #ffffff;
    --text: #1a1a2e;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ===== Header & Navigation ===== */
header {
    background: rgba(15, 42, 74, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    padding: 0 50px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(15, 42, 74, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    height: 64px;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
}

header.scrolled .logo img {
    height: 32px;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

nav a:hover {
    color: #fff;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--gold);
}

nav a.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 8px;
}

.lang-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(197, 160, 101, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    z-index: 200;
    overflow: hidden;
    border: 1px solid var(--border);
}

.lang-dropdown.show {
    display: block;
    animation: dropIn 0.2s ease;
}

.lang-dropdown a {
    display: block;
    padding: 10px 18px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: var(--gold-pale);
    color: var(--navy);
}

.lang-dropdown a::after {
    display: none;
}

/* ===== Hero Sections ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
    overflow: hidden;
    margin-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 
        radial-gradient(circle at 20% 50%, var(--gold) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, var(--gold) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, var(--gold) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px, 100px 100px;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
}

.hero-glow-1 {
    background: var(--gold);
    top: -200px;
    right: -100px;
}

.hero-glow-2 {
    background: #3b82f6;
    bottom: -200px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 strong {
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* Page Hero (smaller) */
.page-hero {
    position: relative;
    padding: 140px 40px 80px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    text-align: center;
    overflow: hidden;
}

.page-hero .hero-bg-pattern {
    opacity: 0.03;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.page-hero .subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    letter-spacing: 1px;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 0 40px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .accent {
    color: var(--gold);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== Content Sections ===== */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-narrow {
    max-width: 900px;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-heading h2 {
    font-size: 36px;
    font-weight: 300;
    color: var(--navy);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-heading p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Cards ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.card-body {
    padding: 32px;
}

.card-accent {
    border-top: 3px solid var(--gold);
}

/* ===== Footer ===== */
footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.5);
    padding: 50px 40px 30px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-brand img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.4);
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-links a::after {
    display: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .page-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
        height: 64px;
    }

    header.scrolled {
        height: 56px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.35s ease;
        box-shadow: -4px 0 30px rgba(0,0,0,0.3);
        z-index: 1000;
    }

    nav.open {
        right: 0;
    }

    nav a {
        font-size: 15px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        width: 100%;
    }

    nav a::after {
        display: none;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 10px;
        align-self: flex-start;
    }

    .hero {
        min-height: 70vh;
        margin-top: 64px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .page-hero {
        padding: 110px 20px 60px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .stats-section {
        padding: 0 20px;
        margin-top: -30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    footer {
        padding: 40px 20px 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }
}
