:root {
    --dk-orange-dark: #FD5803;
    --dk-orange-primary: #FD5803;
    --dk-orange-light: #FDF2E2;
    --dk-bg: #F8FAF7;
    --dk-white: #FFFFFF;
    --dk-text: #172019;
    --dk-border: #DDE5DD;
    --dk-font: 'Inter', sans-serif;
}

body {
    font-family: var(--dk-font);
    color: var(--dk-text);
    background-color: var(--dk-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

main {
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dk-orange-dark);
}

h1 {
    font-size: 36px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 30px;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 34px;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 64px;
    }

    h2 {
        font-size: 44px;
    }
}

p {
    font-size: 16px;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    p {
        font-size: 18px;
    }
}

.text-small {
    font-size: 14px;
}

/* Content width limit for readability */
.content-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    background-color: var(--dk-white);
    border-bottom: 1px solid var(--dk-border);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 24px;
    color: var(--dk-orange-dark) !important;
}

.nav-link {
    color: var(--dk-text) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dk-orange-primary) !important;
}

/* Buttons */
.btn-primary-dk {
    background-color: var(--dk-orange-primary);
    color: var(--dk-white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary-dk:hover {
    background-color: var(--dk-orange-dark);
    color: var(--dk-white);
    transform: translateY(-1px);
}

.btn-secondary-dk {
    background-color: transparent;
    color: var(--dk-orange-primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--dk-orange-primary);
    transition: all 0.2s ease;
}

.btn-secondary-dk:hover {
    background-color: var(--dk-orange-primary);
    color: var(--dk-white);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: 120px 0;
    }
}

.bg-white-section {
    background-color: var(--dk-white);
}

.bg-light-orange {
    background-color: var(--dk-orange-light);
}

.bg-dark-orange {
    background-color: var(--dk-orange-dark);
    color: var(--dk-white);
}

.bg-dark-orange h1,
.bg-dark-orange h2,
.bg-dark-orange h3,
.bg-dark-orange h4 {
    color: var(--dk-white);
}

/* Premium Cards */
.dk-card {
    background: var(--dk-white);
    border: 1px solid var(--dk-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(160, 93, 11, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.dk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(160, 93, 11, 0.08);
}

.dk-card-image-wrap {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.dk-card-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
}

/* Quotes */
.editorial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 600;
    color: var(--dk-orange-dark);
    line-height: 1.4;
    border-left: 4px solid var(--dk-orange-primary);
    padding-left: 30px;
    text-align: left;
    margin: 40px auto;
    max-width: 800px;
}

@media (min-width: 768px) {
    .editorial-quote {
        font-size: 42px;
        text-align: center;
        border-left: none;
        padding-left: 0;
    }

    .editorial-quote::before,
    .editorial-quote::after {
        color: var(--dk-orange-light);
        font-size: 80px;
        line-height: 0;
        vertical-align: bottom;
    }
}

/* Hero Section */
#hero {
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 18px !important;
    padding-bottom: 80px !important;
    margin-bottom: 80px;
}

#hero h1 {
    font-size: 24px;
}

@media (min-width: 768px) {
    #hero h1 {
        font-size: 28px;
    }
}

@media (min-width: 1200px) {
    #hero h1 {
        font-size: 36px;
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: var(--dk-white);
    box-shadow: 0 20px 50px rgba(160, 93, 11, 0.08);
    border: 1px solid var(--dk-border);
}

