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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Geist', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    color: #1a1a2e;
    background: #f5f0ff; /* Lavender Haze Base */
    padding-bottom: 70px; /* Space for Bottom Nav Bar */
}

h1, h2, h3, h4, .heading-font {
    font-family: 'Boska', serif;
    font-weight: 700;
    line-height: 1.1;
    color: #2d1b4d;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* === PREMIUM TOKENS === */
:root {
    --bg: #f5f0ff;
    --card-bg: #ffffff;
    --accent: #6d28d9; /* Deep Purple */
    --accent-glow: rgba(109, 40, 217, 0.5);
    --text: #1a1a2e;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 25px -5px rgba(109, 40, 217, 0.1);
    --shadow-neon: 0 0 15px var(--accent-glow);
    --border-color: #e2e8f0;
}

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

section {
    padding: 80px 0;
    position: relative;
    background: #f5f0ff;
}

/* Section Dividers: Gradient Fade */
.section-fade {
    height: 100px;
    background: linear-gradient(to bottom, #f5f0ff, #ffffff);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.section-fade-reverse {
    height: 100px;
    background: linear-gradient(to bottom, #ffffff, #f5f0ff);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

/* === BACKGROUND TEXTURE === */
.dot-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#d8b4fe 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
    animation: pulseGrid 8s infinite alternate;
}

@keyframes pulseGrid {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.05); opacity: 0.4; }
}

/* === BOTTOM NAVIGATION BAR === */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: var(--accent);
}

/* === HIDDEN TOP NAV === */
.top-nav {
    position: fixed;
    top: -80px;
    left: 0;
    right: 0;
    height: 70px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1001;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-nav.visible {
    top: 0;
}

.logo {
    font-family: 'Boska', serif;
    font-weight: 900;
    font-size: 24px;
    color: var(--accent);
}

/* === HERO: GRID MOSAIC === */
.hero {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-attachment: fixed; /* Parallax effect */
}

.hero-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    height: 100vh;
    gap: 0;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 600px;
}

.hero-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px);
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.hero-glass h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 20px;
}

.hero-glass p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* === BUTTONS: NEON GLOW === */
.btn-primary {
    background: #1a1a2e; /* Dark background as requested */
    color: white;
    padding: 18px 40px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px var(--accent-glow);
    background: var(--accent);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md);
    box-shadow: 0 0 30px var(--accent-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* === OFFSET GRID ARCHETYPE === */
.offset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.offset-col-left {
    margin-top: 80px; /* Offset down */
}

.offset-col-right {
    margin-top: 0;
}

/* === MIXED DENSITY FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-soft);
    border-color: var(--accent);
}

.feature-card i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 24px;
    display: block;
}

/* === INTERACTIVE WIDGET === */
.booking-widget {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(109, 40, 217, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.widget-step {
    margin-bottom: 30px;
}

.widget-step h4 {
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.options-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.option-btn {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.option-btn:hover, .option-btn.selected {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
}

.booking-summary {
    background: var(--bg);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
}

/* === PRICING CARDS === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.price {
    font-size: 48px;
    font-family: 'Boska', serif;
    margin: 20px 0;
}

.price span {
    font-size: 18px;
    color: var(--text-muted);
}

/* === FAQ ACCORDION === */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-trigger {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Boska', serif;
    font-size: 20px;
    text-align: left;
    color: var(--text);
}

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

.faq-content p {
    padding-bottom: 25px;
    color: var(--text-muted);
}

/* === TESTIMONIALS: ALTERNATING === */
.testimonial-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.testimonial-row.reverse {
    flex-direction: row-reverse;
}

.testimonial-img {
    flex: 0 0 300px;
}

.testimonial-img img {
    width: 300px;
    height: 400px;
    border-radius: 200px 200px 0 0;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content blockquote {
    font-family: 'Boska', serif;
    font-size: 28px;
    font-style: italic;
    margin-bottom: 20px;
}

/* === CASE STUDY HIGHLIGHT === */
.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.case-image img {
    border-radius: 0;
    height: 100%;
    width: 100%;
}

.case-info {
    padding: 60px;
}

.case-metrics {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.metric-item b {
    display: block;
    font-size: 32px;
    font-family: 'Boska', serif;
    color: var(--accent);
}

/* === COMPARISON SECTION === */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.comparison-table th, .comparison-table td {
    padding: 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-family: 'Boska', serif;
    font-size: 24px;
}

.check-icon { color: #10b981; }
.x-icon { color: #ef4444; }

/* === BRUTALIST FOOTER === */
footer {
    background: #ffffff;
    border-top: 8px solid #000000;
    padding: 80px 0 20px;
    font-family: 'Geist Mono', monospace;
    color: #000000;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-bottom: 4px solid #000000;
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 25px;
    background: #000000;
    color: #ffffff;
    display: inline-block;
    padding: 4px 12px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a:hover { text-decoration: underline; }

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 3px solid #000000;
    font-family: inherit;
    outline: none;
}

.newsletter-form button {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 0 20px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* === EXPERT TIP CALLOUT === */
.expert-tip {
    background: var(--bg);
    border-left: 5px solid var(--accent);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.expert-tip i {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .pricing-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
    .offset-grid, .case-study { grid-template-columns: 1fr; }
    .offset-col-left { margin-top: 0; }
    .hero-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .pricing-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
    .testimonial-row { flex-direction: column; text-align: center; }
    .testimonial-img img { width: 200px; height: 260px; }
    .hero-glass { padding: 30px; }
    .section { padding: 60px 0; }
    .offset-grid { gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}
