/* KISEO Agentur Stylesheet - Light Japanese Style */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #c75a7c;
    --secondary-color: #8b6f9e;
    --accent-color: #d4a574;
    --text-color: #2d2d2d;
    --light-text: #5a5a5a;
    --background-color: #faf8f5;
    --surface-color: #ffffff;
    --surface-highlight: #fff9f4;
    --light-gray: #f5f2ef;
    --border-color: rgba(200, 180, 160, 0.25);
    --glow-color: rgba(199, 90, 124, 0.15);
    --success-color: #7ba383;
    --warning-color: #d4a574;
    --danger-color: #c75a7c;
    --shadow-color: rgba(45, 45, 45, 0.08);
    --shadow-strong: rgba(45, 45, 45, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Noto Serif JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background: var(--background-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(199, 90, 124, 0.05), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(212, 165, 116, 0.05), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

::selection {
    background: rgba(199, 90, 124, 0.25);
    color: var(--text-color);
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: auto;
}

.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--primary-color);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.75rem 1.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 90, 124, 0.25);
    position: relative;
    overflow: hidden;
}

.header-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 90, 124, 0.35);
}

.header-cta:hover::after,
.header-cta:focus-visible::after {
    opacity: 1;
}

.breadcrumb {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 2rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin: 0;
    background: white;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(45, 45, 45, 0.05);
}

.breadcrumb li {
    color: var(--light-text);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--secondary-color);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 200px);
}

section {
    position: relative;
    margin-bottom: 3rem;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    opacity: 0.6;
}

h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
    letter-spacing: 0.01em;
}

h1 span {
    color: var(--primary-color);
}

h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    margin-top: 2rem;
    letter-spacing: 0.01em;
}

h3 {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    margin-top: 1.5rem;
    letter-spacing: 0.01em;
}

h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    margin-top: 1rem;
    letter-spacing: 0.01em;
}

p {
    margin-bottom: 1rem;
    color: var(--light-text);
    max-width: 70ch;
}

.section-container {
    display: grid;
    gap: 2.5rem;
}

[class*="-grid"] {
    display: grid;
    gap: 2rem;
}

[class*="-grid"] > * {
    min-width: 0;
}

.definition-content {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.definition-main {
    display: grid;
    gap: 1.75rem;
}

.definition-sidebar {
    display: grid;
    gap: 1.75rem;
}

[class*="-card"] {
    background: var(--surface-highlight);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
    display: grid;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[class*="-card"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 45, 45, 0.08);
}

.service-card h4,
.service-card p {
    margin: 0;
}

.services-overview {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stats-grid,
.results-grid,
.cases-grid,
.values-grid,
.faq-grid,
.addons-grid,
.usp-grid,
.expertise-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.75rem;
}

.impact-level {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--light-text);
}

.impact-stats,
.scenarios {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.pillars {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.impact-stat,
.scenario,
.platform-item,
.approach-element,
.approach-result,
.approach-connector {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
}

.impact-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: center;
}

.scenario {
    display: grid;
    gap: 1rem;
}

.scenario ul {
    padding-left: 1.25rem;
}

.scenario.negative {
    border-left: 3px solid var(--danger-color);
}

.scenario.positive {
    border-left: 3px solid var(--success-color);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(199, 90, 124, 0.1), rgba(212, 165, 116, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-icon::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(199, 90, 124, 0.4);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--light-text);
}

.holistic-diagram {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.approach-element,
.approach-result {
    flex: 1 1 220px;
}

.approach-connector {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(199, 90, 124, 0.08);
    border: 1px solid rgba(199, 90, 124, 0.2);
}

.usp-card {
    align-content: start;
}

.usp-card .usp-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(199, 90, 124, 0.1), rgba(212, 165, 116, 0.1));
}

.usp-details ul,
.communication-promise ul {
    padding-left: 1.25rem;
    display: grid;
    gap: 0.4rem;
}

.platform-item {
    display: grid;
    gap: 0.5rem;
}

.platform-tip {
    margin: 0;
    color: var(--light-text);
}

.pillars .pillar {
    display: grid;
    gap: 1rem;
}

.pillar-number {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.shift-timeline,
.advantage-timeline,
.curve-visualization {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.timeline-item,
.advantage-phase,
.curve-phase {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
    display: grid;
    gap: 0.6rem;
}

.timeline-year,
.phase-label {
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.news-box {
    display: grid;
    gap: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
}

.news-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.news-box.good {
    border-left: 3px solid var(--success-color);
}

.news-box.bad {
    border-left: 3px solid var(--danger-color);
}

.news-box.good .news-icon {
    background: linear-gradient(135deg, rgba(123, 163, 131, 0.15), rgba(212, 165, 116, 0.15));
}

.news-box.bad .news-icon {
    background: linear-gradient(135deg, rgba(199, 90, 124, 0.15), rgba(139, 111, 158, 0.15));
}

.news-box .news-details ul {
    padding-left: 1.25rem;
    display: grid;
    gap: 0.4rem;
}

.quick-facts {
    background: var(--surface-highlight);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    display: grid;
    gap: 1.25rem;
}

.quick-facts dt {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.35rem;
}

.quick-facts dd {
    margin: 0;
    color: var(--light-text);
    line-height: 1.6;
}

.cta-sidebar {
    background: var(--surface-highlight);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    display: grid;
    gap: 1rem;
}

hr {
    border: none;
    height: 1px;
    margin: 2.5rem 0;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 4.5rem 3rem;
    background: linear-gradient(135deg, #fff9f4, #ffffff);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(45, 45, 45, 0.08);
    overflow: hidden;
    position: relative;
}

#hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at top left, rgba(199, 90, 124, 0.08), transparent 50%),
        radial-gradient(circle at bottom right, rgba(212, 165, 116, 0.08), transparent 50%);
    pointer-events: none;
}

#hero h1 {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

#hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--light-text);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0 2rem;
}

.stat-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    gap: 0.5rem;
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--light-text);
}

