:root {
    /* Refined luxury dark palette - deeper, warmer, with subtle gold undertone */
    --bg-base: #0B1433;
    --bg-surface: #111D40;
    --bg-card: #17264F;
    --bg-card-hover: #223568;
    --gold: #ffd000ff;
    --gold-light: #ffc933ff;
    --gold-dark: #E94E00;
    --gold-glow: rgba(255, 87, 0, 0.25);
    --green: #22C55E;
    --green-soft: rgba(34, 197, 94, 0.12);
    --red: #EF4444;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.35);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-gold: rgba(255, 87, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 8px 40px rgba(255, 87, 0, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Added to prevent any horizontal scrolling/flying parts */
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Layered background: deep base + soft top sheen + ambient gold glow + bottom warmth */
    background-color: var(--bg-base);
    /* background: linear-gradient(180deg,
            #0a0b1e 0%,
            #1a1035 15%,
            #3d1f52 35%,
            #6b2658 55%,
            #8b2a5c 70%,
            #c23b5c 82%,
            #d94e30 92%,
            #f05a28 100%); */
    ;
    background-image:
        radial-gradient(ellipse 80% 50% at 15% 0%, rgba(255, 87, 0, 0.10), transparent 60%),
        radial-gradient(ellipse 70% 60% at 85% 100%, rgba(255, 87, 0, 0.06), transparent 55%),
        linear-gradient(180deg, #0B1433 0%, #0B1433 40%, #080F27 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, background 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--gold);
    color: var(--bg-base);
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-base);
    background-image:
        radial-gradient(ellipse 80% 50% at 15% 0%, rgba(255, 87, 0, 0.10), transparent 60%),
        linear-gradient(180deg, #0B1433 0%, #0B1433 40%, #080F27 100%);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner-container {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 87, 0, 0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.preloader-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    z-index: 2;
}

.preloader-text {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* NAVBAR */
.main-navbar {
    width: 100%;
    background: rgba(6, 10, 18, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
    font-size: 16px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--gold);
    background: rgba(255, 87, 0, 0.1);
}

.btn-nav {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-base) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    box-shadow: var(--shadow-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 87, 0, 0.3);
    color: var(--bg-base) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s linear, opacity 0.3s linear;
    position: relative;
    transform-origin: center;
}

/* GENERAL SECTIONS */
.section-padding {
    padding: 80px 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 87, 0, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.glass-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 60%),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    height: 100%;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255, 87, 0, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.surface-block {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, transparent 50%),
        var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

/* HERO */
.hero-section {
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 87, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 87, 0, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title span {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* GLOBAL STATS BAR */
.global-stats-bar {
    background:
        linear-gradient(180deg, rgba(255, 87, 0, 0.04) 0%, transparent 100%),
        var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
    margin-bottom: 32px;
}

.g-stat {
    text-align: center;
    padding: 10px;
    border-right: 1px solid var(--border);
}

.g-stat:last-child {
    border-right: none;
}

.g-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.g-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HOW IT WORKS */
.step-card {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 87, 0, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 20px auto;
}

.step-line {
    position: absolute;
    top: 44px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: 0;
}

/* CALCULATOR */
.calc-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-input-dark {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    outline: none;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FF5700' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-input-dark:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 87, 0, 0.1);
}

.form-input-dark::placeholder {
    color: var(--text-muted);
}

select.form-input-dark option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.calc-result {
    background: rgba(255, 87, 0, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 24px;
    text-align: center;
    display: none;
}

.calc-result.active {
    display: block;
}

.calc-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--red);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.profit-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 4px;
}

.profit-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* PLANS */
.plan-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 60%),
        var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.plan-card.featured {
    border-color: var(--border-gold);
    background: linear-gradient(180deg, rgba(255, 87, 0, 0.06) 0%, var(--bg-card) 40%);
    box-shadow: var(--shadow-gold);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-base);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.plan-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
}

.plan-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255, 87, 0, 0.1);
    color: var(--gold);
    border: 1px solid rgba(255, 87, 0, 0.15);
}

.plan-number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 100px;
}

.plan-card.featured .plan-number {
    background: rgba(255, 87, 0, 0.1);
    border-color: var(--border-gold);
    color: var(--gold);
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.plan-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.plan-return {
    text-align: center;
    padding: 24px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.plan-card.featured .plan-return {
    border-color: var(--border-gold);
}

.return-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 6px;
}

.plan-card.featured .return-value {
    background: linear-gradient(135deg, var(--green), #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.return-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 24px;
}

.plan-card.featured .plan-range {
    background: rgba(255, 87, 0, 0.05);
    border-color: var(--border-gold);
}

.range-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
}

.plan-features li i {
    font-size: 12px;
    color: var(--green);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-soft);
    border-radius: 50%;
    flex-shrink: 0;
}

.plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.plan-btn-outline {
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
}

.plan-btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

.plan-btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--bg-base);
    border: none;
    box-shadow: 0 4px 16px rgba(255, 87, 0, 0.3);
}

.plan-btn-primary:hover {
    box-shadow: 0 8px 24px rgba(255, 87, 0, 0.4);
    transform: translateY(-1px);
}

.plan-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.plan-btn:hover i {
    transform: translateX(3px);
}

/* GOLD CARDS */
.gold-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.gold-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.gold-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.gold-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gold-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gold-card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.gold-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 87, 0, 0.1);
    border: 1px solid rgba(255, 87, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
}

.gold-card-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
}

/* NEW 4 IMAGE GALLERY */
.gallery-image-card {
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.gallery-image-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.9), transparent);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
}

/* COMPARISON TABLE */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.compare-table th,
.compare-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    background: rgba(255, 87, 0, 0.05);
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table td {
    color: var(--text-secondary);
    font-size: 15px;
}

.compare-table .highlight {
    color: var(--green);
    font-weight: 700;
}

.compare-table .dim {
    color: var(--text-muted);
}

/* REFERRAL */
.referral-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ref-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 87, 0, 0.1);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 24px;
    position: relative;
}

.ref-circle::before,
.ref-circle::after {
    content: "";
    position: absolute;
    width: 140%;
    height: 140%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 87, 0, 0.3);
    animation: spin 10s linear infinite;
}

.ref-circle::after {
    animation-direction: reverse;
    width: 180%;
    height: 180%;
    border-color: rgba(255, 87, 0, 0.15);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ACTIVITY TABLE */
.activity-table {
    width: 100%;
    border-collapse: collapse;
}

.activity-table th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.activity-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
}

.activity-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.status-deposit {
    background: rgba(34, 197, 94, 0.1);
    color: var(--green);
}

.status-withdraw {
    background: rgba(255, 87, 0, 0.1);
    color: var(--gold);
}

/* TESTIMONIALS */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-base);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

.stars {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

/* PARTNERS LOGOS */
.partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.partner-logos:hover {
    opacity: 0.8;
}

.partner-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* TRUST */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: rgba(255, 87, 0, 0.08);
    color: var(--gold);
    border: 1px solid rgba(255, 87, 0, 0.1);
}

.trust-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.trust-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ */
.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 0;
    overflow: hidden;
}

.faq-item {
    padding: 0 32px;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    cursor: pointer;
}

.faq-question h5 {
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-question h5 {
    color: var(--gold);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}


/* ABOUT CHAINPALL: responsive two-column section */
.about-section {
    padding: 84px 24px;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    max-width: 1160px;
    margin: 0 auto;
}

.about-visual {
    position: relative;
    min-width: 0;
}

.about-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 87, 0, .35);
    background: var(--bg-card);
    box-shadow: 0 24px 65px rgba(0, 0, 0, .32);
    aspect-ratio: 5 / 4;
}

.about-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 20, 51, .05), rgba(11, 20, 51, .42));
    pointer-events: none;
}

.about-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-note {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    background: rgba(11, 20, 51, .82);
    backdrop-filter: blur(12px);
    color: #fff;
}

.about-image-note strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.about-image-note span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.about-copy {
    min-width: 0;
}

.about-copy h2 {
    color: var(--text-primary);
    font-size: clamp(30px, 3.4vw, 43px);
    line-height: 1.15;
    letter-spacing: -1px;
    font-weight: 800;
    margin: 0 0 20px;
}

.about-copy h2 span {
    color: var(--gold);
}

.about-copy p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 15px;
    margin-bottom: 16px;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 24px 0 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}

