:root {
    /* Premium Color Palette */
    --primary-hue: 24;
    --primary-sat: 100%;
    --primary-light: 60%;

    --brand-primary: #ff6b35;
    --brand-secondary: #f7931e;
    --brand-gradient: linear-gradient(135deg, #ff6b35, #f7931e);
    --brand-gradient-subtle: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.05));

    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;

    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);

    /* Elevation & Depth */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 16px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 30px 60px -15px rgba(15, 23, 42, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.25);

    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Animation Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(255, 107, 53, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(247, 147, 30, 0.03) 0%, transparent 40%);
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s var(--ease-out-expo);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-medium);
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-primary);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--brand-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 0.8rem 2rem;
    background: var(--text-dark);
    color: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--brand-primary);
}

/* Hero Section - High End */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    opacity: 0.15;
    filter: blur(0px);
    /* Sharp background for premium feel */
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0.8) 50%, rgba(248, 250, 252, 0.4) 100%);
}

.hero-content {
    max-width: 100%;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .hero-bg {
        object-position: center bottom;
        object-fit: cover;
        opacity: 0.4;
    }

    .hero-overlay-gradient {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0.4) 100%);
    }

    .hero-content {
        text-align: left;
        margin: 0;
    }

    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-family: 'Dela Gothic One', sans-serif;
    font-size: clamp(4.5rem, 11vw, 8.5rem);
    font-weight: 400;
    /* Dela Gothic One only has 400 */
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    color: var(--text-dark);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #FF6B35 0%, #FF9F43 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 {
    transition-delay: 0.1s;
}

.stagger-delay-2 {
    transition-delay: 0.2s;
}

.stagger-delay-3 {
    transition-delay: 0.3s;
}

/* Features Section (Alternating) */
.section {
    padding: 8rem 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 8rem;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-content {
    direction: ltr;
}

.feature-image-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.feature-image {
    width: 100%;
    height: auto;
    transition: transform 0.8s var(--ease-out-expo);
}

.feature-image-wrapper:hover .feature-image {
    transform: scale(1.05);
}

.feature-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* Mechanism Section */
.mechanism-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.mechanism-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}

/* Connecting Line */
.mechanism-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    z-index: 0;
    opacity: 0.3;
}

.mechanism-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out-expo);
}

.mechanism-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    border: 4px solid #f8fafc;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Ecosystem Note */
.ecosystem-note {
    margin-top: 4rem;
    background: #1e293b;
    border-radius: 24px;
    padding: 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ecosystem-note::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
}

.ecosystem-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .mechanism-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mechanism-grid::before {
        width: 2px;
        height: 80%;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(180deg, transparent, var(--brand-primary), transparent);
    }
}

/* Services Grid - Glassmorphism 2.0 */
.services-section {
    background: #fff;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-label {
    color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: var(--shadow-md);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--brand-primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

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

.card-icon-wrapper {
    width: 72px;
    height: 72px;
    background: var(--brand-gradient-subtle);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--brand-primary);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: white;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.15);
}

.card-link:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Service Header (Icon + Logo) */
.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-header .card-icon-wrapper {
    margin-bottom: 0;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Service Character Image (Bottom Right) */
.service-char-img-absolute {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 160px;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    /* On top */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.service-card:hover .service-char-img-absolute {
    transform: scale(1.1) rotate(-5deg) translateY(-15px);
}

.service-card-img-absolute {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 170px;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    /* On top */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transform: rotate(-10deg);
}

.service-card:hover .service-card-img-absolute {
    transform: scale(1.1) rotate(-5deg) translateY(-20px);
}

/* Service Logos */
.service-logo {
    height: 50px;
    /* Increased from 42px */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 0;
}

.service-logo-lg {
    height: 75px;
    /* Increased from 64px */
}

/* Rate Display */
.rate-display {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff5f0;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rate-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.rate-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.rate-unit {
    font-size: 1rem;
    font-weight: 600;
}

.rate-condition {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Simulation Section */
.simulation-table-wrapper {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.05);
    margin-top: 3rem;
}

.simulation-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.simulation-table th {
    background: #f8fafc;
    padding: 1.5rem;
    font-weight: 700;
    color: var(--text-medium);
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.simulation-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-dark);
    font-size: 1rem;
}

.simulation-table tr:last-child td {
    border-bottom: none;
}

.col-service {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

.col-service-icon {
    font-size: 1.5rem;
}

.col-points {
    font-weight: 800;
    color: var(--brand-primary);
    font-size: 1.2rem;
}

.total-row {
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
}

.total-row td {
    padding: 2rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.total-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.total-points {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

@media (max-width: 768px) {

    .simulation-table th,
    .simulation-table td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .col-service-icon {
        display: none;
    }

    .total-points {
        font-size: 1.8rem;
    }
}

.annual-row {
    background: linear-gradient(135deg, #fffbf0 0%, #fff 100%);
    border-top: 2px solid #fef3c7;
}

.annual-row td {
    padding: 2rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.annual-points {
    font-size: 3rem;
    font-weight: 800;
    color: #d97706;
    /* Gold-ish orange */
    line-height: 1;
    text-shadow: 0 2px 4px rgba(217, 119, 6, 0.1);
}

@media (max-width: 768px) {
    .annual-points {
        font-size: 2.2rem;
    }
}

/* Featured Service Card */
.featured-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
}

.featured-badges {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-popular {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.badge-stats {
    background: #f1f5f9;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
}

.featured-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.featured-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.featured-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 300px;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s var(--ease-out-expo);
}

.featured-card:hover .featured-img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .featured-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }

    .featured-visual {
        min-height: 200px;
        margin-bottom: 1rem;
    }

    .featured-badges {
        justify-content: center;
    }

    .featured-content h3 {
        font-size: 2rem;
    }
}

.featured-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

/* Newsletter - Premium */
.newsletter-section {
    padding: 0 2rem 6rem;
}

.newsletter-box {
    background: var(--text-dark);
    background-image: url('newsletter_bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    padding: 6rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Dark overlay for readability */
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid #f1f5f9;
}

.footer-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 4rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--brand-primary);
}

.copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

/* Mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

@media (max-width: 960px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 5rem;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-image-wrapper {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-links {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bg {
        opacity: 0.1;
    }
}

/* Footer Logo Interaction */
.footer-logo-interactive {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.footer-logo-interactive:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1) rotate(-3deg);
}

/* KV Modal */
.kv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.kv-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.kv-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kv-modal.active .kv-modal-content {
    transform: scale(1);
}

.kv-modal-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.kv-modal-caption {
    color: white;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.kv-modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.kv-modal-close:hover {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .kv-modal-close {
        top: -40px;
        right: 0;
    }
}

/* Ranking Section */
.ranking-section {
    padding: 0 2rem 6rem;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ranking-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranking-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rank-badge {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    color: var(--text-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.rank-points {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.pt-unit {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-left: 0.2rem;
}

/* Top 3 Styling */
.rank-1 {
    background: linear-gradient(135deg, #fffbf0, #fff);
    border: 1px solid #fef3c7;
}

.rank-1 .rank-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
    font-size: 1.2rem;
    width: 42px;
    height: 42px;
}

.rank-1 .rank-points {
    color: #d97706;
    font-size: 1.5rem;
    font-weight: 800;
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
    color: white;
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: white;
}

@media (max-width: 768px) {
    .ranking-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}