﻿:root {
    --bg-color: #17142C;
    --bg-darker: #0B0916;
    --text-color: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #A0A0A0;
    --primary-color: #FFD700;
    /* Gold */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilities */
.text-gold {
    color: var(--primary-color);
}

.text-white {
    color: white;
}

.text-muted {
    color: var(--text-muted);
}

.bg-gold {
    background-color: var(--primary-color);
}

.border-gold {
    border-color: var(--primary-color);
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {

    .grid-cols-2,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    /* Sticky as requested */
    top: 0;
    width: 100%;
    z-index: 50;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background-color: rgba(23, 20, 44, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-cta {
    background-color: var(--primary-color);
    color: #17142C !important;
    /* Dark text on Gold */
    padding: 0.625rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.btn-cta-mobile {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: #17142C;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.25rem;
    font-weight: 700;
    margin-top: 1rem;
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(23, 20, 44, 0.5), transparent, #17142C);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 9999px;
    background-color: rgba(255, 215, 0, 0.05);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.text-gradient {
    background: linear-gradient(to right, #FFD700, #FFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--primary-color);
    padding-left: 1.5rem;
}

@media (max-width: 1024px) {
    .hero-desc {
        border-left: none;
        padding-left: 0;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .hero-btns {
        justify-content: center;
    }
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
}

.spin-ring {
    width: 16rem;
    height: 16rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 20s linear infinite;
    position: relative;
}

.spin-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 1px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.5;
}

.core-icon {
    position: absolute;
    width: 12rem;
    height: 12rem;
    background-color: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.orbit-card {
    position: absolute;
    padding: 1rem;
    background-color: rgba(23, 20, 44, 0.8);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary-color);
    border-radius: 0.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: max-content;
}

.orbit-1 {
    top: 10%;
    right: 0;
    animation: float1 4s ease-in-out infinite;
}

.orbit-2 {
    bottom: 10%;
    left: 0;
    animation: float2 5s ease-in-out infinite;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-border {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.divider {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Cards */
.card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background-color: rgba(255, 215, 0, 0.05);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover .icon-box {
    transform: scale(1.1);
}

/* Portfolio */
.portfolio-card {
    position: relative;
    background-color: var(--bg-color);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    height: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    overflow: hidden;
}

.portfolio-card:hover {
    border-color: var(--primary-color);
}

.portfolio-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(255, 215, 0, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.portfolio-card:hover .portfolio-gradient {
    opacity: 1;
}

.portfolio-card>div,
.portfolio-card>a {
    position: relative;
    z-index: 2;
}

.portfolio-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-icon {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    background-color: #25D366;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(10px);

    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* 3D Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-content {
    transform: translateZ(20px);
}

/* Typewriter Effect */
.typewriter {
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

/* Magnetic Button */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
