/* ===== CSS Variables ===== */
:root {
    --bg-dark: #060b18;
    --bg-primary: #0a0f1e;
    --bg-secondary: #111827;
    --bg-card: #151d2e;
    --bg-card-hover: #1a2540;
    --bg-glass: rgba(15, 23, 42, 0.7);
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-cyan: #06d6a0;
    --accent-cyan-dim: rgba(6, 214, 160, 0.12);
    --accent-blue: #3b82f6;
    --accent-blue-dim: rgba(59, 130, 246, 0.12);
    --accent-purple: #8b5cf6;
    --accent-purple-dim: rgba(139, 92, 246, 0.12);
    --accent-amber: #f59e0b;
    --accent-danger: #ef4444;
    --border: rgba(148, 163, 184, 0.08);
    --border-light: rgba(148, 163, 184, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Utility ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

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

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

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

.btn-primary-nav {
    background: linear-gradient(135deg, var(--accent-cyan), #059669);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.btn-primary-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(6, 214, 160, 0.3);
}

.btn-admin-entry {
    background: linear-gradient(135deg, var(--accent-amber), #d97706);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 13px;
}

.btn-admin-entry:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}

.user-avatar-btn:hover {
    background: rgba(255,255,255,0.08);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-blue-dim);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.admin-avatar {
    background: var(--accent-amber);
    color: #fff;
}

.user-display-name {
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.user-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.dropdown-divider {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 12px;
    color: var(--accent-danger);
}

.dropdown-divider:hover {
    color: var(--accent-danger);
    background: rgba(239, 68, 68, 0.08);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 214, 160, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 214, 160, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.2), transparent 70%);
    top: -10%;
    right: -5%;
    animation: float 12s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    bottom: 5%;
    left: -5%;
    animation: float 15s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    top: 40%;
    left: 40%;
    animation: float 10s ease-in-out infinite 3s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-cyan-dim);
    border: 1px solid rgba(6, 214, 160, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-highlight {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 84px);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin: 4px 0;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-cyan), #059669);
    color: #fff;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 214, 160, 0.35);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 15px;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-value::after {
    content: '+';
    font-size: 20px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s ease 1.5s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scroll 2s ease infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

.scroll-indicator span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Section Common ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: var(--accent-cyan-dim);
    border: 1px solid rgba(6, 214, 160, 0.15);
    color: var(--accent-cyan);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Features ===== */
.features {
    background: var(--bg-primary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--accent-cyan-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--accent-blue-dim);
    color: var(--accent-blue);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--accent-purple-dim);
    color: var(--accent-purple);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Products ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.08), rgba(59, 130, 246, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: var(--accent-cyan);
}

.product-info {
    padding: 24px;
}

.product-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--accent-cyan-dim);
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.product-card:nth-child(2) .product-tag {
    background: var(--accent-blue-dim);
    color: var(--accent-blue);
}

.product-card:nth-child(3) .product-tag {
    background: var(--accent-purple-dim);
    color: var(--accent-purple);
}

.product-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-info > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.product-specs i {
    color: var(--accent-cyan);
    font-size: 14px;
}

/* ===== About ===== */
.about {
    background: var(--bg-primary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-tag,
.about-text .section-title {
    text-align: left;
}

.about-text > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature > i {
    font-size: 24px;
    color: var(--accent-cyan);
    margin-top: 2px;
}

.about-feature h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Tech Ring Visual */
.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-ring {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(6, 214, 160, 0.15);
    animation: spin 20s linear infinite;
}

.ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(59, 130, 246, 0.15);
    animation: spin 15s linear infinite reverse;
}

.ring-3 {
    width: 160px;
    height: 160px;
    border-color: rgba(139, 92, 246, 0.15);
    animation: spin 12s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.ring-1::before { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.ring-2::before { background: var(--accent-blue); box-shadow: 0 0 10px var(--accent-blue); }
.ring-3::before { background: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); }

.ring-center {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan-dim), var(--accent-blue-dim));
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-cyan);
    animation: pulse 3s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.2); }
    50% { box-shadow: 0 0 0 20px rgba(6, 214, 160, 0); }
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Login Modal ===== */
.login-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.login-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
}

.modal-panel {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    margin: 20px;
    padding: 32px;
    animation: modalIn 0.4s ease;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-x {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.modal-x:hover {
    color: var(--text-primary);
}

.modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-family: var(--font-body);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: var(--accent-cyan);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-field {
    position: relative;
    margin-bottom: 16px;
}

.form-field i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.form-field input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.form-field input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px var(--accent-cyan-dim);
}

.form-field input::placeholder {
    color: var(--text-muted);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-wrap input {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkbox-wrap input:checked + .checkmark {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.checkbox-wrap input:checked + .checkmark::after {
    content: '\eb7b';
    font-family: 'remixicon';
    font-size: 10px;
    color: #fff;
}

.forgot-link {
    font-size: 13px;
    color: var(--accent-cyan);
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-cyan), #059669);
    color: #fff;
    padding: 13px 0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(6, 214, 160, 0.35);
}

/* ===== Toast ===== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    animation: toastIn 0.4s ease, toastOut 0.4s ease 2.6s forwards;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.toast-success {
    background: var(--bg-card);
    border: 1px solid rgba(6, 214, 160, 0.3);
    color: var(--accent-cyan);
}

.toast-error {
    background: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-danger);
}

.toast-info {
    background: var(--bg-card);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Download Section ===== */
.download {
    padding: 100px 0;
}

.download .section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: -10px;
    margin-bottom: 48px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 214, 160, 0.12);
}

.download-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-cyan-dim), var(--accent-blue-dim));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-cyan);
}

.download-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.download-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.download-card .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-visual {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-actions #guestActions {
        gap: 8px;
    }
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        gap: 24px;
    }
    .stat-value {
        font-size: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .btn-admin-entry {
        font-size: 12px;
        padding: 6px 14px;
    }
    .user-display-name {
        display: none;
    }
    .modal-panel {
        padding: 24px;
        margin: 16px;
    }
}
