@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

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

:root {
    color-scheme: dark;
    --background: #0d0d0d;
    --foreground: #f2ede8;
    --card: #161614;
    --card-hover: #1e1e1b;
    --muted: #6b6760;
    --border: #242420;
    --border-hover: #3a3a34;
    --success: #4ade80;
    --navbar-bg: rgba(13, 13, 13, 0.75);
    --grid-line: rgba(255, 255, 255, 0.025);
    --avatar-from: #2a2a26;
    --avatar-to: #3d3d38;
    --accent: #c8a96e;
    --accent-soft: rgba(200, 169, 110, 0.08);
    --accent-dim: rgba(200, 169, 110, 0.18);
}

:root[data-theme="light"] {
    color-scheme: light;
    --background: #f8f6f2;
    --foreground: #1a1814;
    --card: #ffffff;
    --card-hover: #f2ede8;
    --muted: #8a8478;
    --border: #e4dfda;
    --border-hover: #c8c0b8;
    --success: #16a34a;
    --navbar-bg: rgba(248, 246, 242, 0.8);
    --grid-line: rgba(0, 0, 0, 0.04);
    --avatar-from: #e0dbd4;
    --avatar-to: #c8c0b4;
    --accent: #a07840;
    --accent-soft: rgba(160, 120, 64, 0.07);
    --accent-dim: rgba(160, 120, 64, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'ss01' on, 'cv01' on;
}

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

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

h3 + br {
    display: none;
}

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

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--border);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--foreground);
}

.logo img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--foreground);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background: var(--card);
}

.btn-search {
    background: transparent;
    color: var(--foreground);
    padding: 8px;
}

.btn-search:hover {
    background: var(--card);
}

.btn-primary {
    background: var(--foreground);
    color: var(--background);
    box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

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

.btn-outline:hover {
    background: var(--card);
    border-color: var(--border-hover);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 8px;
}

/* ─── Mobile Menu ─── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 20px 28px;
    z-index: 49;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.mobile-nav a:hover {
    color: var(--foreground);
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 12px;
    justify-content: center;
}

/* ─── Hero ─── */
.hero {
    padding: 168px 0 112px;
    position: relative;
    overflow: hidden;
    margin-top: 42px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at center, black 10%, transparent 68%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 36px;
    color: var(--muted);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

.hero h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.8rem, 6.5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--foreground);
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero p {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 13px 28px;
    font-size: 0.9375rem;
}

/* ─── Blog Hero ─── */
.blog-hero-section {
    padding: 88px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.blog-h1 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* ─── Stats ─── */
.stats {
    padding: 88px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, var(--accent-soft), transparent);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.stat-item {
    padding: 0 32px;
    border-right: 1px solid var(--border);
    position: relative;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 3.25rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: var(--foreground);
    line-height: 1;
}

.stat-item p {
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─── Features ─── */
.features {
    padding: 128px 0;
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 72px;
}

.section-header h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.section-header p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.feature-card {
    background: var(--background);
    padding: 40px 36px;
    transition: background 0.3s;
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--border);
}

.feature-card:hover {
    background: var(--card);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: border-color 0.2s;
}

.feature-card:hover .feature-icon {
    border-color: var(--border-hover);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ─── Testimonials ─── */
.testimonials {
    padding: 128px 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.testimonial-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.testimonial-card p {
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 28px;
    color: var(--foreground);
    opacity: 0.85;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--avatar-from) 0%, var(--avatar-to) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid var(--border);
}

.testimonial-info h4 {
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

.testimonial-info span {
    color: var(--muted);
    font-size: 0.8rem;
}

/* ─── Pricing ─── */
.pricing {
    padding: 128px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 36px;
    position: relative;
    transition: border-color 0.25s, transform 0.25s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, var(--card) 60%, var(--accent-soft));
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #0d0d0d;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
}

.pricing-card .price {
    font-family: 'Instrument Serif', serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
    line-height: 1;
}

.pricing-card .price span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--muted);
}

.pricing-card .description {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

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

.pricing-features li svg {
    width: 16px;
    height: 16px;
    stroke: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card .btn {
    width: 100%;
    padding: 13px 24px;
    font-size: 0.875rem;
}

/* ─── CTA ─── */
.cta {
    padding: 128px 0;
    text-align: center;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.cta p {
    color: var(--muted);
    font-size: 1.0625rem;
    margin-bottom: 44px;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-buttons .btn {
    padding: 13px 28px;
    font-size: 0.9375rem;
}

/* ─── Text Section ─── */
.text-section {
    padding: 80px 0;
}

.text-section h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.text-content {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.85;
    max-width: 800px;
}

.text-content h3 {
    display: block;
    width: fit-content;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    margin-bottom: 8px;
    color: var(--foreground);
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.25rem;
}

/* ─── Image Section ─── */
.image-section {
    padding: 80px 0;
}

.image-section figure {
    margin: 0;
}

.image-section img {
    border-radius: 16px;
    width: 100%;
    border: 1px solid var(--border);
}

.image-section figcaption {
    margin-top: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

/* ─── Image + Text ─── */
.image-text {
    padding: 64px 0;
}

.image-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.image-text-grid.image-text-right {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.image-text-grid.image-text-right > * {
    direction: ltr;
}

.image-text-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    display: block;
}

.image-text-content h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 14px 0 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.image-text-content .section-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 600;
}

.image-text-content .text-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 20px 0 24px;
}

.image-text-content .btn {
    display: inline-block;
    margin-top: 12px;
}

/* ─── Product Cards ─── */
.product-cards {
    padding: 64px 0;
}

.product-cards .section-header {
    margin-bottom: 52px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 36px rgba(0,0,0,.2);
    transform: translateY(-4px);
}

.product-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    height: 48px;
}

.product-image img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 14px 0 6px;
    letter-spacing: -0.01em;
}

.product-description {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 10px 0 16px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    text-align: left;
}

.product-features li {
    font-size: 0.875rem;
    color: var(--muted);
    padding: 7px 0 7px 22px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

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

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 0.8rem;
}

.product-card .btn-sm {
    font-size: 0.8125rem;
    padding: 8px 18px;
}

/* ─── Video Section ─── */
.video-section {
    padding: 80px 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--border);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.video-wrapper video {
    object-fit: cover;
}

.video-caption {
    margin-top: 16px;
    text-align: center;
    color: var(--muted);
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
}

/* ─── Gallery ─── */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 36px rgba(0,0,0,.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

.gallery-caption {
    padding: 14px 18px;
    font-size: 0.8125rem;
    color: var(--muted);
    background: var(--card);
    border-top: 1px solid var(--border);
}

/* ─── FAQ ─── */
.faq-section {
    padding: 80px 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    padding: 22px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--muted);
    transition: transform 0.3s, color 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
    color: var(--accent);
}

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

.faq-answer {
    padding: 0 0 22px 0;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* ─── Team ─── */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.team-member {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: all 0.3s;
}

.team-member:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.team-photo,
.team-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.team-photo {
    object-fit: cover;
    border: 1px solid var(--border);
}

.team-avatar {
    background: linear-gradient(135deg, var(--avatar-from) 0%, var(--avatar-to) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.team-member h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.team-role {
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.team-bio {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social-link {
    width: 34px;
    height: 34px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--foreground);
}

.team-social-link:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
}

.team-social-link svg {
    width: 16px;
    height: 16px;
}

/* ─── Audio ─── */
.audio-section {
    padding: 80px 0;
}

.audio-wrapper {
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.audio-player {
    width: 100%;
    height: 54px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--border);
}

/* ─── Countdown ─── */
.countdown-section {
    padding: 80px 0;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 28px;
    min-width: 120px;
    text-align: center;
    transition: all 0.3s;
}

.countdown-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.countdown-value {
    font-family: 'Instrument Serif', serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
    color: var(--foreground);
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ─── Blockquote ─── */
blockquote {
    position: relative;
    margin: 28px 0;
    padding: 28px 32px 28px 64px;
    background: var(--card);
    border-left: 2px solid var(--accent);
    border-radius: 14px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--foreground);
    font-style: italic;
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 22px;
    top: 18px;
    font-family: 'Instrument Serif', serif;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.35;
    line-height: 1;
}

blockquote p {
    margin: 0;
}

blockquote cite {
    display: block;
    margin-top: 14px;
    font-size: 0.8125rem;
    color: var(--muted);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.02em;
}

blockquote cite::before {
    content: '— ';
}

/* ─── Newsletter ─── */
.newsletter-section {
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 100% at 50% 50%, var(--accent-soft), transparent);
    pointer-events: none;
}

.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.newsletter-section h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.newsletter-section p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.65;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 13px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--background);
    color: var(--foreground);
    font-size: 0.9375rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--border-hover);
}

.newsletter-input::placeholder {
    color: var(--muted);
}

/* ─── Footer ─── */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 64px;
}

