@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
    /* Color Palette - Blue & Cyan */
    --primary-color: #2563eb;
    /* Blue 600 */
    --primary-hover: #1d4ed8;
    --secondary-color: #06b6d4;
    /* Cyan 500 */
    --background-color: #0f172a;
    /* Slate 900 for modern dark mode */
    --surface-color: #1e293b;
    /* Slate 800 */
    --surface-light: #334155;
    /* Slate 700 */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --success-color: #10b981;
    --danger-color: #ef4444;

    /* Spacing & Layout */
    --container-max-width: 1000px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    flex: 1;
    padding: 2rem 0 4rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: preloaderPulse 0.8s ease-in-out infinite alternate;
}

@keyframes preloaderPulse {
    from {
        transform: scale(0.95);
        opacity: 0.7;
    }

    to {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Header (Glassmorphism - Semi-transparent with Blur) */
header {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

/* Scroll Fade-In Animation (JS-driven, fail-safe) */
/* .scroll-hidden is added by JS — content is ALWAYS visible without JS */
.scroll-hidden {
    opacity: 0;
    transform: translateY(24px);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Staggered delay for cards */
.card-grid>.scroll-visible:nth-child(2) {
    transition-delay: 0.08s;
}

.card-grid>.scroll-visible:nth-child(3) {
    transition-delay: 0.16s;
}

.card-grid>.scroll-visible:nth-child(4) {
    transition-delay: 0.24s;
}

/* 3D Tilt */
.tilt-element {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.3s ease;
    will-change: transform;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    cursor: default;
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    min-width: 210px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 200;
    flex-direction: column;
    gap: 0;
}

.nav-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2.5rem 0 2.5rem;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--surface-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

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

.card h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    color: white;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Section Divider */
.section-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
    /* glow effect */
    margin: 3rem auto 1.5rem;
    /* Reduced spacing */
    border-radius: 2px;
    opacity: 1;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Footer */
footer {
    background: var(--surface-color);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.lang-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    min-width: 160px;
    padding: 0.4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 200;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.lang-dropdown button:hover {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
}

.lang-dropdown button.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Utils */
.text-center {
    text-align: center;
}

.text-secondary {
    color: var(--text-secondary);
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Tokushoho Contact Reveal */
.reveal-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reveal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    width: fit-content;
}

.reveal-btn:hover {
    background: rgba(37, 99, 235, 0.2);
}

.reveal-challenge {
    display: none;
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.reveal-challenge.show {
    display: block;
}

.reveal-challenge input {
    padding: 0.5rem 0.75rem;
    background: var(--background-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    width: 120px;
}

.reveal-challenge .btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 4px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-family: inherit;
    margin-left: 0.5rem;
    transition: all var(--transition-fast);
}

.reveal-challenge .btn-sm:hover {
    background: var(--primary-hover);
}

.revealed-info {
    display: none;
    color: var(--text-primary);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}

.revealed-info.show {
    display: block;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered delay for cards */
.card-grid .card.reveal:nth-child(1) {
    transition-delay: 0s;
}

.card-grid .card.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.card-grid .card.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.card-grid .card.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* 3D Tilt */
.tilt-element {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.3s ease;
    will-change: transform;
}

/* Search Toggle */
.search-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.search-toggle:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.search-modal.open {
    display: flex;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.search-modal-content {
    position: relative;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    width: 90%;
    max-width: 520px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-results {
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: rgba(37, 99, 235, 0.1);
}

.search-result-title {
    font-weight: 500;
}

.search-result-url {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.search-no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.search-hint {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: right;
}

/* Language dropdown scroll support for more items */
.lang-dropdown {
    max-height: 280px;
    overflow-y: auto;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--surface-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 200;
    margin-left: 1rem;
}

/* 拡大部分: モバイルメニューボタンのタップ領域を15px広げる */
.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
}



.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 0;
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 9px;
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* Mobile Services Link in Header */
.mobile-services-link {
    display: none;
}

@media (max-width: 768px) {
    .mobile-services-link {
        display: block;
        margin-left: auto;
        color: var(--primary-color);
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        white-space: nowrap;
        padding: 0.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

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

    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 150;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all var(--transition-normal);
        margin: 0;
    }

    nav ul.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    nav a {
        font-size: 1.25rem;
    }

    .nav-dropdown {
        text-align: center;
    }

    /* Override hover for mobile, use JS toggle instead */
    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.active>.dropdown-menu {
        display: flex !important;
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        display: none;
        min-width: unset;
        width: 100%;
        margin-top: 1rem;
        padding: 0;
    }

    .dropdown-menu a {
        font-size: 1.1rem;
        padding: 0.75rem;
        color: var(--text-secondary);
    }

    .dropdown-menu a:hover {
        background: transparent;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-content {
    flex-grow: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-btn {
    white-space: nowrap;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Contact Form Loading */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.spinner {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}