/* ========== ZENIX SCRIPTING - LUXURIOUS SOFT DARK DESIGN SYSTEM ========== */
:root {
    /* Brand Emerald & Mint Glows */
    --green-primary: #10b981;
    --green-dark: #059669;
    --green-light: #34d399;
    --green-accent: #6ee7b7;
    --green-glow: rgba(16, 185, 129, 0.25);
    --green-glow-strong: rgba(16, 185, 129, 0.5);

    /* Soft Platinum & Silver Palette (NO harsh #ffffff) */
    --silver: #cbd5e1;
    --silver-light: #e2e8f0;
    --silver-dark: #94a3b8;
    --silver-faint: #64748b;

    /* Deep Velvet Obsidian Backgrounds */
    --dark: #080c16;
    --dark-surface: #0c1222;
    --dark-card: rgba(12, 19, 35, 0.72);
    --dark-card-hover: rgba(16, 26, 48, 0.85);
    --dark-border: rgba(52, 211, 153, 0.14);
    --dark-border-hover: rgba(52, 211, 153, 0.35);

    /* Typography Tones */
    --text: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-faint: #64748b;
    --text-dark: #080c14;

    /* Status Colors (Softized) */
    --success: #10b981;
    --warning: #fbbf24;
    --danger: #f87171;
    --info: #38bdf8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-primary-hover: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --gradient-text: linear-gradient(135deg, #e2e8f0 0%, #6ee7b7 60%, #10b981 100%);
    --gradient-card: linear-gradient(135deg, rgba(14, 22, 39, 0.8) 0%, rgba(20, 31, 56, 0.6) 100%);

    /* Soft Shadows & Ambient Radii */
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 8px 26px rgba(0, 0, 0, 0.38);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.52);
    --shadow-glow: 0 0 25px var(--green-glow);
    --shadow-glow-strong: 0 0 40px var(--green-glow-strong);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-pill: 9999px;
    --radius-circle: 50%;

    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.15s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--dark);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark) !important;
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 18% 18%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 82% 82%, rgba(52, 211, 153, 0.06) 0%, transparent 45%),
        linear-gradient(rgba(226, 232, 240, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.012) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: var(--silver-light);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

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

a:hover {
    color: var(--green-accent);
}

code {
    font-family: 'Fira Code', monospace;
    background: rgba(16, 185, 129, 0.12);
    color: var(--green-accent);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.88em;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Section Title */
.section-title {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3.5px;
    background: var(--gradient-primary);
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.section-title:hover::after {
    width: 90px;
}

/* Soft Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-dark) !important;
    box-shadow: 0 4px 18px var(--green-glow);
}

.btn-primary:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--green-glow-strong);
    color: var(--text-dark) !important;
}

.btn-secondary {
    background: rgba(14, 22, 40, 0.8);
    color: var(--silver-light) !important;
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--green-primary);
    color: var(--green-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.18);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-light);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(16, 185, 129, 0.22);
    background: rgba(16, 185, 129, 0.06);
    transition: var(--transition);
}

.btn-view-all:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: var(--green-primary);
    color: var(--silver-light);
    transform: translateX(3px);
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 130px 24px 80px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 65%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-particles {
    width: 100%;
    height: 100%;
    position: absolute;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-pill);
    color: var(--green-light);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.12);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.22;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(52, 211, 153, 0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--green-light);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid var(--green-primary);
    border-bottom: 2px solid var(--green-primary);
    transform: rotate(45deg);
    animation: scrollBounce 2.5s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.6; }
    40% { transform: translateY(8px) rotate(45deg); opacity: 1; }
    60% { transform: translateY(4px) rotate(45deg); opacity: 0.8; }
}

/* ========================================================
   FEATURE CARDS
   ======================================================== */
.features-section {
    padding: 80px 0;
    position: relative;
}

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

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 34px 26px;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--dark-border-hover);
    background: var(--dark-card-hover);
    box-shadow: var(--shadow-md), 0 0 24px rgba(16, 185, 129, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--green-light);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--text-dark);
    box-shadow: var(--shadow-glow);
    transform: scale(1.06);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ========================================================
   FEATURED PRODUCTS
   ======================================================== */
.featured-products {
    padding: 80px 0;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header .section-title {
    text-align: left;
    margin-bottom: 0;
    width: auto;
}

.section-header .section-title::after {
    left: 0;
    transform: none;
}

/* ========================================================
   HOW IT WORKS
   ======================================================== */
.how-it-works {
    padding: 80px 0;
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--dark-border-hover);
    background: var(--dark-card-hover);
    box-shadow: var(--shadow-md), 0 0 24px rgba(16, 185, 129, 0.12);
}

.step-number {
    position: absolute;
    top: 16px;
    right: 18px;
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(52, 211, 153, 0.14);
}

.step-icon {
    width: 54px;
    height: 54px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--green-light);
    margin: 0 auto 18px;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--gradient-primary);
    color: var(--text-dark);
    box-shadow: var(--shadow-glow);
    transform: scale(1.08);
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* ========================================================
   API INFO
   ======================================================== */
