/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-black: #0A0A0B;
    --aurora-cyan: #00F2FF;
    --dim-gray: #2E2E32;
    --light-gray: #A0A0A5;
    --white: #FFFFFF;
    --glass-bg: rgba(46, 46, 50, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--deep-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-gray);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--aurora-cyan);
}

/* Buttons */
.btn-primary {
    background: var(--aurora-cyan);
    color: #000000;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-shadow: none;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: #00D9E6;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 242, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    color: #000000;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 10px 24px;
    border: 1px solid var(--dim-gray);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--aurora-cyan);
    color: var(--aurora-cyan);
    background: rgba(0, 242, 255, 0.05);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    position: relative;
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    color: var(--light-gray);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--aurora-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--aurora-cyan) 0%, #00A8FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--aurora-cyan);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-gray);
}

/* Hero Demo */
.hero-demo {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
}

.demo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.demo-canvas, .demo-code {
    background: rgba(10, 10, 11, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.demo-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--light-gray);
}

.demo-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dim-gray);
}

.canvas-content {
    padding: 40px;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.arch-node {
    background: var(--glass-bg);
    border: 2px solid var(--aurora-cyan);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    min-width: 160px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.arch-node:nth-child(2) {
    animation-delay: 0.2s;
}

.arch-node:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.node-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-icon svg {
    color: var(--aurora-cyan);
    filter: drop-shadow(0 0 6px rgba(0, 242, 255, 0.4));
}

.node-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.conn-line {
    stroke: var(--aurora-cyan);
    stroke-width: 2;
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

.code-content {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-lang {
    background: var(--aurora-cyan);
    color: var(--deep-black);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.code-keyword {
    color: #FF79C6;
}

.code-string {
    color: #50FA7B;
}

.code-property {
    color: var(--aurora-cyan);
}

/* Sync Loop */
.sync-loop {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 242, 255, 0.03) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--light-gray);
}

.sync-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sync-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    max-width: 200px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.sync-item:hover {
    transform: translateY(-8px);
    border-color: var(--aurora-cyan);
}

.sync-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sync-icon svg {
    color: var(--aurora-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.3));
    transition: all 0.3s;
}

.sync-item:hover .sync-icon svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 16px rgba(0, 242, 255, 0.6));
}

.sync-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.sync-item p {
    font-size: 14px;
    color: var(--light-gray);
}

.sync-arrow {
    font-size: 32px;
    color: var(--aurora-cyan);
    font-weight: 700;
}

/* Features */
.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--aurora-cyan);
    box-shadow: 0 16px 48px rgba(0, 242, 255, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    color: var(--aurora-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.3));
    transition: all 0.3s;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 16px rgba(0, 242, 255, 0.5));
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--light-gray);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, rgba(0, 242, 255, 0.03) 0%, transparent 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 48px;
    font-weight: 700;
    color: var(--aurora-cyan);
    opacity: 0.3;
}

.step h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.step p {
    color: var(--light-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
}

.cta-content {
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 80px 40px;
    backdrop-filter: blur(20px);
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    color: var(--light-gray);
    margin-bottom: 40px;
}

.cta-note {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--light-gray);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--light-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.system-health {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--light-gray);
}

.health-indicator {
    width: 8px;
    height: 8px;
    background: #50FA7B;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column a {
    display: block;
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s;
    line-height: 1.5;
}

.footer-column a:hover {
    color: var(--aurora-cyan);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--light-gray);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }
    
    .demo-split {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sync-diagram {
        flex-direction: column;
    }
    
    .sync-arrow {
        transform: rotate(90deg);
    }
}

/* Auth Pages */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.auth-container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.auth-header p {
    color: var(--light-gray);
    font-size: 16px;
}

.auth-form {
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 10, 11, 0.6);
    border: 1px solid var(--dim-gray);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aurora-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
}

.form-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--light-gray);
    margin-top: 6px;
}

.form-hint a {
    color: var(--aurora-cyan);
    text-decoration: none;
}

.form-hint a:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--aurora-cyan);
    text-decoration: none;
    font-size: 14px;
}

.forgot-link {
    color: var(--aurora-cyan);
    text-decoration: none;
    font-size: 14px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.error-message {
    background: rgba(255, 79, 79, 0.1);
    border: 1px solid rgba(255, 79, 79, 0.3);
    color: #FF4F4F;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
}

.success-message {
    background: rgba(80, 250, 123, 0.1);
    border: 1px solid rgba(80, 250, 123, 0.3);
    color: #50FA7B;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 32px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--dim-gray);
}

.auth-divider span {
    position: relative;
    background: var(--glass-bg);
    padding: 0 16px;
    font-size: 14px;
    color: var(--light-gray);
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--dim-gray);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--aurora-cyan);
    background: rgba(0, 242, 255, 0.05);
}

.auth-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--dim-gray);
}

.auth-footer p {
    color: var(--light-gray);
    font-size: 14px;
}

