/*
Theme Name: CreateSea ver3
Theme URI: https://creat-webmk.com/
Author: CreateSea LLC
Author URI: https://creat-webmk.com/
Description: Blue-based modern corporate theme for AI consulting
Version: 3.1.1
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: createsea
*/

:root {
    /* Refined Corporate Blue Palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --accent: #10b981;
    --accent-dark: #059669;
    --accent-glow: rgba(16, 185, 129, 0.15);

    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.8;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-number {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-weight: 700;
}

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

/* Header - WordPress compatible */
header,
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.logo,
.logo a {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

/* WordPress custom logo */
.custom-logo-link {
    display: flex;
    align-items: center;
}

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

nav,
.site-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a,
.site-navigation a,
.primary-menu a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    font-weight: 500;
}

nav a:hover,
.site-navigation a:hover,
.primary-menu a:hover {
    color: var(--primary);
}

/* WordPress menu */
.primary-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.primary-menu li {
    list-style: none;
}

.nav-contact,
.primary-menu .nav-contact a {
    background: var(--primary);
    color: var(--text-white) !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-contact:hover,
.primary-menu .nav-contact a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 123, 244, 0.3);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section with Three.js - Scroll-locked */
.hero-wrapper {
    height: 350vh;
    position: relative;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: sticky;
    top: 0;
    overflow: visible;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f1fd 50%, #f0f7ff 100%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150vh;
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
    padding: 8px 16px;
    background: var(--primary-light);
    border-radius: 100px;
}

.hero-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-glow);
    z-index: -1;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s var(--ease-out-expo);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

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

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