.accolade-badge {
    background: rgba(225, 136, 23, 0.08);
    border: 1px solid rgba(225, 136, 23, 0.15);
    color: var(--dk-orange-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.content-img-left,
.content-img-right {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    object-fit: cover;
    border-radius: 12px;
}

.final-thought-card {
    max-width: 100%;
    margin: 0 auto;
    background: linear-gradient(145deg, #ffffff, #f0f7f3);
    padding: 2rem 1.25rem;
    border-radius: 20px;
}

@media (min-width: 768px) {
    .content-img-left {
        width: 36%;
        float: left;
        margin-right: 1.5rem;
    }
    .content-img-right {
        width: 36%;
        float: right;
        margin-left: 1.5rem;
    }
    .final-thought-card {
        max-width: 90%;
        padding: 4rem;
    }
}

.domain-badge {
    background-color: var(--dk-white);
    color: var(--dk-orange-dark);
    border: 1px solid rgba(160, 93, 11, 0.15) !important;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}

@media (min-width: 768px) {
    .domain-badge {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}

.hero-image-wrapper img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.credibility-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--dk-orange-dark);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Category Tabs */
.category-btn {
    width: 100%;
    background-color: var(--dk-white);
    border: 1px solid var(--dk-border);
    border-radius: 8px;
    padding: 16px;
    font-weight: 600;
    color: var(--dk-text);
    text-align: center;
    transition: all 0.2s ease;
}

.category-btn:hover {
    border-color: var(--dk-orange-primary);
    background-color: var(--dk-orange-light);
}

.category-btn.active {
    background-color: var(--dk-orange-dark);
    color: var(--dk-white);
    border-color: var(--dk-orange-dark);
}

/* Domain Data Row */
.domain-data-row {
    background-color: var(--dk-orange-light);
    color: var(--dk-text);
    border: 1px solid var(--dk-orange-primary);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.dd-col {
    display: flex;
    flex-direction: column;
}

.dd-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dk-text);
    opacity: 0.7;
    margin-bottom: 6px;
}

.dd-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--dk-orange-dark);
}

.dd-value-highlight {
    color: var(--dk-orange-primary);
}

.dd-notes {
    width: 100%;
    font-size: 13px;
    margin-top: 12px;
    color: var(--dk-orange-dark);
    opacity: 0.8;
}

@media (min-width: 768px) {
    .domain-data-row {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .dd-col-main {
        flex: 2;
    }

    .dd-col-value {
        flex: 1;
        text-align: center;
    }

    .dd-col-lease {
        flex: 1;
        text-align: right;
    }

    .dd-notes {
        margin-top: 8px;
    }
}

/* Forms */
.form-control,
.form-select {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--dk-border);
    background-color: var(--dk-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--dk-orange-primary);
    box-shadow: 0 0 0 3px rgba(225, 136, 23, 0.1);
}

/* Specific component tweaks */
.eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--dk-orange-primary);
    margin-bottom: 12px;
    display: block;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--dk-orange-light);
    color: var(--dk-orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--dk-orange-dark);
    color: var(--dk-orange-light);
    padding: 60px 0 30px;
}

footer a {
    color: var(--dk-white);
    text-decoration: none;
}

footer a:hover {
    color: var(--dk-orange-light);
    text-decoration: underline;
}

/* --- NEW SECTIONS FOR REDESIGN --- */

/* --- NEW PREMIUM FLOWCHART (What is a domain worth) --- */
.premium-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.flow-step {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.flow-card {
    background: var(--dk-white);
    padding: 20px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 280px;
    transition: transform 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-5px);
}

