/* Takushoku Bank - Ultra-Refined Minimalist Design
   Navy, Black, White | Sora + Noto Sans JP
   Generous Negative Space | Geometric Precision */

:root {
    /* Colors - Navy, Black, White Only */
    --navy: #001F3F;
    --navy-light: #003D7A;
    --black: #000000;
    --white: #FFFFFF;
    --gray-lightest: #F8F8F8;
    --gray-light: #E5E5E5;
    --gray-medium: #CCCCCC;

    /* Typography */
    --font-primary: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-japanese: 'Noto Sans JP', sans-serif;

    /* Spacing - Ultra Generous */
    --space-xs: 16px;
    --space-sm: 32px;
    --space-md: 64px;
    --space-lg: 96px;
    --space-xl: 128px;
    --space-xxl: 160px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--black);
    background: var(--white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Responsive Utilities */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo:hover {
    opacity: 0.7;
}

.logo-mark {
    width: 48px;
    height: 48px;
    background: var(--navy);
    position: relative;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark-inner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--white);
    border-radius: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-jp {
    font-family: var(--font-japanese);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.logo-en {
    font-size: 10px;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

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

.nav-button {
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.nav-button:hover {
    background: var(--navy-light);
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-trigger {
    background: transparent;
    border: 1px solid var(--gray-medium);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
}

.lang-trigger:hover {
    border-color: var(--navy);
}

.lang-current {
    letter-spacing: 0.05em;
}

.lang-icon {
    transition: var(--transition);
}

.lang-selector.active .lang-icon {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 2px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 1001;
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--black);
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-light);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-lightest);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: transparent;
    border: 1px solid var(--gray-medium);
    padding: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    border-color: var(--navy);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 112px;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: calc(100vh - 112px);
    background: var(--white);
    border-left: 1px solid var(--gray-light);
    transform: translateX(100%);
    transition: var(--transition-slow);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.mobile-link {
    color: var(--black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--navy);
}

.mobile-button {
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 2px;
    text-align: center;
    margin-top: var(--space-xs);
}

/* Security Banner */
.security-banner {
    margin-top: 112px;
    background: var(--gray-lightest);
    border-bottom: 1px solid var(--gray-light);
    padding: 16px 0;
}

.security-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.security-icon {
    flex-shrink: 0;
    color: var(--navy);
}

.security-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--black);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.security-link {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.security-link:hover {
    color: var(--navy-light);
}

@media (max-width: 768px) {
    .security-banner {
        margin-top: 96px;
    }

    .security-banner-container {
        padding: 0 var(--space-sm);
        gap: 12px;
    }

    .security-text {
        font-size: 13px;
    }

    .security-icon {
        width: 18px;
        height: 18px;
    }
}

/* Hero Section */
.hero {
    margin-top: 0;
    padding: var(--space-xxl) 0;
    background: var(--white);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--navy);
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    border-radius: 2px;
}

.hero-title {
    font-size: 80px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-line {
    display: block;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--black);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto var(--space-md);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.btn {
    padding: 16px 48px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 0.02em;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

/* Services Section */
.services {
    padding: var(--space-xxl) 0;
    background: var(--gray-lightest);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 56px;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--black);
    font-weight: 400;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.service-card {
    background: var(--white);
    padding: var(--space-md);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--navy);
}

.service-card-featured {
    border: 2px solid var(--navy);
}

.service-number {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
    letter-spacing: 0.1em;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.service-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--black);
    font-weight: 400;
}

/* About Section */
.about {
    padding: var(--space-xxl) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-title {
    font-size: 56px;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.about-visual {
    width: 100%;
    height: 500px;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    height: 100%;
}

.visual-box {
    background: var(--navy);
    transition: var(--transition);
}

.visual-box:hover {
    background: var(--navy-light);
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-md) 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.land-acknowledgement {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.land-ack-ainu {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    line-height: 1.6;
    color: var(--white);
}

.land-ack-text {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-regulatory {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 64px;
    }

    .section-title {
        font-size: 48px;
    }

    .about-title {
        font-size: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --space-sm: 24px;
        --space-md: 40px;
        --space-lg: 64px;
        --space-xl: 80px;
        --space-xxl: 100px;
    }

    .nav-container {
        padding: 0 var(--space-sm);
    }

    .hero {
        margin-top: 100px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .service-card {
        padding: var(--space-sm);
    }

    .about-title {
        font-size: 36px;
    }

    .about-text p {
        font-size: 16px;
    }

    .about-visual {
        height: 300px;
    }

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

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

    .section-title {
        font-size: 32px;
    }

    .about-title {
        font-size: 32px;
    }
}
/* ===================================
   CAROUSEL & PREMIUM HOMEPAGE STYLES
   Add these to the end of styles.css
   =================================== */

/* Security Notice (subtle, dismissible) */
.security-notice {
    background: var(--gray-lightest);
    border-bottom: 1px solid var(--gray-light);
    padding: 12px 0;
    margin-top: 112px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.security-notice-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-notice-icon {
    flex-shrink: 0;
    color: var(--navy);
}

.security-notice-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: var(--black);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.security-notice-link {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.security-notice-link:hover {
    color: var(--navy-light);
}

.security-notice-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-medium);
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    transition: var(--transition);
}

.security-notice-close:hover {
    color: var(--black);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: var(--white);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 600px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.slide-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xxl) var(--space-md);
    width: 100%;
}

.slide-text {
    max-width: 800px;
}

.slide-title {
    font-size: 64px;
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: var(--space-md);
}

.slide-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: var(--space-lg);
    max-width: 700px;
}

.slide-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: var(--space-lg);
    left: 0;
    right: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-light);
    color: var(--black);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 300;
}

.carousel-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.carousel-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--navy);
    width: 32px;
    border-radius: 6px;
}

