:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #121827;
    --bg-tertiary: #1a2332;

    --surface: #1e293b;
    --surface-light: #2a3649;
    --surface-hover: #324159;

    --accent-primary: #3b82f6;
    --accent-secondary: #2563eb;
    --accent-light: #60a5fa;

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-muted: #64748b;

    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(59, 130, 246, 0.3);
    --border-accent-strong: rgba(59, 130, 246, 0.5);

    --shadow-sm: 0 4px 14px rgba(59, 130, 246, 0.3);
    --shadow-md: 0 8px 25px rgba(59, 130, 246, 0.12);
    --shadow-lg: 0 8px 30px rgba(59, 130, 246, 0.2);

    --gradient-primary: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.2));
    --gradient-subtle: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.15));

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

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

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

input,
textarea {
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(10, 14, 26, 0.8);
    border-bottom: 1px solid var(--border-subtle);
}

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

nav .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

nav .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

nav .logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

nav .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
}

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

nav .btn {
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    color: white;
}

nav .btn-secondary {
    background: var(--surface);
    color: white;
}

nav .btn-secondary:hover {
    background: var(--surface-light);
}

nav .btn-primary {
    background: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

nav .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

footer {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1), transparent 60%);
    pointer-events: none;
}

footer .footer-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

footer .footer-main {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    footer .footer-grid {
        grid-template-columns: 5fr 7fr;
    }
}

footer .footer-brand {
    display: flex;
    flex-direction: column;
}

footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

footer .footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .footer-logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

footer .footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

footer .footer-description {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-tertiary);
}

footer .newsletter-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

footer .newsletter-form {
    display: flex;
    gap: 0.5rem;
}

footer .newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
    background: var(--surface);
    color: white;
    outline: none;
    transition: border-color var(--transition-normal);
}

footer .newsletter-input:focus {
    border-color: var(--border-accent-strong);
}

footer .newsletter-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: var(--accent-primary);
    font-weight: 600;
    flex-shrink: 0;
}

footer .newsletter-button:hover {
    background: var(--accent-secondary);
}

footer .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    footer .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

footer .footer-column h4 {
    font-weight: 700;
    margin-bottom: 1.25rem;
}

footer .footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

footer .footer-column a {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

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

footer .footer-bottom {
    padding: 2rem 0;
}

footer .footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    footer .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

footer .footer-bottom-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    footer .footer-bottom-left {
        flex-direction: row;
    }
}

footer .copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

footer .trust-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

footer .trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    background: var(--surface);
}

footer .trust-badge svg {
    width: 1rem;
    height: 1rem;
    color: var(--accent-light);
}

footer .trust-badge span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

footer .social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

footer .social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal);
}

footer .social-link:hover {
    background: rgba(59, 130, 246, 0.15);
}

footer .social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-tertiary);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.stagger-5 {
    animation-delay: 0.5s;
}

.stagger-6 {
    animation-delay: 0.6s;
}

.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gradient-border {
    padding: 1px;
    background: var(--gradient-primary);
    border-radius: 1rem;
}

.gradient-border-inner {
    background: var(--bg-secondary);
    border-radius: calc(1rem - 1px);
    height: 100%;
}

.card {
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-light);
    background: var(--surface);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.btn-primary {
    background: var(--accent-primary);
    box-shadow: var(--shadow-sm);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--surface);
    border: 1px solid var(--border-medium);
    color: white;
}

.btn-secondary:hover {
    background: var(--surface-light);
}

.section {
    padding: 8rem 1.5rem;
    position: relative;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    max-width: 48rem;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-accent);
    color: var(--accent-light);
}