.flow-card.highlight {
    background: linear-gradient(135deg, var(--dk-orange-primary), #C5730B);
    border: none;
    box-shadow: 0 15px 35px rgba(225, 136, 23, 0.4);
}

.flow-card.hero-node {
    background: #111;
    border: 2px solid var(--dk-orange-primary);
    padding: 25px 50px;
    box-shadow: 0 0 30px rgba(225, 136, 23, 0.3);
}

.flow-connector {
    height: 40px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.animated-line {
    position: absolute;
    top: 0;
    left: -1px;
    width: 4px;
    height: 100%;
    background: var(--dk-orange-primary);
    border-radius: 4px;
    animation: flowDown 2s infinite ease-in-out;
}

@keyframes flowDown {
    0% {
        height: 0;
        opacity: 0;
        top: 0;
    }

    50% {
        height: 100%;
        opacity: 1;
        top: 0;
    }

    100% {
        height: 0;
        opacity: 0;
        top: 100%;
    }
}

.flow-branches {
    width: 100%;
    position: relative;
    margin-top: 20px;
}

.flow-branch-line {
    position: absolute;
    top: -20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.branch-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border-top: 4px solid var(--dk-orange-primary);
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.branch-icon {
    width: 60px;
    height: 60px;
    background: var(--dk-orange-light);
    color: var(--dk-orange-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.branch-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dk-text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branch-arrow {
    color: var(--dk-orange-primary);
    font-size: 24px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

.branch-result {
    font-size: 26px;
    font-weight: 900;
    color: var(--dk-orange-dark);
}

/* Image Styled Quote Card */
.image-quote-card {
    background-color: var(--dk-white);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(160, 93, 11, 0.1);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.iqc-white-layer {
    display: none;
    background-color: var(--dk-white);
    position: absolute;
    top: 25%;
    left: -10%;
    width: 120%;
    height: 120%;
    transform: rotate(12deg);
    box-shadow: 0 -15px 35px rgba(160, 93, 11, 0.25);
    z-index: 2;
}

@media (min-width: 768px) {
    .image-quote-card {
        background-color: var(--dk-orange-dark);
    }
    .iqc-white-layer {
        display: block;
    }
}

.iqc-content-top {
    position: absolute;
    top: -20px;
    left: 40px;
    z-index: 4;
}

.iqc-quotes-top {
    font-family: Arial, sans-serif;
    font-size: 180px;
    color: #EFBD7C;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -10px;
    opacity: 0.9;
}

.iqc-content-bottom {
    position: relative;
    z-index: 3;
    padding: 120px 40px 40px;
}

.iqc-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--dk-orange-dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.iqc-text {
    font-size: 18px;
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 20px;
}

.iqc-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
}

.iqc-author {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--dk-orange-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.iqc-quotes-bottom {
    font-family: Arial, sans-serif;
    font-size: 120px;
    color: #EFBD7C;
    line-height: 0;
    font-weight: 900;
    letter-spacing: -5px;
    position: relative;
    top: 30px;
}

/* Value Tags */
.value-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.value-tag {
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--dk-white);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s ease;
}

.value-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Browser Mockup */
.browser-mockup {
    background: var(--dk-white);
    border-radius: 12px;
    border: 1px solid var(--dk-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.browser-header {
    background: var(--dk-bg);
    border-bottom: 1px solid var(--dk-border);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
}

.browser-dots span:nth-child(1) {
    background: #fecaca;
}

.browser-dots span:nth-child(2) {
    background: #fef08a;
}

.browser-dots span:nth-child(3) {
    background: #bbf7d0;
}

.browser-address-bar {
    flex: 1;
    background: var(--dk-white);
    border: 1px solid var(--dk-border);
    border-radius: 6px;
    padding: 6px 15px;
    font-family: monospace;
    font-size: 14px;
    color: var(--dk-text);
}

/* Educational Valuation Cards */
.valuation-card {
    background: var(--dk-white);
    border: 1px solid var(--dk-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vc-header {
    background: var(--dk-orange-dark);
    padding: 24px;
    color: var(--dk-orange-light);
}

.vc-header h3 {
    margin: 0;
    color: var(--dk-white);
}

.vc-body {
    padding: 24px;
}

.vc-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--dk-border);
}

.vc-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dk-orange-primary);
}

.vc-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--dk-text);
}

.vc-rationale {
    background: var(--dk-bg);
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
}

/* Proof Cards */
.proof-card {
    background: var(--dk-white);
    border: 1px solid var(--dk-border);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.pc-domain {
    font-weight: 800;
    font-size: 20px;
    color: var(--dk-orange-dark);
    margin-bottom: 5px;
}

.pc-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--dk-orange-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.pc-status {
    display: inline-block;
    padding: 4px 10px;
    background: var(--dk-orange-light);
    color: var(--dk-orange-dark);
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 20px;
}

.pc-context {
    font-size: 14px;
    color: var(--dk-text);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Progression Diagram */
.progression-diagram {
    font-weight: 700;
    letter-spacing: 1px;
}

.prog-node {
    padding: 10px 20px;
    background: var(--dk-bg);
    border: 1px solid var(--dk-border);
    border-radius: 8px;
    color: var(--dk-text);
}

.prog-arrow {
    color: var(--dk-orange-primary);
    font-size: 24px;
    margin: 0 10px;
}

.prog-highlight {
    background: var(--dk-orange-primary);
    color: var(--dk-white);
    border-color: var(--dk-orange-dark);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--dk-orange-primary);
    color: var(--dk-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.back-to-top:hover {
    background-color: var(--dk-orange-dark);
    color: var(--dk-white);
    transform: translateY(-3px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}