.indicator:hover {
    background: var(--navy-light);
}

/* Products Section - Updated */
.products {
    padding: var(--space-xxl) 0;
    background: var(--gray-lightest);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.product-card {
    background: var(--white);
    padding: var(--space-lg);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    border-radius: 2px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 31, 63, 0.08);
}

.product-featured {
    border: 2px solid var(--navy);
    position: relative;
}

.product-featured::before {
    content: "Featured";
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--navy);
    color: var(--white);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
}

.product-number {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-medium);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.1em;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--black);
}

.product-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
}

/* Footer - Updated for better brand visibility */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--space-sm);
}

.footer-brand-jp {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-japanese);
}

.footer-brand-en {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* About Section */
.about {
    padding: var(--space-xxl) 0;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--black);
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .slide-title {
        font-size: 48px;
    }

    .slide-subtitle {
        font-size: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .security-notice {
        margin-top: 96px;
        padding: 10px 0;
    }

    .security-notice-container {
        padding: 0 var(--space-sm);
        gap: 10px;
    }

    .security-notice-text {
        font-size: 12px;
    }

    .hero-carousel {
        min-height: 500px;
    }

    .carousel-slide {
        min-height: 500px;
    }

    .slide-content {
        padding: var(--space-lg) var(--space-sm);
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .slide-actions {
        flex-direction: column;
    }

    .slide-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .carousel-controls {
        bottom: var(--space-md);
        padding: 0 var(--space-sm);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* ===================================
   CAROUSEL & PREMIUM HOMEPAGE STYLES
   Add these to the end of styles.css
   =================================== */

/* Security Notice (subtle, dismissible) */
.security-notice {
    background: var(--gray-lightest);
    border-bottom: 1px solid var(--gray-light);
    padding: 12px 0;
    margin-top: 112px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.security-notice-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-notice-icon {
    flex-shrink: 0;
    color: var(--navy);
}

.security-notice-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: var(--black);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.security-notice-link {
    color: var(--navy);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.security-notice-link:hover {
    color: var(--navy-light);
}

.security-notice-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-medium);
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    transition: var(--transition);
}

.security-notice-close:hover {
    color: var(--black);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: var(--white);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 600px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.slide-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xxl) var(--space-md);
    width: 100%;
}

.slide-text {
    max-width: 800px;
}

.slide-title {
    font-size: 64px;
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: var(--space-md);
}

.slide-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: var(--space-lg);
    max-width: 700px;
}

.slide-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: var(--space-lg);
    left: 0;
    right: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-light);
    color: var(--black);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 300;
}

.carousel-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.carousel-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--navy);
    width: 32px;
    border-radius: 6px;
}

.indicator:hover {
    background: var(--navy-light);
}

/* Products Section - Updated */
.products {
    padding: var(--space-xxl) 0;
    background: var(--gray-lightest);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.product-card {
    background: var(--white);
    padding: var(--space-lg);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    border-radius: 2px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 31, 63, 0.08);
}

.product-featured {
    border: 2px solid var(--navy);
    position: relative;
}

.product-featured::before {
    content: "Featured";
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--navy);
    color: var(--white);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
}

.product-number {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-medium);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.1em;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--black);
}

.product-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
}

/* Footer - Updated for better brand visibility */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--space-sm);
}

.footer-brand-jp {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    font-family: var(--font-japanese);
}

