/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --clr-midnight: #0B1121;
    --clr-midnight-light: #16203A;
    --clr-midnight-lighter: #233154;
    
    --clr-gold: #D4AF37;
    --clr-gold-light: #EBD486;
    --clr-gold-dark: #AA8A26;
    
    --clr-platinum: #F1F5F9;
    --clr-white: #FFFFFF;
    
    --clr-text-main: #F1F5F9;
    --clr-text-muted: #94A3B8;
    
    --bg-gradient: radial-gradient(circle at top right, #16203A, #0B1121);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Borders & Shadows */
    --border-color: rgba(212, 175, 55, 0.2);
    --border-strong: rgba(212, 175, 55, 0.5);
    --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.1);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    
    /* Variables */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-midnight);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.gradient-text-gold {
    background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    color: var(--clr-gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    border-radius: 0; /* Sharp, modern enterprise look */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--clr-gold);
    color: var(--clr-midnight);
    border: none;
    box-shadow: 4px 4px 0 rgba(212, 175, 55, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--clr-platinum);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-primary:hover {
    color: var(--clr-midnight);
    box-shadow: 6px 6px 0 rgba(212, 175, 55, 0.5);
    transform: translate(-2px, -2px);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-text-main);
}

.btn-outline:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
    background: rgba(212, 175, 55, 0.05);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(11, 17, 33, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 4px; /* Slight rounding for the provided logo */
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-text-main);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--clr-gold);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-gradient);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Abstract 3D Hero Art */
.hero-art {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-1, .orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.15);
    top: 10%;
    right: 10%;
    animation: float 8s infinite alternate;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(35, 49, 84, 0.6);
    bottom: 10%;
    left: 10%;
    animation: float 10s infinite alternate-reverse;
}

.glass-card {
    background: rgba(22, 32, 58, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.glass-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-gold);
}

.transaction-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.txn-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-gold);
    margin-right: 1rem;
}

/* Marquee / Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--clr-midnight-light);
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 3rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-text-muted);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-box {
    background: var(--clr-midnight-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-gold);
}

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

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--clr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Architecture Tab Section */
.arch-container {
    background: var(--clr-midnight-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4rem;
    margin-top: 4rem;
}

.arch-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.arch-steps::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.arch-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.arch-number {
    width: 60px;
    height: 60px;
    background: var(--clr-midnight);
    border: 2px solid var(--clr-gold);
    color: var(--clr-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Footer */
.site-footer {
    background: #050811;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    max-width: 350px;
}

.footer-title {
    color: var(--clr-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

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

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--clr-gold);
    margin-top: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.footer-bottom p {
    margin: 0;
}

.visitor-badge {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--clr-gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Utility Animations */
@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Trendy Service Alternating Rows */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 8rem;
}

.service-row:nth-child(even) .service-content {
    order: 2;
}

.service-row:nth-child(even) .service-visual {
    order: 1;
}

.service-visual {
    background: linear-gradient(135deg, var(--clr-midnight-lighter), var(--clr-midnight-light));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    aspect-ratio: 1 / 1;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.service-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: rotate 10s linear infinite;
}

.service-visual::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--clr-midnight);
    border-radius: inherit;
    z-index: 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.service-icon-large {
    font-size: 6rem;
    background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
    border-radius: inherit;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-visual:hover img {
    transform: scale(1.05);
}

.service-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.bento-card {
    background: var(--clr-midnight-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: transform 0.4s ease;
}

.bento-card:hover::before {
    transform: translate(30%, -30%) scale(1.2);
}

.bento-icon {
    font-size: 2rem;
    color: var(--clr-gold);
    margin-bottom: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .arch-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .arch-steps::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .arch-steps {
        grid-template-columns: 1fr;
    }
    
    .arch-container {
        padding: 2rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    /* Responsive Grids */
    .security-grid, .contact-grid, .about-grid, .form-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    
    .security-grid > div:nth-child(1) { order: 1 !important; }
    .security-grid > div:nth-child(2) { order: 2 !important; }
    
    .service-row {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        margin-bottom: 5rem;
    }
    
    .service-row:nth-child(even) .service-content {
        order: 1 !important;
    }
    
    .service-row:nth-child(even) .service-visual {
        order: 2 !important;
    }
    
    .service-bento {
        grid-template-columns: 1fr !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }
}

/* Mobile Menu Styles */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--clr-midnight);
    border-top: 1px solid rgba(255,255,255,0.05);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 500;
}

.mobile-nav a:last-child {
    border-bottom: none;
}
