/* ===== CSS Variables ===== */
:root {
    --color-primary: #5B8C5A;
    --color-primary-dark: #4A7349;
    --color-primary-light: #7BA87A;
    --color-accent: #D4A574;
    --color-accent-light: #E8C9A8;
    
    --color-bg: #FDFCFA;
    --color-bg-alt: #F7F5F0;
    --color-bg-card: #FFFFFF;
    
    --color-text: #2D3436;
    --color-text-light: #636E72;
    --color-text-lighter: #95A5A6;
    
    --color-border: #E8E4DC;
    --color-border-light: #F0EDE6;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition: 0.3s ease;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

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

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

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

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

.btn-white:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-bg-alt);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
}

/* ===== Section Styling ===== */
.section-header {
    margin-bottom: 48px;
}

.section-header-center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-primary-light);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-top: 16px;
    line-height: 1.7;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-text);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 500;
}

.floating-icon {
    font-size: 1.5rem;
}

/* ===== Disclaimer ===== */
.disclaimer-section {
    padding: 40px 0;
}

.disclaimer-card {
    display: flex;
    gap: 20px;
    padding: 24px 32px;
    background: #FEF9E7;
    border: 1px solid #F7DC6F;
    border-radius: var(--radius-lg);
    align-items: flex-start;
}

.disclaimer-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.disclaimer-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #9A7B4F;
}

.disclaimer-content p {
    font-size: 0.9375rem;
    color: #7D6B3A;
    line-height: 1.7;
}

/* ===== About Care ===== */
.about-care {
    padding: 100px 0;
}

.care-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
}

.care-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition), box-shadow var(--transition);
}

.care-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.care-card-large {
    grid-row: span 2;
    padding: 0;
    overflow: hidden;
}

.care-card-image {
    height: 240px;
    overflow: hidden;
}

.care-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.care-card-large .care-card-content {
    padding: 32px;
}

.care-card-large h3 {
    margin-bottom: 16px;
}

.care-card-large p {
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.care-card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.care-card h3 {
    margin-bottom: 12px;
}

.care-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

/* ===== Product Section ===== */
.product-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

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

.product-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
}

.product-main-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.product-gallery {
    display: flex;
    gap: 16px;
}

.gallery-item {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.product-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 20px;
}

.product-info h2 {
    margin-bottom: 12px;
}

.product-tagline {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.product-description {
    margin-bottom: 32px;
}

.product-description p {
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

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

/* ===== Ingredients ===== */
.ingredients-section {
    padding: 100px 0;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ingredient-card {
    text-align: center;
    padding: 24px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition);
}

.ingredient-card:hover {
    transform: translateY(-4px);
}

.ingredient-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

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

.ingredient-card h4 {
    margin-bottom: 8px;
    color: var(--color-primary);
}

.ingredient-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ===== Usage Section ===== */
.usage-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.usage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.usage-steps {
    margin-top: 32px;
}

.usage-step {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 6px;
}

.step-content p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.usage-image {
    position: relative;
}

.usage-image > img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.precautions-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 280px;
}

.precautions-card h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.precautions-card ul {
    list-style: disc;
    padding-left: 18px;
}

.precautions-card li {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-bottom: 6px;
}

/* ===== Tips Section ===== */
.tips-section {
    padding: 100px 0;
}

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

.tip-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition), box-shadow var(--transition);
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tip-image {
    height: 180px;
    overflow: hidden;
}

.tip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.tip-card:hover .tip-image img {
    transform: scale(1.05);
}

.tip-content {
    padding: 24px;
}

.tip-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tip-content h3 {
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.tip-content p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
}

.tip-card-highlight {
    grid-column: span 1;
    background: var(--color-primary);
    display: flex;
    align-items: center;
}

.tip-highlight-content {
    padding: 32px;
    color: white;
    text-align: center;
}

.tip-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.tip-highlight-content h3 {
    color: white;
    margin-bottom: 12px;
}

.tip-highlight-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.trust-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.trust-content p {
    color: var(--color-text-light);
    margin-top: 16px;
    line-height: 1.7;
}

.trust-points {
    margin-top: 32px;
}

.trust-point {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.trust-icon {
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.trust-point strong {
    display: block;
    margin-bottom: 4px;
}

.trust-point p {
    margin: 0;
    font-size: 0.9375rem;
}

.trust-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.trust-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 0;
}

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

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

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

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform var(--transition);
}

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

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

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

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--color-text-light);
    margin-bottom: 32px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin: 0;
}

.contact-item a {
    color: var(--color-text-light);
}

.contact-item a:hover {
    color: var(--color-primary);
}

.company-info {
    padding: 20px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
}

.company-info p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.company-info p:first-child {
    color: var(--color-text);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit;
}

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

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.form-note {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--color-text-lighter);
}

.form-success {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.form-success h3 {
    margin-bottom: 8px;
}

.form-success p {
    color: var(--color-text-light);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer-disclaimer {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

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

.cookie-settings-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color var(--transition);
}

.cookie-settings-btn:hover {
    color: white;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cookie-text h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

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

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== Cookie Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.visible {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h2 {
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 24px 32px;
}

.cookie-category {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.cookie-category h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.cookie-category p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--color-border);
    border-radius: 26px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle input:checked + .toggle-slider {
    background: var(--color-primary);
}

.toggle input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.toggle.disabled {
    opacity: 0.6;
}

.toggle.disabled .toggle-slider {
    cursor: not-allowed;
}

.modal-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--color-border);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-floating-card {
        left: 20px;
        bottom: 20px;
    }
    
    .care-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .care-card-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .product-layout,
    .usage-layout,
    .trust-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tips-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-md);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: calc(var(--header-height) + 40px) 0 60px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .disclaimer-card {
        flex-direction: column;
        text-align: center;
    }
    
    .care-grid {
        grid-template-columns: 1fr;
    }
    
    .care-card-large {
        grid-column: span 1;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .usage-image > img {
        height: 350px;
    }
    
    .precautions-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        max-width: none;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}