.trust-signals {
    margin-top: 1.5rem;
}

.trust-text {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--light-text);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.85rem 1.9rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0.5rem;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(199, 90, 124, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 90, 124, 0.35);
}

.cta-button:hover::after,
.cta-button:focus-visible::after {
    opacity: 1;
}

.cta-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(199, 90, 124, 0.15);
}

.cta-button.secondary:hover,
.cta-button.secondary:focus-visible {
    background: var(--surface-highlight);
}

.cta-button.large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

.cta-button.huge {
    padding: 1.15rem 2.8rem;
    font-size: 1.12rem;
    letter-spacing: 0.07em;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
}

th,
td {
    padding: 1.1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: linear-gradient(135deg, var(--surface-highlight), white);
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:nth-child(even) {
    background: var(--surface-highlight);
}

tr:hover {
    background: rgba(199, 90, 124, 0.05);
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
    color: var(--light-text);
}

li {
    margin-bottom: 0.5rem;
    color: var(--light-text);
    line-height: 1.7;
}

li::marker {
    color: var(--primary-color);
}

/* Code Blocks */
pre {
    background: var(--light-gray);
    padding: 1.75rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 8px rgba(45, 45, 45, 0.05);
}

code {
    background: rgba(199, 90, 124, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-color);
}

pre code {
    background: none;
    padding: 0;
}

/* GEO Score Checker Styles */
#geo-checker {
    max-width: 800px;
    margin: 0 auto;
}

.checker-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(45, 45, 45, 0.08);
    position: relative;
    overflow: hidden;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(199, 90, 124, 0.1);
}

/* Results Section */
.results-section {
    background: white;
    padding: 2.25rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(45, 45, 45, 0.08);
    position: relative;
    overflow: hidden;
}

.score-meter {
    width: 100%;
    height: 30px;
    background: var(--light-gray);
    border-radius: 50px;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.score-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 1s ease-in-out;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(199, 90, 124, 0.3);
}

.category-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.category {
    background: var(--surface-highlight);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
    position: relative;
    overflow: hidden;
}

.category .score {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.recommendations {
    background: var(--surface-highlight);
    padding: 1.85rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
}

.recommendations ol {
    padding-left: 1.5rem;
}

.recommendations li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 16px;
    margin-top: 2rem;
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(199, 90, 124, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-section h3 {
    color: white;
    font-size: 1.9rem;
    letter-spacing: 0.05em;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.cta-section .cta-button {
    background: white;
    color: var(--primary-color);
    border: 1px solid white;
}

.cta-section .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.final-cta-buttons {
    margin-top: 2.5rem;
}

.no-obligation p {
    margin: 1rem 0 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--light-text);
}

/* Contact Page Styles */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: white;
    padding: 2.15rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(45, 45, 45, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 45, 45, 0.12);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.contact-card ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.contact-card li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--light-text);
}

.hidden {
    display: none;
}

#contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(45, 45, 45, 0.08);
    position: relative;
    overflow: hidden;
}

#contact-form .form-group {
    margin-bottom: 1.5rem;
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
    background: white;
    color: var(--text-color);
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(199, 90, 124, 0.1);
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

body.modal-open {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(8px);
    z-index: 200;
}

.contact-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(540px, calc(100% - 2.5rem));
    background: linear-gradient(135deg, #fff9f4, white);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 70px rgba(45, 45, 45, 0.25);
    padding: 0;
    z-index: 210;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.contact-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    opacity: 0.8;
}

.contact-modal__content {
    position: relative;
    z-index: 1;
    padding: 3rem 2.75rem 2.75rem;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--light-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-close:hover,
.modal-close:focus-visible {
    transform: rotate(90deg);
    border-color: var(--primary-color);
    background: var(--surface-highlight);
    color: var(--primary-color);
}

.contact-modal h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.25rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-modal p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-form-modal {
    display: grid;
    gap: 1.25rem;
}

.contact-form-modal .form-group {
    display: grid;
    gap: 0.5rem;
}

.contact-form-modal label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.contact-form-modal input,
.contact-form-modal textarea {
    width: 100%;
    padding: 0.95rem 1.15rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-form-modal input:focus,
.contact-form-modal textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--surface-highlight);
    box-shadow: 0 0 0 3px rgba(199, 90, 124, 0.1);
}

