/* TRION Global Styles - Vibrant Dark Theme */
:root {
    /* Base Colors - Lighter, more "Chic" Dark Mode */
    --bg-primary: #0f1115;
    /* SLightly lighter than pure black */
    --bg-secondary: #161b22;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a6b2;
    --text-muted: #6e7681;

    /* Accent Colors - High Energy */
    --accent-blue: #00f0ff;
    /* Cyberpunk Cyan */
    --accent-purple: #bd00ff;
    /* Neon Purple */
    --accent-orange: #ff9900;
    /* TRON Orange/Gold */
    --accent-gradient: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));

    /* UI Elements */
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(20, 20, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.15);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

/* Install Command Box */
.install-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.command-box {
    background: rgba(10, 12, 14, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Fira Code', monospace;
    /* Monospace for code */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    max-width: 100%;
}

.command-box:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.prompt {
    color: var(--accent-orange);
    font-weight: bold;
    user-select: none;
}

.cmd-text {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.05);
}

.copy-feedback {
    font-size: 0.8rem;
    color: var(--accent-blue);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Interface Showcase */
.interface-preview {
    padding: 100px 0 150px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
    overflow: visible;
}

.interface-wrapper {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.interface-card {
    position: absolute;
    width: 65%;
    /* Adjust based on image aspect ratio usually */
    border-radius: var(--radius-lg);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
    background: #0f1115;
}

.interface-card img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}

/* Dashboard Card (Center/Back) */
.interface-card.dashboard {
    z-index: 10;
    transform: translateZ(-50px) translateY(0) rotateX(5deg);
    animation: float-main 6s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}

/* Settings Card (Front/Right) */
.interface-card.settings {
    z-index: 20;
    width: 45%;
    right: 5%;
    bottom: -10%;
    transform: translateZ(50px) rotateY(-15deg) rotateX(5deg);
    animation: float-secondary 8s ease-in-out infinite reverse;
    border: 1px solid rgba(189, 0, 255, 0.3);
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.15);
}

/* Reflections & Glows */
.reflection {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: shine 8s infinite ease-in-out;
}

@keyframes float-main {

    0%,
    100% {
        transform: translateZ(-50px) translateY(0) rotateX(5deg);
    }

    50% {
        transform: translateZ(-50px) translateY(-15px) rotateX(5deg);
    }
}

@keyframes float-secondary {

    0%,
    100% {
        transform: translateZ(50px) rotateY(-15deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: translateZ(50px) rotateY(-15deg) rotateX(5deg) translateY(-20px);
    }
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        left: 200%;
        opacity: 0;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

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

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Addon Store Toggle */
.view-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 20px;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Hero and Feature Styles moved from index.html */

/* Hero Specific Styles */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1f25 0%, #0a0c0e 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.glow-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a6b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

h1 span {
    color: var(--accent-orange);
    -webkit-text-fill-color: var(--accent-orange);
}

p.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
}

/* Hidden sidebar for Jimdo compatibility */
.jimdo-sidebar-hidden {
    display: none;
}