.btn-secondary:active {
    transform: scale(0.98);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out both;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.3s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

.stat-number {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .unit {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px var(--shadow);
    border: 1px solid var(--border);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.hero-card-icon svg {
    width: 24px;
    height: 24px;
}

.hero-card-title {
    font-size: 18px;
    font-weight: 700;
}

.hero-card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    max-width: 85%;
    line-height: 1.6;
}

.chat-bubble.user {
    background: var(--primary);
    color: var(--text-white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
    background: var(--bg-secondary);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-radius: 16px;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* Floating elements */
.floating-badge {
    position: absolute;
    background: var(--bg);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow);
    border: 1px solid var(--border);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-badge.top-right {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.floating-badge.bottom-left {
    bottom: 40px;
    left: -40px;
    animation-delay: 2s;
}

.badge-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Why Message Section */
.why-message {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
}

.why-message-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-message .section-label {
    font-size: 32px;
    letter-spacing: 0.05em;
}

.why-message-content {
    max-width: 640px;
}

.why-message-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-message-visual img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.why-headline {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    line-height: 1.3;
    color: var(--text-primary);
}

.why-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.why-body p {
    margin-bottom: 20px;
}

.why-body p:last-child {
    margin-bottom: 0;
}

.why-conclusion {
    color: var(--text-primary);
    font-weight: 500;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Results Section */
.results {
    padding: 120px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.results-main {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.results-content {
    text-align: left;
}

.results-content .section-label {
    display: inline-block;
    font-size: 32px;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.results-text {
    max-width: 400px;
}

.results-headline {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.results-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.section-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
}

.results .section-label {
    color: var(--primary);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.result-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}

.result-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.result-card:hover .result-icon {
    transform: scale(1.05);
}

.result-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    transition: transform 0.4s var(--ease-out-expo);
}

.result-icon svg {
    width: 28px;
    height: 28px;
}

.result-number {
    font-family: 'Outfit', 'DM Sans', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.result-unit {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.result-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section - Scroll Triggered */
.services-scroll {
    background: var(--bg);
    position: relative;
}

.services-scroll-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 200vh;
    position: relative;
}

.services-scroll-header {
    text-align: center;
    padding: 40px 0 60px;
    pointer-events: none;
}

.services-scroll-header .section-label {
    display: inline-block;
    font-size: 32px;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.services-scroll-header .section-title {
    margin-bottom: 0;
}

/* Dot Indicator */
.services-dots {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.services-dots.visible {
    opacity: 1;
    pointer-events: auto;
}

.services-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.services-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.services-dot:hover {
    background: var(--text-muted);
}

.services-dot.active {
    background: var(--primary);
}

.services-dot.active::before {
    border-color: var(--primary-light);
}

/* Service Items Container */
.services-scroll-items {
    position: sticky;
    top: 180px;
    height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

/* Service Item */
.service-scroll-item {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.service-scroll-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.service-scroll-item.prev {
    opacity: 0;
    transform: translateY(-40px);
}

/* Service Content (Left) */
.service-scroll-content {
    padding-right: 40px;
}

.service-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.85;
}

.service-scroll-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.service-scroll-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 12px;
}

.service-scroll-desc:last-of-type {
    margin-bottom: 24px;
}

.service-scroll-cta {
    display: inline-flex;
    margin-top: 24px;
}

.service-scroll-cta svg {
    width: 18px;
    height: 18px;
}

/* Service Visual (Right) */
.service-scroll-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-scroll-image {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-scroll-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Why Section - Z Pattern Scrollytelling */
.why-z {
    background: var(--bg);
}

.why-z-container {
    /* No padding - full width sections */
}

.why-z-header {
    text-align: center;
    padding: 120px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.why-z-header .section-label {
    font-size: 32px;
    letter-spacing: 0.05em;
}

.why-z-header .section-title {
    margin-bottom: 32px;
}

.why-z-lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.why-z-lead + .why-z-lead {
    margin-top: 24px;
}

/* Z Pattern Items */
.why-z-items {
    display: flex;
    flex-direction: column;
}

.why-z-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-z-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating backgrounds */
.why-z-item-wrapper {
    width: 100%;
}

.why-z-item-wrapper:nth-child(odd) {
    background: #EBF4FF;
}

.why-z-item-wrapper:nth-child(even) {
    background: var(--bg);
}

/* Reverse layout for Z pattern */
.why-z-item.reverse {
    direction: rtl;
}

.why-z-item.reverse > * {
    direction: ltr;
}

/* Keyword side */
.why-z-keyword {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.why-z-number {
    font-family: 'Outfit', sans-serif;
    font-size: 180px;
    font-weight: 800;
    color: var(--primary);
    line-height: 0.9;
    letter-spacing: -0.04em;
    transform: scale(0.85);
    transition: transform 0.6s var(--ease-out-expo);
}

.why-z-item.visible .why-z-number {
    transform: scale(1);
}

.why-z-unit {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.15em;
    margin-top: 8px;
}

/* Description side */
.why-z-desc {
    padding: 20px 0;
}

.why-z-desc h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.why-z-desc p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 2;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta .section-label {
    color: rgba(255, 255, 255, 0.8);
}

.cta .section-title {
    color: var(--text-white);
}

.cta .section-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.btn-white {
    background: var(--bg);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer,
.site-footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 64px 0 32px;
}

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

.footer-brand h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-links h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.floating-btn svg {
    width: 16px;
    height: 16px;
}

.floating-btn.primary {
    background: var(--accent);
    color: var(--text-white);
}

.floating-btn.secondary {
    background: var(--bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.floating-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-z-item {
        gap: 40px;
        padding: 80px 24px;
    }

    .why-z-number {
        font-size: 140px;
    }

    .why-z-unit {
        font-size: 32px;
    }

    .why-z-desc h3 {
        font-size: 24px;
    }

    .results-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .results-content {
        text-align: left;
    }

    .results-text {
        max-width: none;
        margin: 0;
    }

    .results-headline,
    .results-body {
        text-align: left;
    }

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

    .service-scroll-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-scroll-content {
        padding-right: 0;
        text-align: left;
    }

    .service-number {
        font-size: 56px;
    }

    .service-scroll-title {
        font-size: 28px;
    }

    .services-dots {
        right: 20px;
    }

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

@media (max-width: 768px) {
    /* Section padding - mobile */
    .why-message {
        padding: 48px 0;
    }

    .results {
        padding: 48px 0;
    }

    .results-main {
        margin-bottom: 0;
    }

    .cta {
        padding: 60px 0;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .why-message-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .why-message-visual {
        order: -1;
    }

    .why-message-visual img {
        max-width: 240px;
    }

    .why-headline {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .why-body {
        font-size: 14px;
    }

    .why-body p {
        margin-bottom: 16px;
    }

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

    .result-card {
        padding: 20px 16px;
    }

    .result-number {
        font-size: 32px;
    }

    .results-headline {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .results-body {
        font-size: 14px;
    }

    .why-z-header {
        padding: 48px 24px;
    }

    .why-z-header .section-title {
        font-size: 24px;
    }

    .why-z-lead {
        font-size: 14px;
        line-height: 1.8;
    }

    .why-z-item {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: left;
        padding: 40px 24px;
    }

    .why-z-item.reverse {
        direction: ltr;
    }

    /* Section label - mobile */
    .section-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .why-message .section-label,
    .results-content .section-label,
    .why-z-header .section-label {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 14px;
    }

    .why-z-keyword {
        order: 1;
    }

    .why-z-desc {
        order: 2;
    }

    .why-z-number {
        font-size: 72px;
    }

    .why-z-unit {
        font-size: 20px;
    }

    .why-z-desc h3 {
        font-size: 20px;
    }

    .why-z-desc p {
        font-size: 15px;
    }

    .services-scroll-container {
        min-height: 200vh;
    }

    .services-scroll-header {
        top: 72px;
        padding: 20px 0;
    }

    .services-scroll-header .section-label {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .services-scroll-header .section-title {
        font-size: 24px;
    }

    .services-scroll-items {
        top: 140px;
        height: calc(100vh - 160px);
    }

    .service-scroll-item {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-scroll-content {
        order: 1;
    }

    .service-scroll-visual {
        order: 2;
    }

    .service-number {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .service-scroll-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .service-scroll-desc {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .service-scroll-desc:last-of-type {
        margin-bottom: 24px;
    }

    .service-scroll-image {
        max-width: 320px;
        aspect-ratio: 4/3;
    }

    .services-dots {
        right: 16px;
        gap: 12px;
    }

    .services-dot {
        width: 10px;
        height: 10px;
    }

    /* Mobile navigation */
    nav,
    .site-navigation {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

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

    .floating-cta {
        bottom: 16px;
        right: 16px;
    }
}
