:root {
    --primary-dark: #0a0a0a;
    --bg-primary: #1a1a1a;
    --accent-gold: #ffd700;
    --secondary-dark: #1a1a1a;
    --tertiary-dark: #2a2a2a;
    --bg-tertiary: #3a3a3a;
    --gold-primary: #ffd700;
    --gold-secondary: #b8941f;
    --gold-light: #ffd700;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --text-dark: #666666;
    --accent-blue: #4a90e2;
    --success-green: #28a745;
    --border-color: #333333;
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --shadow-gold: rgba(212, 175, 55, 0.3);
    --gradient-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #b8941f 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
    --bg-dark:rgb(42 42 42) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.bg-dark{
    background:var(--bg-dark)!important
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-secondary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

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

.text-muted {
    color: var(--text-muted) !important;
}

/* Buttons */
.btn-gold {
    background: var(--gradient-gold);
    border: none;
    color: var(--primary-dark);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-gold);
    color: var(--primary-dark);
}

.btn-outline-gold {
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    background: transparent;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-gold);
}

.btn-outline-light {
    border: 2px solid var(--border-color);
    color: var(--text-light);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--tertiary-dark);
    border-color: var(--gold-primary);
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--gold-primary) !important;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-primary) !important;
    background: rgba(212, 175, 55, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.sasi-decoder-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.sasi-decoder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
}

.sasi-input {
    background: var(--tertiary-dark);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 15px 20px;
    border-radius: 50px 0 0 50px;
    transition: all 0.3s ease;
}

.sasi-input:focus {
    background: var(--tertiary-dark);
    border-color: var(--gold-primary);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.sasi-input::placeholder {
    color: var(--text-muted);
}

.input-group .btn-gold {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.sasi-info {
    text-align: center;
    margin-top: 1rem;
}

.badge {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
}

.bg-gold {
    background: var(--gradient-gold) !important;
    color: var(--primary-dark) !important;
}

/* Floating Elements */
.floating-elements {
    background: url(../image/bg-image.jpg) no-repeat center center;
    opacity: .5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    color: var(--gold-primary);
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.sasi-info-section {
    background: var(--secondary-dark);
    position: relative;
}

.sasi-breakdown-card {
    background: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sasi-example h3 {
    color: var(--gold-primary);
    margin-bottom: 2rem;
}

.sasi-digits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.sasi-group {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.digits {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-primary);
    background: var(--secondary-dark);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
}

.description strong {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.description small {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    background: var(--primary-dark);
    position: relative;
}

.feature-card {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--gold-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px var(--shadow-gold);
}

.card-title {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.api-section {
    background: var(--secondary-dark)!important;
}

.x-section {
    background: var(--secondary-dark)!important;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.api-card {
    background: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.api-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: var(--gold-primary);
}

.api-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.api-features .feature-item,
.api-pricing .price-item {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.api-documentation {
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
}

.code-example {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.code-example pre {
    margin: 0;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.code-example code {
    color: var(--gold-light);
}

/* Video Section */
.video-section {
    background: var(--primary-dark);
}

.video-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--tertiary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-dark);
    box-shadow: 0 4px 20px var(--shadow-gold);
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    text-align: center;
}

/* Partners Section */
.partners-section {
    background: var(--secondary-dark);
}

.partner-logo {
    text-decoration: none;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.logo-placeholder {
    color: var(--text-muted);
    font-weight: 600;
    width: 100%;
}

.text-left{
  text-align: left!important;
}

.logo-placeholder img{
    width: 100%;
    object-fit: cover;
    height: 80px;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-title {
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold-primary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modals */
.modal-content {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--text-light);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.form-label {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    background: var(--tertiary-dark);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--tertiary-dark);
    border-color: var(--gold-primary);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-check-input {
    background: var(--tertiary-dark);
    border: 2px solid var(--border-color);
}

.form-check-input:checked {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

.form-check-label {
    color: var(--text-muted);
}

.page-header {
    padding: 120px 0 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .sasi-digits {
        flex-direction: column;
        gap: 1rem;
    }

    .digits {
        font-size: 1.5rem;
    }

    .input-group {
        flex-direction: column;
    }

    .sasi-input {
        border-radius: 50px;
        margin-bottom: 1rem;
    }

    .input-group .btn-gold {
        border-radius: 50px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .sasi-input{
        width:100%!important;
        border-radius: var(--bs-border-radius-lg)!important;
    }

    .btn-gold{
        border-radius: 50px!important;
    }

    .page-header {
        padding: 120px 0 60px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .navbar-brand {
        font-size: 1.3rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .sasi-input{
        width:100%!important;
        border-radius: var(--bs-border-radius-lg)!important;
    }

    .btn-gold{
        border-radius: 50px!important;
    }

    .page-header {
        padding: 120px 0 60px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--gold-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.page-title {
    font-size: 2rem;
    color: var(--accent-gold);
}
.api-sidebar .nav-link{
    border-radius:0;
    margin-left:0;
    font-weight:300;
}
.api-sidebar .nav-link.active{
    color:var(--accent-gold)!important;
}

.badge-gold {
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: .85rem;
}

.featured-post .card-body, .blog-post .card-body{
    background: var(--secondary-dark) !important;
}

.featured-post .card, .blog-post .card{
    border: 1px solid var(--border-color);
}

.featured-post .btn-gold{
    text-decoration: none;
    font-size: .85rem;
}

.featured-post .card-title a, .blog-post .card-title a{
    color:var(--accent-gold);
    font-size: 1.5rem;
}
