/* ==========================================================================
   SMARTS.GI Stylesheet - Premium Dark & Gold Theme
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-dark: #010611;
    --bg-dark-card: #051329;
    --bg-light: #FAF7F2;
    --color-gold: #DFB15B;
    --color-gold-hover: #F2C774;
    --color-gold-dark: #A98033;
    --color-gold-light: rgba(223, 177, 91, 0.15);
    --text-white: #FFFFFF;
    --text-dark: #0F1C30;
    --text-muted-dark: rgba(255, 255, 255, 0.7);
    --text-muted-light: #5A6A80;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gold-text {
    color: var(--color-gold);
}

.white-text {
    color: var(--text-white);
}

.dark-blue-text {
    color: var(--text-dark);
}

.text-light-muted {
    color: var(--text-muted-dark);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
}

.btn-outline-gold {
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    background: transparent;
}

.btn-outline-gold:hover {
    color: var(--bg-dark);
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(223, 177, 91, 0.4);
    transform: translateY(-2px);
}

.btn-gold-solid {
    color: var(--bg-dark);
    background-color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

.btn-gold-solid:hover {
    color: var(--bg-dark);
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    box-shadow: 0 0 20px rgba(223, 177, 91, 0.5);
    transform: translateY(-2px);
}

.btn-dark-blue {
    color: var(--text-white);
    background-color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-dark-blue:hover {
    color: var(--text-white);
    background-color: #1a2a42;
    border-color: #1a2a42;
    transform: translateY(-2px);
}

/* General Layout Elements */
.gold-decor-line {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

.section-tag {
    display: flex;
    align-items: center;
}

.gold-line-inline {
    display: inline-block;
    height: 2px;
    width: 40px;
    background-color: var(--color-gold);
    vertical-align: middle;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 800;
}

.section-paragraph {
    font-size: 16px;
    color: var(--text-muted-light);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    background-color: rgba(1, 6, 17, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(223, 177, 91, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--bg-dark);
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.brand-crest {
    width: 120px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 1px;
}

.brand-subtitle {
    font-size: 10px;
    color: var(--color-gold);
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 10px;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-gold);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 244px;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: url(../assets/hero_lion.png);
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.5);
}

/* Linear gradient overlay to blend the image into the dark background */
.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--bg-dark) 0%, 
        rgba(1, 6, 17, 0.8) 15%, 
        rgba(1, 6, 17, 0.4) 50%, 
        transparent 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted-dark);
    max-width: 550px;
    line-height: 1.8;
}

.z-2 {
    z-index: 2 !important;
}

/* ==========================================================================
   About & Why Choose Us Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.feature-card {
    background-color: var(--text-white);
    border: 1px solid rgba(223, 177, 91, 0.3);
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 30px rgba(223, 177, 91, 0.15);
}

.card-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-dark);
    background-color: #FFFDF9;
    transition: all 0.3s ease;
}

.feature-card:hover .card-icon-wrapper {
    background-color: var(--color-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(223, 177, 91, 0.3);
}

.card-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* ==========================================================================
   Network Rewards Section (Pyramid)
   ========================================================================== */
.rewards-section {
    background-color: var(--bg-dark);
    position: relative;
}

.badge-row {
    margin-top: 20px;
}

.badge-item {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bg-dark);
    margin-bottom: 10px;
    box-shadow: 0 0 15px rgba(223, 177, 91, 0.4);
    transition: transform 0.3s ease;
}

.badge-item:hover .badge-icon {
    transform: scale(1.15) rotate(10deg);
}

.badge-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

