/* ========================================
   Variables & Reset
   ======================================== */

:root {
    --color-primary: #2a7de1;
    --color-primary-dark: #1a5bb8;
    --color-secondary: #1a2744;
    --color-accent: #4a9eff;
    --color-success: #2ecc71;
    --color-warning: #f39c12;
    --color-danger: #e74c3c;
    --color-text: #2c3e50;
    --color-text-light: #6c7a89;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-blue: #f0f7ff;
    --color-border: #e1e8ed;
    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 39, 68, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 39, 68, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--color-bg);
}

/* Override WP global styles underline on links */
body.legaldesk-genspark-lp a:where(:not(.wp-element-button)) {
    text-decoration: none;
}

/* Hide CF7-generated <br> between label and input */
body.legaldesk-genspark-lp .form-group p > br {
    display: none;
}

/* Override WP custom CSS .required badge styling */
body.legaldesk-genspark-lp .required {
    color: var(--color-danger);
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Container & Layout
   ======================================== */

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: -0.5px;
}
.logo-img {
    height: 32px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

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

.header-cta {
    display: flex;
    gap: 12px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-features {
    margin-bottom: 40px;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--color-text);
}

.hero-feature-icon {
    color: var(--color-success);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-mockup {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
}

.hero-mockup:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

/* ========================================
   Section Common Styles
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   Problems Section
   ======================================== */

.problems {
    padding: 100px 0;
    background: var(--color-bg);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.problem-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.problem-number {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-bg-blue);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.problem-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.problem-description {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========================================
   Solutions Section
   ======================================== */

.solutions {
    padding: 100px 0;
    background: var(--color-bg-light);
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 60px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.solution-item:last-child {
    margin-bottom: 0;
}

.solution-reverse {
    direction: rtl;
}

.solution-reverse > * {
    direction: ltr;
}

.solution-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-bg-blue);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-bottom: 0;
}

.solution-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.solution-header .solution-title {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.solution-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 24px;
    line-height: 1.4;
}

.solution-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.solution-problem strong,
.solution-answer strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.solution-problem p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.solution-answer ul {
    list-style: none;
    padding: 0;
}

.solution-answer li {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.7;
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.solution-answer li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

/* Mockup Styles */
.mockup-browser,
.mockup-phone {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.browser-header {
    background: var(--color-bg-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dots span:nth-child(1) {
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27c93f;
}

.browser-title {
    font-size: 13px;
    color: var(--color-text-light);
}

.browser-content {
    padding: 24px;
    background: white;
    min-height: 300px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--color-bg-light);
    border-radius: 8px;
    margin-bottom: 20px;
}

.search-icon {
    font-size: 18px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition);
}

.file-item:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-blue);
}

.file-icon {
    font-size: 24px;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.file-preview {
    font-size: 13px;
    color: var(--color-text-light);
}

/* Phone Mockup */
.mockup-phone {
    width: 280px;
    margin: 0 auto;
}

.phone-header {
    background: var(--color-secondary);
    color: white;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: black;
    border-radius: 0 0 12px 12px;
}

.phone-content {
    min-height: 400px;
    background: #e5ddd5;
}

.chat-header {
    background: var(--color-secondary);
    color: white;
    padding: 16px;
    text-align: center;
}

.chat-title {
    font-weight: 600;
    font-size: 16px;
}

.chat-subtitle {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 4px;
}

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

.chat-message {
    display: flex;
}

.chat-message-left {
    justify-content: flex-start;
}

.chat-message-right {
    justify-content: flex-end;
}

.chat-bubble {
    background: white;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 70%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-message-right .chat-bubble {
    background: #dcf8c6;
}

.chat-image {
    background: white;
    padding: 12px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-system {
    text-align: center;
}

.sync-badge {
    display: inline-block;
    background: var(--color-success);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Evidence List */
.evidence-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.evidence-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: move;
    transition: var(--transition);
}

.evidence-item:hover {
    background: var(--color-bg-blue);
    border-color: var(--color-primary);
}

.evidence-handle {
    color: var(--color-text-light);
    cursor: grab;
}

.evidence-number {
    font-weight: 700;
    color: var(--color-primary);
    min-width: 40px;
}

.evidence-name {
    flex: 1;
    font-size: 14px;
}

.evidence-lock {
    font-size: 18px;
}

.evidence-preview {
    background: var(--color-bg-light);
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.preview-stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transform: rotate(-5deg);
}

.preview-content {
    font-size: 14px;
    color: var(--color-text-light);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Functions Section - 大幅強化版
   ======================================== */

.functions {
    padding: 100px 0;
    background: var(--color-bg);
}

.function-block {
    margin-bottom: 80px;
    padding: 60px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.function-block:last-child {
    margin-bottom: 0;
}

.function-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--color-primary);
}

.function-icon {
    font-size: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
    line-height: 1;
}

.function-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.function-header .function-title {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.function-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.function-lead {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    font-weight: 500;
}

.function-subsection {
    margin-bottom: 40px;
}

.function-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.function-text {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.function-text strong {
    font-weight: 700;
    color: var(--color-secondary);
}

.function-example {
    background: var(--color-bg-blue);
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    margin-top: 20px;
}

.function-example strong {
    display: block;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.function-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--color-bg-blue);
    color: var(--color-text);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.feature-tag:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.function-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--color-border);
}

.comparison-col {
    padding: 24px;
    border-radius: 12px;
    background: white;
}

.comparison-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.comparison-before {
    background: #fee;
    color: var(--color-danger);
}

.comparison-after {
    background: #efe;
    color: var(--color-success);
}

.comparison-col ul {
    list-style: none;
    padding: 0;
}

.comparison-col li {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.comparison-before + ul li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--color-danger);
    font-weight: 700;
}

.comparison-after + ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.function-summary {
    margin-top: 60px;
    padding: 60px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2a3f5f 100%);
    border-radius: 24px;
    color: white;
    text-align: center;
}

.summary-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

.summary-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    opacity: 0.95;
}

.summary-problems {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 32px 0;
}

.summary-problem {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* ========================================
   Comparison Section
   ======================================== */

.comparison {
    padding: 100px 0;
    background: var(--color-bg-light);
}

.comparison-wrapper {
    position: relative;
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.scroll-hint {
    text-align: center;
    padding: 12px;
    background: var(--color-bg-blue);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
}

.scroll-hint.hidden {
    display: none;
}

.comparison-table {
    width: 100%;
    min-width: 900px;
    background: white;
    border-collapse: collapse;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 16px;
    text-align: center;
    border: 1px solid var(--color-border);
}

.comparison-table th {
    background: var(--color-secondary);
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.feature-col {
    text-align: left;
    font-weight: 600;
    background: var(--color-bg-light);
    min-width: 180px;
}

.company-col {
    min-width: 140px;
}

.company-ours {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
    border-left: 3px solid var(--color-primary);
    border-right: 3px solid var(--color-primary);
}

.company-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.company-type {
    font-size: 12px;
    opacity: 0.85;
    color: white;
}

.rating {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rating-excellent {
    color: var(--color-success);
}

.rating-good {
    color: var(--color-primary);
}

.rating-poor {
    color: var(--color-warning);
}

.rating-none {
    color: #bbb;
}

.rating-text {
    display: block;
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.5;
}

.comparison-note {
    margin-top: 32px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.comparison-note p {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.7;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    padding: 100px 0;
    background: var(--color-bg);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-secondary);
    user-select: none;
}

.faq-icon {
    font-size: 24px;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 24px;
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: 100px 0;
    background: var(--color-bg-light);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.required {
    color: var(--color-danger);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-sans);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(42, 125, 225, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form-submit {
    text-align: center;
    margin-top: 32px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--color-secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 15px;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

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

.footer-list a {
    font-size: 15px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-list a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-company-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-company-name a {
    color: white;
    opacity: 0.9;
    transition: var(--transition);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-company-name a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-company-address {
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero-content,
    .solution-item,
    .function-comparison {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-reverse {
        direction: ltr;
    }

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

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

    .function-title {
        font-size: 28px;
    }
}

.mints-mobile-link {
    display: none;
}

@media (max-width: 768px) {
    .nav,
    .header-cta {
        display: none;
    }

    .mints-mobile-link {
        display: inline-flex;
        align-items: center;
        margin-left: auto;
        font-size: 13px;
        font-weight: 500;
        color: var(--color-text);
        white-space: nowrap;
        padding: 6px 10px;
        border: 1px solid var(--color-border);
        border-radius: 20px;
        background: white;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

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

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

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

    .solution-item,
    .function-block,
    .function-summary {
        padding: 32px 24px;
    }

    .function-title {
        font-size: 24px;
    }

    .function-subtitle {
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .comparison-table {
        min-width: 750px;
    }

    .feature-col {
        min-width: 140px;
    }

    .company-col {
        min-width: 120px;
    }
}

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

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

    .btn-large {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .contact-form {
        padding: 32px 20px;
    }
}

/* ========================================
   Animations
   ======================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Function Subsection with Screenshot Image
   ======================================== */

.function-subsection-with-image {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: start;
}

.function-subsection-with-image .function-screenshot {
    flex-shrink: 0;
}

.function-subsection-with-image .function-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
}

.function-subsection-with-image .function-subsection-text {
    min-width: 0;
}

@media (max-width: 768px) {
    .function-subsection-with-image {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .function-subsection-with-image .function-screenshot {
        max-width: 400px;
    }
}