.api-info {
    padding: 80px 0;
    position: relative;
}

.api-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 44px;
    backdrop-filter: blur(20px);
}

.api-text .section-title {
    text-align: left;
    margin-bottom: 20px;
    width: auto;
}

.api-text .section-title::after {
    left: 0;
    transform: none;
}

.api-text p {
    margin-bottom: 20px;
}

.code-block {
    background: rgba(6, 10, 18, 0.92);
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--silver);
}

.api-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 24px;
    background: rgba(6, 10, 18, 0.6);
    border: 1px solid rgba(52, 211, 153, 0.14);
    border-radius: var(--radius-lg);
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    background: rgba(14, 22, 40, 0.9);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--silver-light);
    width: 100%;
    max-width: 260px;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.flow-node i {
    color: var(--green-light);
    font-size: 1.1rem;
}

.flow-arrow {
    color: var(--green-primary);
    font-size: 1.1rem;
}

/* ========================================================
   CONTACT
   ======================================================== */
.contact {
    padding: 80px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-xl);
    padding: 36px 26px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--dark-border-hover);
    background: var(--dark-card-hover);
    box-shadow: var(--shadow-md), 0 0 24px rgba(16, 185, 129, 0.12);
}

.contact-card > i {
    font-size: 2.5rem;
    color: var(--green-light);
    margin-bottom: 18px;
    transition: var(--transition);
}

.contact-card:hover > i {
    transform: scale(1.08);
    color: var(--green-accent);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.92rem;
    margin-bottom: 22px;
    flex-grow: 1;
}

.contact-card .btn {
    width: 100%;
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
    background: #050811;
    border-top: 1px solid rgba(52, 211, 153, 0.12);
    padding: 60px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 44px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-glow);
}

.footer-logo h3 {
    font-size: 1.2rem;
    color: var(--silver-light);
}

.footer-logo p {
    font-size: 0.88rem;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.95rem;
    color: var(--silver-light);
    margin-bottom: 4px;
    font-family: 'Orbitron', monospace;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--green-light);
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
    font-size: 1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-faint);
    margin-bottom: 0;
}

/* ========================================================
   TOAST NOTIFICATION
   ======================================================== */
.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: rgba(12, 19, 35, 0.96);
    border: 1px solid var(--green-primary);
    border-radius: var(--radius-md);
    padding: 13px 20px;
    color: var(--silver-light);
    font-weight: 500;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 99999;
    backdrop-filter: blur(16px);
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast i {
    font-size: 1.15rem;
    color: var(--green-light);
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.7rem; }
    .api-content { grid-template-columns: 1fr; padding: 32px 24px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .section-title { font-size: 1.9rem; margin-bottom: 2.2rem; }
    .hero { padding: 110px 16px 50px; }
    .hero-title { font-size: 2.1rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.4rem; }
    .features-section, .featured-products, .how-it-works, .api-info, .contact { padding: 50px 0; }
    .footer-content { grid-template-columns: 1fr; gap: 24px; }
}