/* Root variables - Premium Sunlight & Glow Glassmorphism Theme */
:root {
    --bg-dark: #121A21;
    --bg-surface: rgba(26, 38, 48, 0.65);
    --bg-gradient: linear-gradient(135deg, #121A21 0%, #1A2E3B 100%);
    --accent-sun: #E67E22;
    --accent-glow: #F39C12;
    --accent-light: #FFDC34;
    --text-main: #F5F6FA;
    --text-muted: #A4B0BE;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --max-width: 1100px;
}

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Glowing background ambient lights */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header styles */
.navbar {
    background: rgba(18, 26, 33, 0.8);
    border-bottom: 1px solid rgba(230, 126, 34, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-sun) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.4);
}

.brand-title {
    font-size: 1.4rem;
    color: var(--text-main);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: var(--accent-glow);
    display: block;
    letter-spacing: 0.1em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    color: var(--text-muted);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-sun), var(--accent-light));
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: var(--text-main);
}

.nav-btn {
    background: linear-gradient(135deg, var(--accent-sun) 0%, var(--accent-glow) 100%);
    color: var(--text-main) !important;
    padding: 12px 28px !important;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
    background: linear-gradient(135deg, var(--accent-glow) 0%, var(--accent-light) 100%);
    color: #121A21 !important;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 160px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.35;
    margin-bottom: 28px;
    background: linear-gradient(120deg, #FFFFFF 30%, var(--accent-light) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 44px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(230, 126, 34, 0.3);
    border-radius: 12px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover::before {
    transform: translate(10px, 10px);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-sun) 0%, var(--accent-glow) 100%);
    color: var(--text-main);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(230, 126, 34, 0.5);
    background: linear-gradient(135deg, var(--accent-glow) 0%, var(--accent-light) 100%);
    color: #121A21;
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding: 17px 38px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 20px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-sun);
}

/* Sections */
.section {
    padding: 110px 0;
}

.section-alt {
    background: rgba(26, 38, 48, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 110px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-tag {
    font-size: 0.88rem;
    color: var(--accent-sun);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.section-desc {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Glassmorphism Cards */
.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.card-sunlight {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 44px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.card-sunlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-sun), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.card-sunlight:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(230, 126, 34, 0.3);
    box-shadow: 0 20px 45px rgba(230, 126, 34, 0.15);
}

.card-sunlight h3 {
    font-size: 1.45rem;
    margin-bottom: 18px;
    color: var(--text-main);
}

.card-sunlight p {
    color: var(--text-muted);
    font-size: 0.98rem;
    text-align: justify;
}

/* Steps - Line Connector design */
.step-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-item {
    display: flex;
    gap: 32px;
    position: relative;
    background: rgba(26, 38, 48, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 36px;
    border-radius: 10px;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-sun), var(--accent-light));
    border-radius: 10px 0 0 10px;
}

.step-num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--accent-light);
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 220, 52, 0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.faq-item {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 30px;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(230, 126, 34, 0.3);
}

.faq-q {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.faq-a {
    font-size: 1rem;
    color: var(--text-muted);
    padding-left: 26px;
    text-align: justify;
}

/* Table */
.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th,
.profile-table td {
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-table th {
    font-family: var(--font-serif);
    color: var(--accent-light);
    width: 35%;
    font-weight: 700;
}

.profile-table td {
    color: var(--text-main);
}

.map-container {
    height: 380px;
    border-radius: 12px;
    border: 2px solid rgba(230, 126, 34, 0.2);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Glass Contact Form */
.contact-form {
    background: rgba(26, 38, 48, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(18, 26, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-family: var(--font-sans);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-sun);
    background: rgba(18, 26, 33, 0.85);
    box-shadow: 0 0 12px rgba(230, 126, 34, 0.2);
}

/* Footer styling */
.footer {
    background: #0D141A;
    color: var(--text-main);
    padding: 90px 0 40px 0;
    border-top: 4px solid var(--accent-sun);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--accent-sun);
    margin-bottom: 24px;
}

.footer-col p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(13, 20, 26, 0.95);
    color: var(--text-main);
    border: 1px solid var(--accent-sun);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    max-width: 420px;
    z-index: 1000;
    display: none;
}

.cookie-banner-title {
    font-family: var(--font-serif);
    color: var(--accent-light);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.cookie-banner-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.cookie-banner-btns {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-btn {
    background: linear-gradient(135deg, var(--accent-sun) 0%, var(--accent-glow) 100%);
    color: var(--text-main);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

@media(max-width: 768px) {

    .hero-grid,
    .grid-3,
    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 24px;
        gap: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}