.footer-brand-en {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* About Section */
.about {
    padding: var(--space-xxl) 0;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--black);
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .slide-title {
        font-size: 48px;
    }

    .slide-subtitle {
        font-size: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .security-notice {
        margin-top: 96px;
        padding: 10px 0;
    }

    .security-notice-container {
        padding: 0 var(--space-sm);
        gap: 10px;
    }

    .security-notice-text {
        font-size: 12px;
    }

    .hero-carousel {
        min-height: 500px;
    }

    .carousel-slide {
        min-height: 500px;
    }

    .slide-content {
        padding: var(--space-lg) var(--space-sm);
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .slide-actions {
        flex-direction: column;
    }

    .slide-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .carousel-controls {
        bottom: var(--space-md);
        padding: 0 var(--space-sm);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* ===================================
   REFINED HEADER - WORLD-CLASS BANKS
   Less is More | Massive Negative Space
   Inspired by: Goldman Sachs, JP Morgan, HSBC
   =================================== */

/* Updated CSS Variables - Even More Space */
:root {
    /* Spacing - Extreme Generosity */
    --space-xs: 20px;
    --space-sm: 40px;
    --space-md: 80px;
    --space-lg: 120px;
    --space-xl: 160px;
    --space-xxl: 200px;

    /* Header specific */
    --header-height-desktop: 80px;
    --header-height-mobile: 64px;
}

/* ===================================
   DESKTOP NAVIGATION
   Ultra-minimal, maximum breathing room
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    z-index: 1000;
    height: var(--header-height-desktop);
}

.nav-container {
    max-width: 1600px; /* Wider max width for more breathing room */
    margin: 0 auto;
    padding: 0 var(--space-md); /* 80px horizontal padding */
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===================================
   LOGO - Simplified & Refined
   =================================== */

.nav-brand {
    flex-shrink: 0;
}

.nav-brand a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-brand a:hover {
    opacity: 0.7;
}

.brand-text-jp {
    font-family: var(--font-japanese);
    font-size: 24px; /* Larger, more prominent */
    font-weight: 600;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.01em;
}

.brand-text-en {
    font-size: 9px;
    font-weight: 600;
    color: var(--black);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* ===================================
   NAVIGATION LINKS - Minimal Desktop
   Goldman Sachs approach: Only essential links
   =================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm); /* 40px between links */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
    padding: 8px 0; /* Vertical padding for easier clicking */
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-links a.active {
    color: var(--navy);
    font-weight: 500;
}

/* Special styling for Sign In link */
.nav-link-signin {
    color: var(--navy) !important;
    font-weight: 500;
}

/* ===================================
   BUTTONS - Refined & Minimal
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    padding: 14px 32px; /* More generous padding */
    font-size: 13px;
    border-radius: 2px;
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 12px 28px;
    font-size: 12px;
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--navy);
    padding: 14px 32px;
    font-size: 13px;
    border-radius: 2px;
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

/* ===================================
   LANGUAGE SELECTOR - Ultra Subtle
   JP Morgan approach: Minimal, no flags
   =================================== */

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.language-selector {
    position: relative;
}

.language-button {
    background: transparent;
    border: 1px solid var(--gray-light);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
    font-size: 12px;
    color: var(--black);
}

.language-button:hover {
    border-color: var(--navy);
    background: rgba(0, 31, 63, 0.02);
}

.current-language {
    font-weight: 500;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 2px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--black);
    cursor: pointer;
    transition: background 0.2s ease;
}

.language-option:hover {
    background: var(--gray-lightest);
    color: var(--navy);
}

/* ===================================
   MOBILE NAVIGATION
   HSBC approach: Clean hamburger, full-screen menu
   =================================== */

.mobile-menu-toggle {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle:hover span {
    background: var(--navy);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--space-md) var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 999;
}

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

.mobile-menu a {
    color: var(--black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
    transition: color 0.2s ease;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--navy);
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   =================================== */

@media (max-width: 768px) {
    .navbar {
        height: var(--header-height-mobile);
    }

    .nav-container {
        padding: 0 var(--space-sm); /* 40px on mobile */
    }

    .brand-text-jp {
        font-size: 20px;
    }

    .brand-text-en {
        font-size: 8px;
    }

    /* Hide desktop navigation */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .language-selector {
        margin-left: auto;
        margin-right: 12px;
    }
}

/* ===================================
   CONTAINER & SPACING UPDATES
   More breathing room globally
   =================================== */

.container {
    max-width: 1600px; /* Wider containers */
    margin: 0 auto;
    padding: 0 var(--space-md); /* 80px padding */
}

@media (max-width: 1200px) {
    .container {
        padding: 0 var(--space-sm); /* 40px on tablets */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm); /* 40px on mobile, more generous than before */
    }
}

/* ===================================
   SECTION SPACING - Massive Margins
   Goldman Sachs approach: Generous vertical rhythm
   =================================== */

section {
    padding: var(--space-xxl) 0; /* 200px top/bottom */
}

@media (max-width: 1024px) {
    section {
        padding: var(--space-xl) 0; /* 160px on tablets */
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-lg) 0; /* 120px on mobile */
    }
}

/* ===================================
   TYPOGRAPHY SPACING
   More breathing room in text
   =================================== */

h1, h2, h3, h4, h5, h6 {
    margin-bottom: var(--space-sm); /* 40px below headings */
    line-height: 1.2;
}

p {
    margin-bottom: var(--space-xs); /* 20px below paragraphs */
    line-height: 1.8; /* More generous line height */
}

p:last-child {
    margin-bottom: 0;
}

/* ===================================
   GRID SPACING
   More gap between grid items
   =================================== */

.grid {
    display: grid;
    gap: var(--space-md); /* 80px gaps */
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid {
        gap: var(--space-sm); /* 40px on tablets */
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* ===================================
   SUBTLE SCROLL BEHAVIOR
   Premium feel
   =================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height-desktop) + 40px);
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: calc(var(--header-height-mobile) + 24px);
    }
}

/* ===================================
   FOCUS STATES - Accessible & Beautiful
   =================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ===================================
   SUBTLE ANIMATIONS
   Premium polish
   =================================== */

@media (prefers-reduced-motion: no-preference) {
    * {
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
