:root {
    --bg-color: #050505;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #00ADB5;
    --accent-secondary: #393E46;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 173, 181, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(57, 62, 70, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    top: 40%;
    right: -200px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    100% {
        transform: translateY(50px) translateX(50px);
    }
}

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

h1,
h2,
h3,
.logo-text {
    font-family: var(--font-heading);
}

.gradient-text {
    background: linear-gradient(135deg, #00ADB5 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card.hover-glow:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 173, 181, 0.3);
    box-shadow: 0 10px 40px rgba(0, 173, 181, 0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 173, 181, 0.3);
}

.btn-primary:hover {
    background: #00c1c9;
    box-shadow: 0 6px 20px rgba(0, 173, 181, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links .btn {
    color: #fff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 173, 181, 0.1);
    border: 1px solid rgba(0, 173, 181, 0.2);
    color: var(--accent-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* Terminal Card */
.terminal-card {
    padding: 1.5rem;
    font-family: monospace;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.terminal-body code {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.terminal-body .prompt {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

.terminal-body .success {
    color: #27c93f;
}

.terminal-body .comment {
    color: var(--text-secondary);
}

/* Features Section */
.features-section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Architecture Section */
.architecture-section {
    padding: 8rem 0;
    background: radial-gradient(ellipse at center, rgba(57, 62, 70, 0.3) 0%, rgba(5, 5, 5, 1) 70%);
}

.architecture-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.architecture-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.architecture-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-badge {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive Layouts */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero-image-container {
        max-width: 90%;
    }

    .architecture-content {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a:not(.btn) {
        display: none;
        /* Hide text links on mobile, keep GitHub button */
    }

    .hero h1 {
        font-size: 2.8rem;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-lg {
        width: 100%;
        text-align: center;
    }

    .features-section,
    .architecture-section,
    .screenshots-section,
    .installation-section {
        padding: 5rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tabs-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        width: 100%;
    }

    .large-terminal {
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Installation Tabs */
.installation-section {
    padding: 8rem 0;
    position: relative;
}

.tabs-container {
    max-width: 800px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: rgba(0, 173, 181, 0.15);
    border-color: rgba(0, 173, 181, 0.4);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(0, 173, 181, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.large-terminal {
    font-size: 1rem;
    padding: 2rem;
}

/* Screenshots Section */
.screenshots-section {
    padding: 8rem 0;
    position: relative;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 2rem 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.05);
}

.screenshot-card:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h4 {
    color: #fff;
    margin: 0;
    font-weight: 500;
}

.hero-image-container {
    padding: 0.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    max-width: 800px;
    margin: 0 auto;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}