:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #1e293b;
    --accent: #f43f5e;
    --bg: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

/* Architecture Section */
.architecture {
    padding: 8rem 0;
}

.sync-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.sync-item {
    background: #f1f5f9;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
}

.sync-arrow {
    color: var(--primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.badge-online {
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 800;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Nav */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.glass-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
}

.logo span {
    color: var(--primary);
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s transform ease, 0.3s box-shadow ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--glass);
}

/* Hero */
.hero {
    padding: 10rem 0 5rem;
}

.hero .grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.title-gradient {
    font-size: 4.5rem;
    letter-spacing: -2px;
    line-height: 1.05;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #6366f1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.actions {
    display: flex;
    gap: 1rem;
}

/* Features */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature {
    padding: 2rem;
    text-align: left;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
}

.feature p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature:hover {
    border-color: var(--primary);
}

.icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Registration */
.registration {
    padding: 5rem 0 10rem;
}

.registration-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    padding: 3rem;
    gap: 4rem;
}

.reg-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li::before {
    content: '✓';
    color: var(--primary);
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #e2e8f0;
    color: var(--text);
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Alerts */
.alert-error {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid var(--accent);
    color: #fda4af;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #6ee7b7;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

/* Mockup */
.mockup {
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    display: flex;
    gap: 5px;
    margin-bottom: 1rem;
}

.mockup-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
}

.skeleton {
    height: 10px;
    background: var(--glass-border);
    margin-bottom: 1rem;
    border-radius: 5px;
}

.skeleton.sm {
    width: 30%;
}

.skeleton.md {
    width: 60%;
}

.skeleton.lg {
    width: 90%;
}

.chart-mockup {
    height: 150px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.02));
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

@media (max-width: 968px) {

    .hero .grid,
    .registration-wrapper {
        grid-template-columns: 1fr;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .title-gradient {
        font-size: 3rem;
    }
}