img { max-width: 100%; height: auto; display: block; }

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d12;
  --bg-darker: #050508;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #2ecc71;
  --accent-glow: rgba(46, 204, 113, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.3);
  --heading-font: 'Fraunces', serif;
  --body-font: 'Plus Jakarta Sans', sans-serif;
  --container-max: 1240px;
}

body {
  font-family: var(--body-font);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  background-attachment: fixed;
}

/* === MESH GRADIENT ANIMATION === */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(at 0% 0%, rgba(46, 204, 113, 0.15) 0px, transparent 50%),
                radial-gradient(at 100% 0%, rgba(52, 152, 219, 0.1) 0px, transparent 50%),
                radial-gradient(at 50% 100%, rgba(46, 204, 113, 0.1) 0px, transparent 50%);
    background-size: 400% 400%;
    animation: meshGradient 15s linear infinite;
}

@keyframes meshGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* === STRUCTURAL BASELINES === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

section {
    padding: 60px 0;
    position: relative;
}

/* Layout Archetype: Wide-Narrow Alternating */
section:nth-child(odd) .container {
    max-width: 100%;
    padding: 0 5%;
}

section:nth-child(even) .container {
    max-width: 800px;
    margin: 0 auto;
}

/* Section Dividers: Rounded Concave */
section.has-divider-top::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 1;
}

section.has-divider-bottom::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    z-index: 1;
}

/* === DUAL HEADER SYSTEM === */
.top-info-bar {
    height: 40px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.top-info-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-items { display: flex; gap: 20px; }
.info-item { display: flex; align-items: center; gap: 6px; }
.social-icons { display: flex; gap: 15px; }

header.main-header {
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    flex: 1;
}

.nav-links.left { justify-content: flex-end; padding-right: 40px; }
.nav-links.right { justify-content: flex-start; padding-left: 40px; }

.nav-links a {
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.logo-centered {
    flex: 0 0 auto;
    text-align: center;
}

.logo-centered h1 {
    font-family: var(--heading-font);
    font-size: 24px;
    color: var(--accent);
    margin: 0;
}

/* === SCROLL PROGRESS === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 2000;
    width: 0%;
}

/* === HERO: TESTIMONIAL HERO === */
.hero-testimonial {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-testimonial::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13, 13, 18, 0.9), rgba(13, 13, 18, 0.4));
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-quote-block blockquote {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-quote-block span.author {
    display: block;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-photo-wrapper img {
    width: 100%;
    aspect-ratio: 1/1;
    border: 8px solid var(--glass-border);
}

/* === PREMIUM UI BLOCKS === */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px var(--accent);
    filter: brightness(1.1);
}

.btn-full { width: 100%; }

/* === INDEX SPECIFIC: SIDEBAR + CONTENT === */
.index-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sticky-sidebar {
    flex: 0 0 35%;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.scrolling-content {
    flex: 1;
}

/* === GRIDS & CARDS === */
.grid-centered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-card i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--heading-font);
    font-size: 22px;
    margin-bottom: 15px;
}

/* === CALCULATOR STYLES === */
.calculator-container {
    padding: 40px;
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.range-slider {
    width: 100%;
    height: 6px;
    background: var(--glass-border);
    border-radius: 3px;
    outline: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

.calc-result {
    margin-top: 30px;
    padding: 20px;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    text-align: center;
}

.calc-result span {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

/* === TESTIMONIALS: INTERVIEW STYLE === */
.interview-item {
    margin-bottom: 40px;
}

.qa-block {
    margin-bottom: 15px;
}

.question {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 5px;
}

.answer {
    color: var(--text);
    font-style: italic;
}

/* === PRICING === */
.pricing-card {
    border: 1px solid var(--glass-border);
}

.pricing-card.popular {
    border-color: var(--accent);
    transform: scale(1.05);
}

/* === NEWSLETTER === */
.newsletter-section {
    background: var(--accent);
    color: #000;
    padding: 60px 0;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
}

/* === TRUST BADGES === */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.badge-item i { font-size: 24px; }

/* === FAQ ACCORDION === */
.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text);
    font-size: 18px;
    font-family: var(--heading-font);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding-bottom: 20px;
}

/* === FOOTER: FULL-WIDTH PHOTO FOOTER === */
footer.main-footer {
    position: relative;
    padding: 100px 0 40px;
    background-image: url('images/img-13.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

footer.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.9);
}

.footer-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h4 {
    font-family: var(--heading-font);
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    position: relative;
    z-index: 10;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #94a3b8;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-quote-block blockquote { font-size: 2.5rem; }
    .index-layout { flex-direction: column; }
    .sticky-sidebar { position: static; width: 100%; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-info-bar { display: none; }
    .nav-links { display: none; }
    .hamburger { display: block; cursor: pointer; }
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        padding: 40px;
        gap: 20px;
        text-align: center;
        border-bottom: 1px solid var(--accent);
    }
    .newsletter-grid { grid-template-columns: 1fr; }
    .hero-quote-block blockquote { font-size: 2rem; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hamburger {
    display: none;
    font-size: 24px;
    color: var(--text);
}

/* Inner Page Callout */
.expert-callout {
    margin: 40px 0;
    padding: 30px;
    border-left: 4px solid var(--accent);
    background: var(--glass-bg);
    font-style: italic;
    font-size: 1.1rem;
}

.expert-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.expert-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
