/*
Theme Name: Genics Premium
Theme URI: https://genics.jp
Author: Genics
Author URI: https://genics.jp
Description: A premium, high-end theme for Genics with a focus on stylish aesthetics and modern UI patterns.
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: genics-wireframe
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

:root {
    --max: 1240px;
    --gap: 30px;
    --r: 24px;

    /* Genics Brand Colors - Sophisticated Palatte */
    --primary: #5DB0D4;
    --primary-light: #C5E6F3;
    --primary-lighter: #E6F4FA;
    --primary-dark: #3A89AD;
    --accent: #214F8B;
    --accent-dark: #15345E;
    --accent-light: #3E72B3;

    /* Gradients - Modern & Vibrant */
    --gradient-primary: linear-gradient(135deg, #5DB0D4 0%, #3A89AD 100%);
    --gradient-accent: linear-gradient(135deg, #214F8B 0%, #15345E 100%);
    --gradient-hero: linear-gradient(165deg, #fdfbfb 0%, #ebedee 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 251, 252, 0.8) 100%);

    /* Colors */
    --bg: #ffffff;
    --bg-light: #F9FBFC;
    --ink: #121820;
    --muted: #64748b;
    --muted-light: #94a3b8;

    /* Borders */
    --line: rgba(226, 232, 240, 0.8);
    --line-glass: rgba(255, 255, 255, 0.3);

    /* Shadows - Premium Elevation */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

    /* Animation */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for sticky header */
}

body {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* Background Decoration - Subtler touch */
body {
    background-color: #fff;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

/* Header - Stylish Glassmorphism */
header.site {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.site.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom-color: transparent;
}

.headerbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: var(--max);
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px;
    color: var(--ink);
    letter-spacing: -0.5px;
}

.logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(93, 176, 212, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--ink);
    z-index: 1001;
    position: relative;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle .icon-close {
    display: none;
}

header.site.menu-open .menu-toggle .icon-menu {
    display: none;
}

header.site.menu-open .menu-toggle .icon-close {
    display: block;
}

.header-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 60px;
}

nav.primary {
    display: flex;
    gap: 32px;
}

@media(max-width: 1023px) {
    .menu-toggle {
        display: flex;
    }

    .header-nav-wrap {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 40px;
        margin-left: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    header.site.menu-open .header-nav-wrap {
        transform: translateX(-117.6%);
        /* Adjust based on right -100% and width */
        right: 0;
        transform: none;
        /* simpler: just use right: 0 */
    }

    /* Let's simplify the menu transition */
    .header-nav-wrap {
        right: -100%;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    header.site.menu-open .header-nav-wrap {
        right: 0;
    }

    nav.primary {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        margin-bottom: 40px;
    }

    nav.primary a {
        font-size: 18px;
        width: 100%;
        border-bottom: 1px solid var(--line);
        padding: 12px 0;
    }

    .ctas {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .ctas .btn {
        width: 100%;
    }
}

nav.primary a {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

nav.primary a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

nav.primary a:hover {
    color: var(--primary);
}

nav.primary a:hover::after {
    width: 100%;
}

/* Buttons - Modern Styling */
.ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: none;
}

.btn.primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 8px 16px rgba(33, 79, 139, 0.2);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(33, 79, 139, 0.3);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.5);
    color: var(--accent);
    border: 1px solid var(--primary-light);
}

.btn.ghost:hover {
    background: var(--primary-light);
}

/* Hero Section - EXPRESSIVE */
.kv {
    padding: 220px 0 140px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--line);
}

.kv .title {
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 32px;
    color: var(--ink);
}

.kv .lead {
    font-size: 22px;
    color: var(--muted);
    max-width: 650px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.hero-image-wrapper img,
.hero-image-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    border: none;
}

/* Sections - CLEAN & SPACIOUS */
.lp-section {
    padding: 120px 0;
}

.lp-section.alt {
    background: var(--bg-light);
}

.lp-eyebrow {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.lp-h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.lp-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 700px;
    margin-bottom: 60px;
}

/* Cards - GLASS & PREMIUM */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card .hd {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ink);
}

.card .bd {
    font-size: 16px;
    color: var(--muted);
}

/* Badges - STYLISH */
.badge {
    padding: 6px 16px;
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Media Mentions - Trust Indicators */
.media-mentions {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.media-mention {
    font-size: 15px;
    color: var(--muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 16px;
}

.media-mention::before {
    content: "";
    position: absolute;
    left: 0;
    width: 2px;
    height: 16px;
    background: var(--primary);
    opacity: 0.6;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

@media(min-width: 768px) {
    .grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(min-width: 1024px) {
    .grid.main-2 {
        grid-template-columns: 1.4fr 1fr;
        align-items: center;
    }
}

/* Anchor Bar - Glass */
.anchorbar {
    position: sticky;
    top: 100px;
    z-index: 900;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    margin-bottom: 40px;
}

.anchorbar .inner {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 4px;
}

.anchorbar a {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    padding: 6px 16px;
    border-radius: 50px;
    transition: var(--transition);
}

.anchorbar a:hover {
    background: var(--primary-lighter);
    color: var(--primary);
}

/* Media Logos */
.media-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
}


.media-logos img {
    height: 30px;
    width: auto;
}

/* Arrow Link Component */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.arrow-link span {
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.arrow-link svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.arrow-link:hover {
    color: var(--primary);
}

.arrow-link:hover span {
    border-bottom-color: var(--primary);
}

.arrow-link:hover svg {
    transform: translateX(6px);
}


/* Footer - Modern & Premium */
footer.footer {
    background: linear-gradient(180deg, #0a1628 0%, #121820 100%);
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

@media(max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo-wrapper {
    margin-bottom: 8px;
}

.footer-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 400px;
}

.footer-address {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.footer-address p {
    margin: 0 0 8px 0;
}

.footer-address p:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

/* Navigation Grid */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media(max-width: 768px) {
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Custom Utilities */
.mt40 {
    margin-top: 40px !important;
}

.mt60 {
    margin-top: 60px !important;
}

.mt80 {
    margin-top: 80px !important;
}

.mt24 {
    margin-top: 24px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}


.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wfbox {
    background: var(--bg-light);
    border: 1px solid var(--line);
    padding: 20px;
    border-radius: 16px;
    font-size: 15px;
}

.steps .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 24px;
    box-shadow: 0 8px 16px rgba(93, 176, 212, 0.3);
}

/* Responsive Overrides */
@media(max-width: 768px) {
    .kv .title {
        font-size: 44px;
    }

    .lp-h2 {
        font-size: 32px;
    }

    .headerbar {
        padding: 12px 20px;
    }

    .container {
        padding: 0 20px;
    }
}