.footer-brand h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h3 img {
    height: 26px;
    width: auto;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.9rem;
    max-width: 260px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
}

.social-links svg {
    width: 16px;
    height: 16px;
    fill: var(--foreground);
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 20px;
}

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

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

.footer-column a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--foreground);
}

.footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    gap: 20px;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.8125rem;
}

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

.footer-legal a {
    color: var(--muted);
    font-size: 0.8125rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--foreground);
}

/* ─── Language Selector ─── */
.footer-language {
    margin-left: 10px;
}

.footer-language select {
    background-color: var(--card);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 9px 34px 9px 14px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6760' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.2s;
    min-width: 136px;
    max-width: 200px;
}

.footer-language select option {
    background-color: #1a1a16;
    color: #f2ede8;
    padding: 10px;
}

:root[data-theme="light"] .footer-language select option {
    background-color: #ffffff;
    color: #1a1814;
}

.footer-language select:hover {
    background-color: var(--card-hover);
    border-color: var(--border-hover);
}

.footer-language select:focus {
    outline: none;
    border-color: var(--border-hover);
}

:root[data-theme="light"] .footer-language select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8478' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

/* ─── Theme Toggle ─── */
.theme-toggle {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .footer-brand {
        grid-column: span 3;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        gap: 0;
    }
}

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

    .mobile-menu-btn {
        display: block;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 32px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .countdown-timer {
        gap: 12px;
    }

    .countdown-item {
        min-width: 96px;
        padding: 24px 20px;
    }

    .countdown-value {
        font-size: 2.75rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input,
    .newsletter-form .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        background: transparent;
        border: none;
        border-radius: 0;
        gap: 1px;
    }

    .feature-card {
        border: 1px solid var(--border);
        border-radius: 14px;
    }

    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .image-text-grid,
    .image-text-grid.image-text-right {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .image-text-grid.image-text-right {
        direction: ltr;
    }

    .image-text-content h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 14px;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-language {
        margin-left: 0 !important;
        width: 100%;
        order: 1;
    }

    .footer-language select {
        width: 100%;
        max-width: 100%;
    }

    .theme-toggle {
        order: 3;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2,
    .cta h2 {
        font-size: 2rem;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

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

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

    .footer-brand {
        grid-column: span 1;
    }
}