.contact-form-modal textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact-form-modal input::placeholder,
.contact-form-modal textarea::placeholder {
    color: var(--light-text);
    opacity: 0.6;
}

.modal-meta {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: grid;
    gap: 0.5rem;
    font-size: 0.95rem;
    text-align: center;
}

.modal-meta p {
    margin: 0.25rem 0;
}

.modal-meta a {
    color: var(--primary-color);
    font-weight: 500;
}

.modal-meta a:hover,
.modal-meta a:focus-visible {
    color: var(--secondary-color);
}

/* Merkblatt Section */
.merkblatt-section {
    background: linear-gradient(135deg, #fff9f4, white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(45, 45, 45, 0.08);
    margin: 3rem 0;
}

.merkblatt-split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.merkblatt-content,
.merkblatt-visual {
    display: grid;
    gap: 1.5rem;
}

.merkblatt-image-wrapper {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(45, 45, 45, 0.12);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.merkblatt-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(45, 45, 45, 0.15);
}

.merkblatt-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.merkblatt-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-text);
    font-style: italic;
    margin: 0;
}

.saeulen-liste {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.saeule-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.saeule-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(45, 45, 45, 0.08);
}

.saeule-number {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(199, 90, 124, 0.3);
}

.saeule-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 0.35rem;
}

.saeule-text p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.95rem;
}

.platform-highlights {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.platform-highlight-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
}

.platform-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(199, 90, 124, 0.1), rgba(212, 165, 116, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.platform-highlight-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 0.35rem;
}

.platform-highlight-text p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.95rem;
}

.metrics-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.metric-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(45, 45, 45, 0.08);
}

.metric-box .metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-box .metric-label {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .merkblatt-split {
        grid-template-columns: 1fr;
    }
    
    .merkblatt-visual {
        order: -1;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, white, var(--surface-highlight));
    color: var(--text-color);
    padding: 4rem 0 2.5rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(45, 45, 45, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    gap: 3rem;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem 2.5rem;
    text-align: left;
}

.footer-brand {
    display: grid;
    gap: 0.85rem;
    max-width: 280px;
}

.footer-brand h3 {
    font-size: 1.35rem;
    color: var(--text-color);
}

.footer-brand p {
    margin: 0;
}

.footer-tagline {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--light-text);
}

footer h4 {
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.footer-contact .contact-info {
    display: grid;
    gap: 0.5rem;
}

.footer-contact .contact-info strong {
    color: var(--text-color);
}

.footer-contact .contact-info p {
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    background: white;
}

.footer-social a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    background: var(--surface-highlight);
}

footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.75rem;
}

.footer-bottom-content {
    display: grid;
    gap: 0.75rem;
    color: var(--light-text);
    font-size: 0.9rem;
    text-align: left;
}

.footer-bottom-content p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .header-container .logo {
        align-self: center;
    }
    
    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

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

    .footer-container {
        padding: 0 1.5rem;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.75rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 2rem 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.1rem;
    }

    [class*="-grid"],
    .definition-content,
    .services-overview,
    .impact-stats,
    .scenarios,
    .pillars {
        grid-template-columns: 1fr;
    }

    .impact-stat {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .category-scores {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav a {
        text-align: center;
    }

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

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

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

    .footer-bottom-content {
        text-align: left;
    }

    .checker-form {
        padding: 1.5rem;
    }
    
    .results-section {
        padding: 1.5rem;
    }

    section {
        padding: 1.6rem 1.25rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(199, 90, 124, 0.25);
}

blockquote {
    margin: 2rem 0;
    padding: 1.75rem 2rem;
    background: var(--surface-highlight);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    color: var(--light-text);
    font-style: italic;
    box-shadow: 0 2px 12px rgba(45, 45, 45, 0.05);
}

blockquote strong {
    color: var(--primary-color);
}

/* iPhone Frame Styles */
.iphone-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 9 / 19.5;
    background: #1c1c1e;
    border-radius: 50px;
    padding: 12px;
    box-shadow:
        0 0 0 2px #2c2c2e,
        0 0 0 4px #1c1c1e,
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 2px rgba(255, 255, 255, 0.1);
}

.iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1c1c1e;
    border-radius: 0 0 18px 18px;
    z-index: 2;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.iphone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #2d2d2f;
    border-radius: 50%;
}

.iphone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 42px;
    overflow: hidden;
}

.iphone-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .iphone-frame {
        max-width: 340px;
    }
}

@media (max-width: 480px) {
    .iphone-frame {
        max-width: 280px;
    }
}

/* Pricing Section - GEO Audit Page */
.audit-hero {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.audit-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-section {
    padding: 4rem 2rem;
    background: #f9fafb;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pricing-card-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-card-footer {
    margin-top: auto;
}

.audit-details {
    padding: 4rem 2rem;
}

.audit-details h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
}

.audit-details ul {
    margin: 1rem 0;
}

.audit-details li {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