.auth-footer a {
    color: var(--aurora-cyan);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Pricing Page */
.pricing-section {
    padding: 160px 0 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--aurora-cyan);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--aurora-cyan);
    color: var(--deep-black);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 242, 255, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pricing-header p {
    color: var(--light-gray);
    font-size: 14px;
    margin-bottom: 24px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--aurora-cyan);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 18px;
    color: var(--light-gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 32px 0;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--light-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--aurora-cyan);
    font-weight: 700;
    font-size: 18px;
}

/* Docs Page */
.docs-section {
    padding: 120px 0 80px;
}

.docs-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
}

.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.docs-nav h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.docs-nav ul {
    list-style: none;
    margin-bottom: 32px;
}

.docs-nav li {
    margin-bottom: 8px;
}

.docs-nav a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
}

.docs-nav a:hover,
.docs-nav a.active {
    color: var(--aurora-cyan);
    background: rgba(0, 242, 255, 0.05);
}

.docs-content {
    max-width: 800px;
}

.docs-content h1 {
    font-size: 48px;
    margin-bottom: 24px;
}

.docs-content h2 {
    font-size: 32px;
    margin: 48px 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dim-gray);
}

.docs-content h3 {
    font-size: 24px;
    margin: 32px 0 16px;
}

.docs-content p {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.docs-content code {
    background: rgba(0, 242, 255, 0.1);
    color: var(--aurora-cyan);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.docs-content pre {
    background: rgba(10, 10, 11, 0.6);
    border: 1px solid var(--dim-gray);
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
    margin: 24px 0;
}

.docs-content pre code {
    background: none;
    padding: 0;
}

.docs-content ul,
.docs-content ol {
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    padding-left: 24px;
}

.docs-content li {
    margin-bottom: 8px;
}

/* Playground Page */
.playground-section {
    padding: 80px 0 0;
    height: 100vh;
}

.playground-container {
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.playground-toolbar {
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toolbar-left {
    display: flex;
    gap: 12px;
}

.toolbar-btn {
    background: transparent;
    border: 1px solid var(--dim-gray);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.toolbar-btn svg {
    flex-shrink: 0;
}

.toolbar-btn:hover {
    border-color: var(--aurora-cyan);
    color: var(--aurora-cyan);
}

.playground-workspace {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--dim-gray);
}

.workspace-panel {
    background: var(--deep-black);
    overflow: auto;
}

.panel-header {
    background: var(--glass-bg);
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-content {
    padding: 24px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--aurora-cyan);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--white);
}

.faq-item p {
    color: var(--light-gray);
    line-height: 1.7;
    margin: 0;
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--dim-gray);
    border-top-color: var(--aurora-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-color: #50FA7B;
}

.toast.error {
    border-color: #FF4F4F;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 242, 255, 0.1);
    color: var(--aurora-cyan);
    border: 1px solid rgba(0, 242, 255, 0.3);
}

/* Card hover glow effect */
.feature-card::before,
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--aurora-cyan), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before,
.pricing-card:hover::before {
    opacity: 0.5;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--deep-black);
}

::-webkit-scrollbar-thumb {
    background: var(--dim-gray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--aurora-cyan);
}

/* Selection */
::selection {
    background: rgba(0, 242, 255, 0.3);
    color: var(--white);
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--aurora-cyan);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn-primary,
    .btn-secondary {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --deep-black: #000000;
        --aurora-cyan: #00FFFF;
        --dim-gray: #666666;
        --light-gray: #CCCCCC;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode (already default, but explicit) */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--deep-black);
        color: var(--white);
    }
}

/* Additional utility classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Icon Styles */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.icon svg {
    width: 100%;
    height: 100%;
    color: var(--aurora-cyan);
}

.icon-large {
    width: 48px;
    height: 48px;
}

.icon-medium {
    width: 32px;
    height: 32px;
}

.icon-small {
    width: 24px;
    height: 24px;
}

/* Value Icons in FAQ */
.faq-item h3 .icon {
    margin-right: 12px;
    color: var(--aurora-cyan);
    filter: drop-shadow(0 0 4px rgba(0, 242, 255, 0.3));
}

/* Placeholder Icon Styles */
.placeholder-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon svg {
    color: var(--aurora-cyan);
    filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.4));
}

/* Button Enhancements for Better Visibility */
.btn-primary,
.btn-secondary {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    white-space: nowrap;
}

/* Ensure primary button text is always visible */
.btn-primary {
    background: linear-gradient(135deg, #00F2FF 0%, #00D9E6 100%);
    box-shadow: 0 2px 8px rgba(0, 242, 255, 0.2);
    color: #000000 !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00D9E6 0%, #00C0CC 100%);
    box-shadow: 0 8px 24px rgba(0, 242, 255, 0.4);
    color: #000000 !important;
}

/* Focus states for accessibility */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid var(--aurora-cyan);
    outline-offset: 2px;
}

/* Disabled state */
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Button in navbar - extra contrast */
.nav-links .btn-primary {
    font-weight: 700;
    min-width: 100px;
    text-align: center;
    justify-content: center;
    color: #000000 !important;
}

.nav-links .btn-secondary {
    min-width: 80px;
    text-align: center;
    justify-content: center;
}

/* Full width button variant */
.btn-full {
    width: 100%;
    justify-content: center;
    text-align: center;
}
