:root {
    --bg-color: #f4f4f5;
    --text-color: #18181b;
    --text-muted: #71717a;
    --primary-color: #0088cc;
    --primary-hover: #005f9e;
    --accent-color: #f97316;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(244, 244, 245, 0.85);
    --mono-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --bg-color: #0a0a0c;
    --text-color: #f4f4f5;
    --text-muted: #a1a1aa;
    --primary-color: #00f5ff;
    --primary-hover: #00c3cc;
    --accent-color: #ff6b00;
    --card-bg: rgba(18, 18, 22, 0.6);
    --card-border: rgba(0, 245, 255, 0.15);
    --nav-bg: rgba(10, 10, 12, 0.85);
    --shadow: 0 8px 32px rgba(0, 245, 255, 0.05);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

.mono {
    font-family: var(--mono-font);
    letter-spacing: 0.5px;
}

.text-small {
    font-size: 0.85rem;
}
.mt-2 {
    margin-top: 10px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}
.nav-links a.accent-link {
    color: var(--accent-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-color);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--mono-font);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: rgba(0, 245, 255, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

[data-theme="light"] .btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
[data-theme="light"] .btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    display: block;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 700;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    text-align: center;
    position: relative;
}

.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, var(--card-border) 1px, transparent 1px),
                      linear-gradient(to bottom, var(--card-border) 1px, transparent 1px);
    opacity: 0.5;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 245, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 245, 255, 0); }
}

.headline {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.sub-headline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-metrics {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 3rem;
}

.metric-box {
    text-align: center;
    padding: 15px 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
    font-family: var(--mono-font);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Glassmorphic Cards & Grid */
.grid {
    display: grid;
    gap: 30px;
}

.feature-grid { grid-template-columns: repeat(3, 1fr); }
.special-grid { grid-template-columns: repeat(2, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.reviews-grid { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 35px 30px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.3s;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: var(--shadow);
}

.card:hover {
    border-color: var(--primary-color);
}

/* Animated border beams using pseudo-element */
.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, transparent 40%, var(--primary-color) 50%, transparent 60%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    background-size: 300% 300%;
    animation: borderBeam 3s linear infinite;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

@keyframes borderBeam {
    0% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.glass-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.card-icon-svg {
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing */
.pricing-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 1px solid var(--primary-color);
    background: linear-gradient(180deg, rgba(0, 245, 255, 0.05) 0%, rgba(0,0,0,0) 100%), var(--card-bg);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0 2rem;
    color: var(--text-color);
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: ">>";
    font-family: var(--mono-font);
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8rem;
    top: 2px;
}

.data-value {
    color: var(--text-color);
    font-weight: 600;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 20px;
}

.faq-item {
    padding: 25px 30px;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--nav-bg);
    border-top: 1px solid var(--card-border);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

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

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}

/* Animations */
.highlight-pulse {
    animation: pulseSection 1.2s ease-out;
}

@keyframes pulseSection {
    0% { background-color: transparent; }
    20% { background-color: rgba(0, 245, 255, 0.08); }
    100% { background-color: transparent; }
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .hero-metrics { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .headline { font-size: 2.5rem; }
    .feature-grid, .special-grid, .reviews-grid { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .btn { padding: 12px 20px; }
}
