/* CSS Variables */
:root {
    --color-bg: #050505;
    --color-bg-alt: #0a0a0a;
    --color-primary: #C5A059;
    --color-primary-light: #e0b463;
    --color-text: #F5F5F0;
    --color-text-muted: #888888;
    --color-border: #333333;

    --font-heading: 'Noto Serif KR', serif;
    --font-body: 'Pretendard', sans-serif;

    --spacing-container: 120px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor for custom cursor */
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1;
    word-break: keep-all;
    /* Fix awkward Korean line breaks */
}

/* ... (omitted) ... */

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-container: 60px;
        /* Reduced spacing */
    }

    .main-title {
        font-size: 1.8rem;
        /* Drastically reduced for mobile */
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .philosophy-content .quote {
        font-size: 1.4rem;
    }

    .hero-intro {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    /* Fix Grid Layouts - Stack vertically */
    .text-left-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Fix Flex Layout - Stack vertically */
    .product-showcase {
        flex-direction: column;
        gap: 40px;
    }

    /* Fix Nav spacing and alignment */
    nav {
        padding: 15px 20px;
        background: rgba(5, 5, 5, 0.95);
        align-items: center;
        /* Keep centered vertically */
    }

    .logo {
        font-size: 0.9rem;
        max-width: 65%;
        /* Prevent overlapping with contact button */
        line-height: 1.3;
        margin-right: 10px;
    }

    .nav-cta {
        font-size: 0.9rem;
        font-weight: 700;
        white-space: nowrap;
        /* Prevent LINE BREAK on contact button */
    }

    /* Adjust Report Mockup size */
    .report-mockup {
        width: 70%;
        /* Smaller width to show context */
        aspect-ratio: 3/4.5;
        /* Slightly taller to fit text? Or just fix text size */
        margin: 0 auto;
    }

    /* FIX 2: Reduce font size inside the book */
    .report-title {
        font-size: 1.2rem;
        letter-spacing: 2px;
        margin-top: 10px;
    }

    /* FIX 1: Overlap issue */
    #hero {
        padding-top: 140px;
        /* More top padding */
        padding-bottom: 80px;
        height: auto;
        min-height: auto;
        /* Allow content to define height */
        align-items: center;
    }

    .logo-container {
        margin-top: 0;
    }

    /* Hide scroll indicator on mobile to prevent overlap with button */
    .scroll-indicator {
        display: none;
    }

    /* Keyword Items Compact */
    .keyword-item .number {
        font-size: 2rem;
    }

    .keyword-item .icon {
        font-size: 1.5rem;
    }

    /* Disable custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }
}

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

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.gold-text {
    color: var(--color-primary);
    background: linear-gradient(120deg, var(--color-primary) 0%, #F0D78C 50%, var(--color-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Custom Cursor */
.cursor,
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--color-primary);
    transition: transform 0.1s;
    mix-blend-mode: screen;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.nav-hidden {
    transform: translateY(-100%);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-cta {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

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

/* Section: Hero */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.logo-container {
    margin-bottom: 40px;
    position: relative;
}

.main-logo-img {
    width: 120px;
    height: auto;
    /* Removed filter to show original PNG colors */
}

.main-title {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 50px;
    /* Increased for better spacing */
    color: #fff;
    font-weight: 600;
}

.hero-intro {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 800px;
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

/* Section 1: Hero */
#hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-bottom: 50px;
    /* Reduced from 150px to 50px */
}

/* Section: Comparison (The Shock) */
#compare {
    padding: var(--spacing-container) 0;
    background-color: var(--color-bg);
}

.compare-header {
    margin-bottom: 30px;
}

.compare-header .section-title {
    margin-bottom: 25px;
    /* Half of default 50px */
}

.compare-header .section-desc {
    color: #fff;
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 500;
}

.compare-vs-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    /* Separating cards to solve illusion */
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.compare-card {
    flex: 1;
    background: #111;
    padding: 60px 40px;
    position: relative;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.compare-card.early {
    background: linear-gradient(145deg, #111 0%, #0a0a0a 100%);
    border: 1px solid #222;
    border-top: 2px solid var(--color-primary);
    /* Gold Top Line */
    border-radius: 20px;
}

.compare-card.late {
    background: linear-gradient(145deg, #111 0%, #0a0a0a 100%);
    border: 1px solid #222;
    border-top: 2px solid #e74c3c;
    /* Red Top Line */
    border-radius: 20px;
}

.compare-card:hover {
    z-index: 2;
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.card-tag {
    display: inline-block;
    padding: 6px 15px;
    font-size: 0.8rem;
    background: #222;
    color: #888;
    border-radius: 50px;
    margin-bottom: 30px;
    font-weight: 500;
}

.early .card-tag {
    color: var(--color-primary);
    background: rgba(197, 160, 89, 0.1);
}

.late .card-tag {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.scenario-name {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.tax-amount {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 40px;
}

.view-detail-btn {
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 0.9rem;
    cursor: pointer;
    font-family: var(--font-body);
    padding: 0;
    margin-top: 25px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.view-detail-btn:hover {
    border-bottom-color: var(--color-primary);
    letter-spacing: 0.5px;
}

.late .view-detail-btn {
    color: #e74c3c;
}

.late .view-detail-btn:hover {
    border-bottom-color: #e74c3c;
}

.tax-amount .amount {
    display: block;
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    margin-top: 10px;
}

.early .amount {
    color: var(--color-primary);
}

.late .amount {
    color: #e74c3c;
}

.benefit-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 10px;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-container {
    background: #111;
    border: 1px solid #333;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    border-radius: 20px;
    position: relative;
    padding: 60px 40px;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #fff;
}

.modal-body h4 {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
}

.basis-group {
    margin-bottom: 35px;
}

.basis-group h5 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.basis-group h5::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.basis-group p {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.7;
    word-break: keep-all;
    padding-left: 18px;
}

.late-modal h4 {
    color: #e74c3c;
}

.late-modal .basis-group h5::before {
    background: #e74c3c;
}

.benefit-list li {
    font-size: 1rem;
    color: #ccc;
    position: relative;
    padding-left: 25px;
}

.benefit-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.late .benefit-list li::before {
    color: #e74c3c;
}

.vs-divider {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #050505;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.shock-message {
    margin-top: 60px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.red-text {
    color: #e74c3c;
    font-weight: 700;
}

/* Responsive for Compare Section */
@media (max-width: 992px) {
    .compare-vs-container {
        flex-direction: column;
        gap: 30px;
    }

    .vs-divider {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 20px auto;
        z-index: 5;
    }

    .compare-card {
        padding: 40px 25px;
        flex: none;
        width: 100% !important;
    }

    .compare-card.early,
    .compare-card.late {
        border: 1px solid #222;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .tax-amount .amount {
        font-size: 2.2rem;
    }

    .shock-message {
        font-size: 1.2rem;
    }
}

/* Section: Authority */
/* Section: Authority */
#authority {
    padding: 0;
    /* Remove default padding as sub-sections handle it */
    position: relative;
    background: transparent;
}

.authority-profile {
    padding: var(--spacing-container) 0;
    position: relative;
}

.lee-profile {
    background-color: var(--color-bg);
}

.hong-profile {
    background-color: #1A1810;
    /* Dark Olive/Brown tone */
    border-top: 1px solid #332E20;
}

.profile-title {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 500;
}

.hong-profile .profile-title {
    margin-bottom: 60px;
}

.profile-subtitle {
    font-size: 2.4rem;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 60px;
    font-weight: 400;
}

/* History Grid Layout */
.history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Adjusted for 3 columns */
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.history-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

.history-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* History List Centered (Hong Profile) */
.history-list-centered {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    /* Narrower for single column */
    margin: 40px auto 0;
    text-align: left;
}

.history-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.year-box {
    min-width: 80px;
    padding: 2px 0;
    border: 1px solid #666;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
    font-family: var(--font-body);
}

.history-desc {
    font-size: 1rem;
    color: #eee;
    padding-top: 2px;
    /* Visual alignment with box text */
    word-break: keep-all;
}

/* Responsive adjustments for Authority */
@media (max-width: 768px) {

    .history-grid,
    .history-grid.two-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .profile-subtitle {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .hong-profile .profile-title {
        margin-bottom: 40px;
    }

    .year-box {
        min-width: 60px;
        font-size: 0.85rem;
    }
}

/* Section: Product */
#product {
    padding: var(--spacing-container) 0;
    background: var(--color-bg-alt);
}

.product-header {
    text-align: center;
    margin-bottom: 80px;
}

.product-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 400;
}

.product-title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.product-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
}

.product-image-container {
    flex: 0 0 auto;
    width: 350px;
}

.book-image {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
    /* Simple elegant shadow */
}

/* Feature List */
/* Feature List */
.product-info {
    flex: 1;
    max-width: 600px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    padding: 30px;
    border-left: 2px solid #333;
    transition: all 0.3s ease;
    background: transparent;
    /* Ensure crisp text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #999999;
    /* Grey for inactive */
    margin-bottom: 15px;
    transition: color 0.3s;
    font-weight: 700;
}

.feature-item p {
    font-size: 1rem;
    color: #777777;
    /* Darker grey for inactive */
    line-height: 1.6;
    transition: color 0.3s;
    font-weight: 400;
}

/* Highlighted Item (First one or Hover or Selected) */
.feature-item.highlight,
.feature-item.selected,
.feature-item:hover {
    border-left-color: var(--color-primary);
    background: rgba(197, 160, 89, 0.1);
    /* Subtle Gold Tint */
}

.feature-item.highlight h3,
.feature-item.selected h3,
.feature-item:hover h3 {
    color: var(--color-primary);
    /* Gold */
}

.feature-item.highlight p,
.feature-item.selected p,
.feature-item:hover p {
    color: #ffffff;
    /* White */
}

/* Smart Hover Interaction */
.feature-list:hover .feature-item.highlight:not(:hover),
.feature-list:hover .feature-item.selected:not(:hover) {
    border-left-color: #333;
    background: transparent;
}

.feature-list:hover .feature-item.highlight:not(:hover) h3,
.feature-list:hover .feature-item.selected:not(:hover) h3 {
    color: #999999;
}

.feature-list:hover .feature-item.highlight:not(:hover) p,
.feature-list:hover .feature-item.selected:not(:hover) p {
    color: #777777;
}

/* Responsive */
@media (max-width: 768px) {
    .product-showcase {
        flex-direction: column;
        gap: 50px;
    }

    .product-image-container {
        width: 70%;
        max-width: 300px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .product-subtitle {
        font-size: 1.2rem;
    }
}


/* Section: New Middle Sections */
.section-desc {
    color: #888;
    margin-bottom: 60px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Pricing Section */
#pricing {
    padding: 120px 0;
    background-image: url('../assets/bg2.png');
    background-size: cover;
    background-position: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    /* Wider container */
    margin: 0 auto;
}

.pricing-card {
    background: #151515;
    /* Slightly lighter than bg */
    border: none;
    /* Remove border for cleaner look */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: #BF9B30;
    /* Adjusted Gold/Mustard color */
    color: #000;
    padding: 20px 0;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.card-body {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.card-body .price {
    font-family: var(--font-body);
    /* Sans-serif for price numbers usually looks cleaner, or stick to Serif if image dictates */
    color: #BF9B30;
    /* Match header color */
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.card-body .desc {
    font-size: 0.95rem;
    color: #eee;
    /* Whiter text */
    line-height: 1.6;
    word-break: keep-all;
    font-weight: 300;
    opacity: 0.8;
}

/* Case Study Section */
#case-study {
    padding: 120px 0;
    background: #000;
}

.case-study-box {
    display: flex;
    background: #151515;
    /* Match Pricing styling */
    border: none;
    /* Remove border */
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
}

.case-image-container {
    width: 320px;
    margin: 40px;
    align-self: flex-start;
    height: 400px;
    overflow: hidden;
    background: #151515;
    /* Match box bg if image is loading */
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.case-slide:hover .case-image {
    transform: scale(1.05);
}

.case-content {
    flex: 1;
    padding: 60px 50px 60px 0;
    /* Right padding, no left padding (gap handled by margin) */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.privacy-notice {
    font-size: 0.85rem;
    color: #666;
    margin-top: -50px;
    margin-bottom: 40px;
    font-weight: 300;
}

.client-name {
    color: #BF9B30;
    /* Gold */
    font-size: 1rem;
    margin-bottom: 20px;
    display: block;
    font-weight: 500;
}

.case-title {
    font-size: 1.8rem;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 40px;
    font-family: var(--font-body);
    /* Sans-serif for clean look */
    font-weight: 700;
    word-break: keep-all;
}

.more-link {
    font-size: 1rem;
    color: #BF9B30;
    /* Gold */
    align-self: flex-end;
    margin-top: auto;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.more-link:hover {
    opacity: 1;
}

/* Services Section */
#services {
    padding: 100px 0;
    background: #080808;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 900px;
    margin-top: 20px;
}

.service-card {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 40px;
    text-align: left;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #444;
}

.service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 20px;
    /* Optional: Filter for gold color if images aren't already colored */
    /* filter: sepia(1) saturate(5) hue-rotate(5deg); */
}

.service-card h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
    word-break: keep-all;
}

/* Reviews Section */
#reviews {
    padding: 100px 0;
    background: #0a0a0a;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.review-item {
    background: #050505;
    border: 1px solid #222;
    padding: 30px;
    text-align: left;
    position: relative;
}

.quote-icon {
    font-family: serif;
    font-size: 3rem;
    color: #333;
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}

.review-meta {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 40px;
    /* Make space for quote icon */
}

.review-text {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 40px;
    word-break: keep-all;
}

/* Responsive for New Sections */
@media (max-width: 768px) {

    .pricing-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .case-study-box {
        flex-direction: column;
    }

    .case-image-placeholder {
        width: 100%;
        height: 200px;
    }

    .case-content {
        padding: 30px 20px;
    }


    .case-title {
        font-size: 1.3rem;
    }
}

/* Carousel Styles */
.case-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.case-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.case-slide {
    display: flex;
    flex: 0 0 100%;
    min-width: 100%;
}

/* Ensure slide maintains flex layout of original box */
@media (max-width: 768px) {
    .case-slide {
        flex-direction: column;
    }
}

/* Section: Contact */
#contact {
    padding: 100px 0 60px;
    background: #000;
}

.contact-form-container {
    width: 100%;
    max-width: 500px;
    /* Centered width */
    margin: 0 auto;
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #fff;
    /* White Labels */
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: #aaa;
    /* Placeholder-ish color */
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
    color: #fff;
    /* White text on focus */
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #aaa;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #666;
    display: inline-block;
    position: relative;
    transition: all 0.3s;
    background: transparent;
}

.custom-checkbox input:checked+.checkmark {
    background: transparent;
    border-color: var(--color-primary);
}

.custom-checkbox input:checked+.checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
}

.custom-checkbox:hover .checkmark {
    border-color: #999;
}

/* New Box Button Style */
.submit-btn-box {
    background: transparent;
    border: 1px solid var(--color-primary);
    padding: 18px 0;
    width: 100%;
    margin-top: 50px;
    color: var(--color-primary);
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn-box:hover {
    background: var(--color-primary);
    color: #000;
}

/* Footer */
footer {
    border-top: 1px solid #222;
    padding-top: 40px;
    margin-top: 100px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    font-family: var(--font-body);
}

/* Animations */
.fade-in-up,
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* This controls the scroll reveal */
.fade-in-up.revealed,
.reveal-text.revealed {
    opacity: 1;
    /* Keep things visible! */
    transform: translateY(0);
}

/* Feature items need special care because they overlap logically with active */
.feature-item.revealed {
    opacity: 1;
    /* Default visible state - No Blur */
}

.feature-item.selected,
.feature-item.highlight,
.feature-item:hover {
    opacity: 1 !important;
    /* Highlighted state - Force Opacity 1 */
    transition-delay: 0s !important;
    /* Force immediate transition on hover */
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --spacing-container: 60px;
        /* Reduced spacing */
    }

    .main-title {
        font-size: 1.8rem;
        /* Drastically reduced for mobile */
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .philosophy-content .quote {
        font-size: 1.4rem;
    }

    .sub-copy {
        font-size: 0.95rem;
    }

    /* Fix Grid Layouts - Stack vertically */
    .text-left-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Fix Flex Layout - Stack vertically */
    .product-showcase {
        flex-direction: column;
        gap: 40px;
    }

    /* Fix Nav spacing and alignment */
    nav {
        padding: 15px 20px;
        background: rgba(5, 5, 5, 0.95);
        align-items: center;
        /* Keep centered vertically */
    }

    .logo {
        font-size: 0.9rem;
        max-width: 65%;
        /* Prevent overlapping with contact button */
        line-height: 1.3;
        margin-right: 10px;
    }

    .nav-cta {
        font-size: 0.8rem;
        white-space: nowrap;
        /* Prevent LINE BREAK on contact button */
    }

    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }

    /* Reduce Philosophy padding on mobile */
    #philosophy {
        padding: 60px 0;
    }

    /* Hide Product Image on Mobile */
    .product-image-container {
        display: none;
    }

    #hero {
        padding-top: 120px;
        align-items: center;
        /* Center content */
        padding-bottom: 30px;
        /* Drastically reduce bottom space */
        height: auto;
        min-height: auto;
        /* Force auto height */
    }

    /* Force reduce Authority top padding */
    #authority {
        padding-top: 30px;
    }

    .logo-container {
        margin-top: 20px;
        /* Spacing from top */
    }

    /* Keyword Items Compact */
    .keyword-item .number {
        font-size: 2rem;
    }

    .keyword-item .icon {
        font-size: 1.5rem;
    }

    /* Disable custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* Section: AI Advisor */
#ai-advisor {
    padding: 120px 0;
    background: #0a0a0a;
}

.advisor-header {
    margin-bottom: 60px;
    text-align: center;
}

.advisor-desc {
    color: #888;
    max-width: 600px;
    margin: 20px auto 0;
}

.advisor-card {
    background: #111;
    border: 1px solid #222;
    padding: 30px 60px 40px;
    /* Reduced from 60px */
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    min-height: 400px;
    /* Reduced from 500px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.advisor-step {
    display: none;
    animation: advisorFadeIn 0.5s ease;
}

.advisor-step.active {
    display: block;
}

@keyframes advisorFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.step-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 40px;
    font-family: var(--font-heading);
}

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

.opt-btn {
    background: #050505;
    border: 1px solid #333;
    padding: 20px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: left;
}

.opt-btn:hover {
    border-color: var(--color-primary);
    color: #fff;
}

.opt-btn.selected {
    background: rgba(197, 160, 89, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.counter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.count-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #444;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.count-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.count-input {
    width: 60px;
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.unit {
    font-size: 1.2rem;
    color: #888;
}

.step-hint {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

.advisor-textarea {
    width: 100%;
    height: 150px;
    background: #050505;
    border: 1px solid #333;
    padding: 20px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: border-color 0.3s;
}

.advisor-textarea:focus {
    border-color: var(--color-primary);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #222;
    margin-bottom: 30px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    transition: width 0.5s ease;
}

.nav-btns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#advisor-next {
    margin-left: auto;
}

.btn-secondary {
    padding: 12px 30px;
    border: 1px solid #444;
    color: #888;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #666;
    color: #fff;
}

/* Results Content Styling */
.result-summary {
    background: #1a1a1a;
    padding: 40px;
    border-left: 4px solid var(--color-primary);
    margin: 20px 0;
    /* Reduced from 40px */
    text-align: left;
}

.result-summary h5 {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.summary-body {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05rem;
    word-break: keep-all;
    white-space: pre-wrap;
    margin-bottom: 30px;
}

.summary-body b,
.summary-body strong {
    color: #fff;
}

.fee-estimate {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    margin-top: 30px;
}

/* AI Circular Loader */
.ai-circle-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.ai-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #222;
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    /* Fully hidden initially */
    transition: stroke-dashoffset 0.1s linear;
}

.ai-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.loading-text {
    font-family: var(--font-body);
    color: #888;
    font-size: 1.1rem;
}

/* Typing Effect Simulation */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--color-primary);
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    #ai-advisor {
        padding: 80px 0;
    }

    .advisor-card {
        padding: 40px 20px;
    }

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

    .step-title {
        font-size: 1.2rem;
    }
}

/* General Services Section */
.general-services {
    width: 100%;
    max-width: 1200px;
    /* Increased to fill container */
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
}

.general-info-box {
    background: #111;
    border: 1px solid #222;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.general-info-box:hover {
    border-color: var(--color-primary);
}

/* Removed gold line ::before as requested */

.info-header h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.fee-info {
    font-size: 1.1rem;
    color: #eee;
    margin-bottom: 20px;
    word-break: keep-all;
}

.fee-info strong {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.free-condition {
    font-size: 0.95rem;
    color: var(--color-primary);
    background: rgba(197, 160, 89, 0.1);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .general-services {
        margin-top: 50px;
    }

    .general-info-box {
        padding: 40px 25px;
    }

    .info-header h3 {
        font-size: 1.5rem;
    }

    .fee-info {
        font-size: 1rem;
    }
}