/* ========================================
   Apple-Style Design System
   Inspired by apple.com
======================================== */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - Apple Colors */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f5f5f7;
    --gray-200: #d2d2d7;
    --gray-400: #86868b;
    --gray-600: #6e6e73;
    --gray-800: #1d1d1f;
    --blue: #0071e3;
    --blue-hover: #0077ed;
    
    --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Noto Sans JP', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
}

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    background: var(--white);
    color: var(--gray-800);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--blue);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 500;
}

.skip-link:focus {
    top: 16px;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ========================================
   Navigation - Apple Global Nav Style
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 21px;
    font-weight: 500;
    color: var(--gray-100);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-200);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.nav-menu a:hover {
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 18px;
    height: 48px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 1px;
    background: var(--gray-200);
    transition: var(--transition-fast);
}

/* ========================================
   Hero Section - Cinematic Style
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 22px;
    max-width: 700px;
}

.hero-eyebrow {
    font-size: 21px;
    font-weight: 400;
    color: var(--gray-200);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.hero-title {
    font-size: clamp(48px, 10vw, 80px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: var(--gray-200);
    margin-bottom: 32px;
}

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

/* ========================================
   Buttons - Apple Pill Style
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
    min-width: 140px;
}

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

.btn-primary:hover {
    background: var(--blue-hover);
}

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

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

.btn-full {
    width: 100%;
}

/* ========================================
   Sections - Alternating Light/Dark
======================================== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--white);
    color: var(--gray-800);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-intro {
    text-align: center;
    margin-bottom: 56px;
}

.headline-large {
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.headline-sub {
    font-size: clamp(19px, 3vw, 28px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.016em;
}

.section-light .headline-sub {
    color: var(--gray-600);
}

.section-dark .headline-sub {
    color: var(--gray-400);
}

/* ========================================
   Full Bleed Images
======================================== */
.full-image {
    width: 100%;
    margin: 56px 0;
    overflow: hidden;
}

.full-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================================
   Text Block
======================================== */
.text-block {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.text-block p {
    font-size: 21px;
    line-height: 1.52381;
    font-weight: 400;
    color: var(--gray-600);
}

/* ========================================
   Features Grid - Apple Tile Style
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-tile {
    background: var(--gray-100);
    border-radius: 18px;
    padding: 35px 30px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.feature-tile:hover {
    transform: scale(1.02);
}

.feature-icon {
    font-size: 44px;
    display: block;
    margin-bottom: 16px;
}

.feature-tile h3 {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.022em;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.feature-tile p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ========================================
   Price Cards - Comparison Section
======================================== */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto 56px;
}

.price-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 40px 32px;
    text-align: center;
}

.price-card-highlight {
    background: var(--white);
    color: var(--gray-800);
    border: none;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.price-card-highlight .price-label {
    color: var(--gray-600);
}

.section-dark .price-label {
    color: var(--gray-400);
}

.price-value {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 24px;
}

.price-card-highlight .price-value {
    color: var(--blue);
}

.price-value span {
    font-size: 40px;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.price-features li:last-child {
    border-bottom: none;
}

.price-card-highlight .price-features li {
    color: var(--gray-600);
}

/* ========================================
   Contact Section
======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-block {
    margin-bottom: 32px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.contact-phone {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--gray-800);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-phone:hover {
    color: var(--blue);
}

.contact-address {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-600);
}

.contact-note {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ========================================
   Contact Form - Apple Style
======================================== */
.contact-form {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 17px;
    font-family: inherit;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* ========================================
   Footer - Apple Style
======================================== */
.footer {
    background: var(--gray-100);
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.footer-logo {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.footer-address {
    font-size: 12px;
    color: var(--gray-600);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 12px;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--gray-800);
}

.footer-legal {
    padding-top: 12px;
    text-align: center;
}

.footer-legal p {
    font-size: 12px;
    color: var(--gray-600);
}

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

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

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 834px) {
    .nav-menu {
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition-fast);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        display: block;
        padding: 14px 0;
        font-size: 14px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translateY(4px);
    }
    
    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translateY(-4px);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .comparison-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .headline-large {
        font-size: 32px;
    }
    
    .price-value {
        font-size: 40px;
    }
    
    .price-value span {
        font-size: 28px;
    }
    
    .contact-phone {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .feature-tile {
        padding: 24px 20px;
    }
}
