/* ===================================================================
   アイストップシロップ かぜ - 蓬屋敷製薬株式会社
   ホームページ スタイルシート
   =================================================================== */

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

:root {
    --primary: #c0392b;
    --primary-dark: #96281b;
    --primary-light: #e74c3c;
    --accent: #e8453c;
    --white: #ffffff;
    --off-white: #f8f6f3;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --apple-red: #e53935;
    --apple-green: #43a047;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ---------- Scroll Animation ---------- */
.feature-card,
.faq-item,
.section-header,
.product-grid,
.tredecim-inner,
.usage-card,
.usage-warnings,
.ingredients-content,
.purchase-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(2) {
    transition-delay: 0.15s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.faq-item:nth-child(2) {
    transition-delay: 0.1s;
}

.faq-item:nth-child(3) {
    transition-delay: 0.2s;
}

.faq-item:nth-child(4) {
    transition-delay: 0.3s;
}

.faq-item:nth-child(5) {
    transition-delay: 0.4s;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header-logo {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.logo-text {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 3px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 10px;
    color: var(--gray-600);
    letter-spacing: 1px;
}

.header-nav ul {
    display: flex;
    gap: 32px;
}

.header-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

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

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

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

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fef9f8 0%, #fff5f3 30%, #ffeae7 60%, #fff0ee 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(192, 57, 43, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(192, 57, 43, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(231, 76, 60, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 100px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(192, 57, 43, 0);
    }
}

.hero-brand {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-title {
    margin-bottom: 16px;
}

.hero-title-sub {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 3px;
    line-height: 1.4;
}

.hero-title-main {
    display: block;
    font-size: 80px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 8px;
    line-height: 1.1;
    text-shadow: 2px 2px 0 rgba(192, 57, 43, 0.1);
}

.hero-catchcopy {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 300;
}

.hero-info {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-flavor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--apple-red);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(229, 57, 53, 0.1);
}

.hero-category {
    display: inline-flex;
    align-items: center;
    background: var(--gray-900);
    color: white;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 36px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
}

.hero-price-label {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
}

.hero-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    transition: var(--transition);
}

.hero-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-product-img {
    max-width: 520px;
    width: 100%;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
    animation: floatProduct 4s ease-in-out infinite;
}

@keyframes floatProduct {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 2px;
}

/* ---------- Product Section ---------- */
.product-section {
    padding: 120px 0;
    background: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-image-area {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.product-image-main {
    flex: 2;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    transition: transform var(--transition);
}

.product-image-main:hover .product-main-img {
    transform: scale(1.03);
}

.product-image-sub {
    flex: 1;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-sub-img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    transition: transform var(--transition);
}

.product-image-sub:hover .product-sub-img {
    transform: scale(1.05);
}

.product-name {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-subtitle {
    font-size: 15px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.product-table th,
.product-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-200);
}

.product-table th {
    width: 130px;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--gray-50);
}

.product-table td {
    font-weight: 500;
}

.price-cell {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.tax-note {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
}

.product-notice {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    border-left: 3px solid var(--primary);
}

.product-notice p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ---------- Features Section ---------- */
.features-section {
    padding: 120px 0;
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192, 57, 43, 0.1);
}

.feature-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.feature-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f3, #ffeae7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-icon-circle svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

/* ---------- Tredecim Section ---------- */
.tredecim-section {
    padding: 120px 0;
    background: var(--gray-900);
    color: white;
    position: relative;
    overflow: hidden;
}

.tredecim-section::before {
    content: '13';
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-size: 400px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    letter-spacing: -20px;
}

.tredecim-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.tredecim-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--apple-red);
    margin-bottom: 12px;
    display: block;
}

.tredecim-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 32px;
    letter-spacing: 2px;
}

.tredecim-title span {
    font-size: 24px;
    font-weight: 300;
    color: var(--gray-400);
    margin-left: 8px;
}

.tredecim-desc {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.tredecim-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.tredecim-img {
    max-width: 300px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    border-radius: var(--radius-md);
}

.tredecim-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 30px rgba(192, 57, 43, 0.5);
}