/* Pyramid Container styling */
.pyramid-container {
    background: radial-gradient(circle, rgba(5, 19, 41, 0.6) 0%, transparent 70%);
    border-radius: 20px;
    padding: 30px;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.world-map-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(223, 177, 91, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.4;
    pointer-events: none;
}

.pyramid-svg {
    max-width: 550px;
    height: auto;
    overflow: visible;
    z-index: 5;
    position: relative;
}

.tree-line {
    stroke: var(--color-gold);
    stroke-width: 1.5;
    stroke-dasharray: 4, 4;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.svg-node {
    cursor: pointer;
    outline: none;
}

.svg-node circle {
    fill: var(--bg-dark);
    stroke: var(--color-gold);
    stroke-width: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.svg-node text {
    fill: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-anchor: middle;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Hover States for SVG Nodes */
.svg-node:hover circle {
    fill: var(--color-gold);
    stroke: var(--text-white);
    filter: drop-shadow(0 0 10px var(--color-gold));
}

.svg-node:hover text {
    fill: var(--bg-dark);
}

/* Level indicator on the right of the pyramid */
.level-indicator {
    position: absolute;
    right: 40px;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: linear-gradient(180deg, var(--color-gold), transparent 80%, var(--color-gold));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.level-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid var(--color-gold);
}

.lvl-txt-top, .lvl-txt-bottom {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
    white-space: nowrap;
}

.lvl-txt-top {
    top: -20px;
    transform: translateX(-50%);
}

.lvl-txt-bottom {
    bottom: -20px;
    transform: translateX(-50%);
}

/* ==========================================================================
   Smarter Network / Orbiting Section
   ========================================================================== */
.network-orbit-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow: hidden;
}

.orbit-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 50px auto;
}

.orbit-circle-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 2px dashed rgba(223, 177, 91, 0.4);
    border-radius: 50%;
    animation: rotate-dashed 40s linear infinite;
}

@keyframes rotate-dashed {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    width: 130px; height: 130px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #FFFFFF;
    padding: 8px;
    border: 3px solid var(--color-gold);
    box-shadow: 0 0 30px rgba(223, 177, 91, 0.25);
    z-index: 10;
}

.orbit-crest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.crest-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(223, 177, 91, 0.4);
    animation: pulse-glow 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes pulse-glow {
    0% { transform: scale(0.98); opacity: 0.5; }
    100% { transform: scale(1.05); opacity: 1; }
}

.orbit-node {
    position: absolute;
    width: 55px;
    height: 55px;
    background: #FFFFFF;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.orbit-node .node-icon {
    font-size: 22px;
    color: var(--color-gold-dark);
    transition: color 0.3s ease;
}

.orbit-node:hover {
    transform: scale(1.2);
    background: var(--color-gold);
    box-shadow: 0 0 20px rgba(223, 177, 91, 0.5);
}

.orbit-node:hover .node-icon {
    color: var(--bg-dark);
}

.node-label {
    position: absolute;
    width: 150px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Orbit Nodes Placement Around Circle */
.orbit-node.top-left {
    top: 15%; left: 15%;
    transform: translate(-50%, -50%);
}
.orbit-node.top-left .node-label {
    right: 70px;
    text-align: right;
}

.orbit-node.top-right {
    top: 15%; right: 15%;
    transform: translate(50%, -50%);
}
.orbit-node.top-right .node-label {
    left: 70px;
    text-align: left;
}

.orbit-node.bottom-left {
    bottom: 15%; left: 15%;
    transform: translate(-50%, 50%);
}
.orbit-node.bottom-left .node-label {
    right: 70px;
    text-align: right;
}

.orbit-node.bottom-right {
    bottom: 15%; right: 15%;
    transform: translate(50%, 50%);
}
.orbit-node.bottom-right .node-label {
    left: 70px;
    text-align: left;
}

/* ==========================================================================
   Vision 2031 Section
   ========================================================================== */
.vision-section {
    background-color: var(--bg-dark);
    overflow: hidden;
    position: relative;
}

.vision-bg-path {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: 30% center;
    opacity: 0.45;
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Multi-stop gradient overlay to let the mountain road peak glow in center-left, fading to dark on left and right */
.vision-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, 
        rgba(1, 6, 17, 0.9) 0%, 
        rgba(1, 6, 17, 0.25) 30%, 
        rgba(1, 6, 17, 0.6) 55%, 
        rgba(1, 6, 17, 0.98) 80%);
    pointer-events: none;
}

.vision-features-row {
    position: relative;
    z-index: 2;
}

.vision-feature-col {
    padding: 20px 0;
    transition: transform var(--transition-speed) ease;
}

.vision-feature-col:hover {
    transform: translateY(-8px);
}

/* Vertical dividing lines */
@media (min-width: 768px) {
    .vision-feature-col {
        border-right: 1px solid rgba(223, 177, 91, 0.3);
    }
    .vision-feature-col:first-child {
        border-left: 1px solid rgba(223, 177, 91, 0.3);
    }
}

.vision-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vision-feature-icon {
    font-size: 54px;
    color: var(--color-gold);
    margin-bottom: 20px;
    transition: transform var(--transition-speed) ease, filter var(--transition-speed) ease;
}

.vision-feature-col:hover .vision-feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--color-gold));
}

.vision-feature-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1.4;
    font-family: var(--font-body);
}

/* ==========================================================================
   Join the Royal Movement
   ========================================================================== */
.join-section {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(223, 177, 91, 0.1);
    border-bottom: 1px solid rgba(223, 177, 91, 0.1);
}

.join-badge {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.join-badge:hover {
    transform: translateY(-5px);
}

.join-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(223, 177, 91, 0.05);
    border: 1px solid rgba(223, 177, 91, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-gold);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.join-badge:hover .join-icon {
    background: var(--color-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--color-gold);
    border-color: var(--color-gold);
}

.join-lbl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-white);
}

.max-w-400 {
    max-width: 400px;
}

.max-w-500 {
    max-width: 500px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
    background-color: #00040C;
    color: var(--text-muted-dark);
}

.footer-crest {
    width: 130px;
    object-fit: contain;
}

.border-gold {
    border-color: var(--color-gold) !important;
}

.opacity-20 {
    opacity: 0.2;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background-color: var(--color-gold);
    color: #00040C;
    box-shadow: 0 0 15px rgba(223, 177, 91, 0.4);
    transform: translateY(-3px);
}

.copyright-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-section {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 50px;
    }
    .hero-bg-image {
        width: 100%;
        opacity: 0.25;
    }
    .hero-bg-image::before {
        background: radial-gradient(circle, rgba(1, 6, 17, 0.4) 0%, var(--bg-dark) 85%);
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .orbit-wrapper {
        margin-bottom: 80px;
    }
    .level-indicator {
        right: 15px;
    }
    .node-label {
        font-size: 9px;
        width: 100px;
    }
    .orbit-node.top-left .node-label { right: 55px; }
    .orbit-node.top-right .node-label { left: 55px; }
    .orbit-node.bottom-left .node-label { right: 55px; }
    .orbit-node.bottom-right .node-label { left: 55px; }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-lion-img {
        max-width: 290px;
    }
    .orbit-wrapper {
        width: 260px;
        height: 260px;
    }
    .orbit-center {
        width: 100px;
        height: 100px;
    }
    .orbit-node {
        width: 45px;
        height: 45px;
    }
    .orbit-node .node-icon {
        font-size: 18px;
    }
    .node-label {
        font-size: 8px;
        width: 80px;
    }
    .orbit-node.top-left .node-label { right: 48px; }
    .orbit-node.top-right .node-label { left: 48px; }
    .orbit-node.bottom-left .node-label { right: 48px; }
    .orbit-node.bottom-right .node-label { left: 48px; }
    .level-indicator {
        display: none; /* Hide levels indicator line on very small screens to fit pyramid */
    }
    .pyramid-container {
        padding: 15px;
        min-height: auto;
    }
    .pyramid-node {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
}