.about-points i {
    color: var(--gold);
    margin-top: 3px;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.about-link {
    color: var(--gold);
    font-weight: 700;
    padding: 12px 4px;
}

.about-link:hover {
    color: var(--gold-light);
}

@media (max-width: 800px) {
    .about-section {
        padding: 56px 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-visual {
        order: 1;
    }

    .about-copy {
        order: 2;
    }

    .about-image-frame {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .about-points {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-image-note {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px;
    }
}

/* PAYMENTS & CONTACT */
.payments {
    padding: 80px 40px;
    text-align: center;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.small-title {
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.main-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.description {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pay-card {
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, transform 0.3s ease;
    background: var(--bg-card);
}

.pay-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.pay-card img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.contact-section {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-bottom: 32px;
}


/* CONTACT DETAILS + FORM GRID */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: stretch;
}

.company-contact-panel,
.contact-form-panel {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(23, 38, 79, 0.9), rgba(11, 20, 51, 0.96));
}

.company-contact-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

.contact-kicker {
    display: inline-block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
}

.company-contact-intro h3,
.contact-form-panel h3 {
    color: var(--text-primary);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 750;
    letter-spacing: -0.5px;
    margin: 0 0 10px;
}

.company-contact-intro p,
.contact-form-intro {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.company-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.company-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 87, 0, 0.18);
    border-radius: 13px;
    background: rgba(6, 14, 39, 0.58);
}

.company-detail-location {
    grid-column: 1 / -1;
}

.company-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--gold);
    background: rgba(255, 87, 0, 0.12);
}

.company-detail-card h4 {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    margin: 2px 0 6px;
}

.company-detail-card p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    margin: 0;
}

.contact-form-panel h3 {
    font-size: 23px;
}

.contact-form-intro {
    margin-bottom: 22px;
}

.contact-input-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.contact-message {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    margin-bottom: 18px;
}

.contact-submit {
    width: 100%;
    padding: 16px;
    font-size: 15px;
}

.contact-layout .form-input-dark {
    min-width: 0;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .company-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {

    .company-contact-panel,
    .contact-form-panel {
        padding: 22px 18px;
    }

    .company-details-grid,
    .contact-input-row {
        grid-template-columns: 1fr;
    }

    .company-detail-location {
        grid-column: auto;
    }
}

/* FOOTER */
footer {
    background:
        linear-gradient(180deg, transparent 0%, rgba(255, 87, 0, 0.025) 100%),
        var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 64px 40px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.3s ease, padding 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
    background: rgba(255, 87, 0, 0.1);
    border-color: var(--border-gold);
    color: var(--gold);
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* LIGHTBOX STYLING */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 80vh;
    /* Limits height so button is always visible on screen */
    border-radius: 12px;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow-gold);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lightbox-close:hover {
    color: var(--gold);
    background: rgba(255, 87, 0, 0.1);
    border-color: var(--border-gold);
}

/* RESPONSIVE - FIXED MOBILE MENU */
@media (max-width: 991px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(5, 10, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        border-top: 1px solid var(--border);
        overflow-y: auto;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        gap: 24px;
    }

    .nav-links a {
        font-size: 24px;
        font-weight: 600;
    }

    .btn-nav {
        display: inline-flex;
        font-size: 20px;
        padding: 16px 40px;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background: var(--gold);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background: var(--gold);
    }

    .hero-section {
        padding: 80px 20px 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .surface-block,
    .payments,
    .contact-section {
        padding: 32px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .step-line {
        display: none;
    }

    .g-stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 20px;
    }

    .g-stat:last-child {
        border-bottom: none;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plan-range {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .plan-range div[style*="width:1px"] {
        width: 100% !important;
        height: 1px !important;
    }

    .plan-range div[style*="text-align:right"] {
        text-align: center !important;
    }

    .main-title {
        font-size: 32px;
    }

    .activity-table {
        font-size: 12px;
    }

    .activity-table th,
    .activity-table td {
        padding: 10px;
    }

    .compare-table {
        font-size: 13px;
    }

    .compare-table th,
    .compare-table td {
        padding: 14px;
    }
}

/* FOR BLOG SPACE */
.blog-section {
    padding: 80px 20px;
    background: var(--bg-base);
}

.blog-container {
    max-width: 1200px;
    margin: auto;
}

.blog-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 700;
}

.blog-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.blog-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 20px;
    flex: 1;
}

.blog-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.blog-content a:hover {
    gap: 12px;
    color: var(--gold-light);
}

/* FINAL THEME + RESPONSIVE POLISH */
:root {
    --accent-orange: #FF5700;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .main-navbar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-padding {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hero-title {
        font-size: clamp(30px, 8vw, 38px);
        letter-spacing: -0.8px;
        overflow-wrap: break-word;
    }

    .hero-desc {
        font-size: 16px;
    }

    .calc-container,
    .glass-card,
    .plan-card,
    .testimonial-card {
        padding: 24px 20px;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 10px;
        overflow-wrap: anywhere;
    }

    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}