/* ---------- Usage Section ---------- */
.usage-section {
    padding: 120px 0;
    background: var(--white);
}

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

.usage-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.usage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.usage-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.usage-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.usage-table th,
.usage-table td {
    padding: 14px 16px;
    font-size: 14px;
    text-align: center;
}

.usage-table thead th {
    background: var(--primary);
    color: white;
    font-weight: 500;
    font-size: 13px;
}

.usage-table tbody td {
    border-bottom: 1px solid var(--gray-100);
}

.caution-cell {
    color: var(--apple-red);
    font-weight: 500;
}

.usage-warnings {
    padding: 0;
}

.usage-warnings h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary);
}

.warning-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 24px;
}

.warning-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.warning-item ul {
    list-style: disc;
    padding-left: 20px;
}

.warning-item li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

/* ---------- Ingredients Section ---------- */
.ingredients-section {
    padding: 120px 0;
    background: var(--off-white);
}

.ingredients-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.ingredients-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.ingredients-table th,
.ingredients-table td {
    padding: 16px 20px;
    font-size: 14px;
    text-align: left;
}

.ingredients-table thead th {
    background: var(--primary);
    color: white;
    font-weight: 500;
    font-size: 13px;
}

.ingredients-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
}

.ingredients-table tbody tr:hover {
    background: var(--gray-50);
}

.ingredients-table tbody td:first-child {
    font-weight: 500;
}

.ingredients-table tbody td:nth-child(2) {
    color: var(--primary);
    font-weight: 600;
}

.ingredients-additive {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 16px;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: 120px 0;
    background: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 2;
    padding-left: 0;
}

/* ---------- Purchase Section ---------- */
.purchase-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff5f3, #ffeae7);
}

.purchase-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.purchase-product {
    flex-shrink: 0;
}

.purchase-img {
    max-width: 320px;
    border-radius: var(--radius-md);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.1));
}

.purchase-info {
    flex: 1;
}

.purchase-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.purchase-flavor {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.purchase-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 32px;
}

.purchase-price-label {
    font-size: 12px;
    color: var(--text-muted);
}

.purchase-price-value {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
}

.purchase-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 40px;
}

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

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-sub {
    color: var(--gray-500);
}

.footer-tagline {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 13px;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 30px;
    text-align: center;
}

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

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

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

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 0;
    }

    .hero-product-img {
        max-width: 400px;
    }

    .hero-info {
        justify-content: center;
    }

    .hero-price-box {
        margin-left: auto;
        margin-right: auto;
    }

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

    .tredecim-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .tredecim-image {
        order: -1;
    }

    .usage-content {
        grid-template-columns: 1fr;
    }

    .purchase-inner {
        flex-direction: column;
        text-align: center;
    }

    .purchase-buttons {
        justify-content: center;
    }

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

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

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-title-main {
        font-size: 56px;
    }

    .hero-title-sub {
        font-size: 18px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 36px 28px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .product-image-area {
        flex-direction: column;
    }

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

    .tredecim-section::before {
        font-size: 200px;
    }

    .purchase-img {
        max-width: 250px;
    }

    .purchase-price-value {
        font-size: 36px;
    }

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

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

    .hero-price {
        font-size: 28px;
    }

    .product-name {
        font-size: 22px;
    }

    .purchase-title {
        font-size: 22px;
    }

    .ingredients-table th,
    .ingredients-table td {
        padding: 12px 10px;
        font-size: 12px;
    }

    .usage-table th,
    .usage-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
}

/* ---------- Purchase Modal ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 90%;
    padding: 40px;
    position: relative;
    animation: modalFadeIn 0.4s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    text-align: center;
}

.modal-character {
    max-width: 240px;
    margin: 0 auto 24px;
    display: block;
    border-radius: var(--radius-md);
}

.modal-text {
    font-size: 16px;
    line-height: 2;
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 28px 20px;
    }

    .modal-character {
        max-width: 180px;
    }

    .modal-text {
        font-size: 14px;
    }
}