:root {
    --bg-primary: #09090b;
    --bg-secondary: #18181b;
    --bg-card: rgba(24, 24, 27, 0.6);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --accent: #22d3ee;
    --accent-hover: #67e8f9;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(34, 211, 238, 0.3);
}

* {
    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-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

@media (pointer: coarse) {
    body { cursor: auto; }
    .custom-cursor-dot, .custom-cursor-outline { display: none !important; }
}

/* Custom Cursor */
.custom-cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

.custom-cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                height 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                border-color 0.3s,
                background 0.3s;
    mix-blend-mode: difference;
}

body.hovering .custom-cursor-dot {
    width: 12px;
    height: 12px;
    background: #fff;
}

body.hovering .custom-cursor-outline {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    background: rgba(34, 211, 238, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px 40px;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(9, 9, 11, 0.7);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.1s ease-out, box-shadow 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-card:hover {
    box-shadow: 0 30px 60px -12px rgba(34, 211, 238, 0.15);
    border-color: var(--border-hover);
}

.card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 32px;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(34, 211, 238, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

.hero-card:hover .card-glow {
    opacity: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent);
    color: #09090b;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.5);
}

.btn-submit {
    width: 100%;
    margin-top: 8px;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(9, 9, 11, 0.3);
    border-top-color: #09090b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-primary.loading .btn-text { display: none; }
.btn-primary.loading .btn-loader { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Features */
.features {
    padding: 120px 20px;
    background: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: rgba(24, 24, 27, 0.8);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Subscribe Section */
.subscribe-section {
    padding: 120px 20px;
    position: relative;
}

.subscribe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 48px;
    backdrop-filter: blur(20px);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.form-header p {
    color: var(--text-secondary);
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: color 0.3s;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    background: rgba(9, 9, 11, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 16px 16px 48px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.input-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.input-group input:focus + .input-icon,
.input-group input:focus ~ .input-icon {
    color: var(--accent);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: none;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(9, 9, 11, 0.6);
    position: relative;
    transition: all 0.2s;
    margin-top: 2px;
}

.checkbox-wrapper input:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #09090b;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 211, 238, 0.3);
    transition: border-color 0.2s;
}

.checkbox-text a:hover {
    border-color: var(--accent);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease-out;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 24px 0 12px;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.success-note {
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 12px;
    padding: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
    padding: 40px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-email {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-email:hover {
    color: var(--accent);
}

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
}

/* Privacy Page Specific */
.privacy-main {
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 40px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.8;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.privacy-date {
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 0.875rem;
}

.privacy-content section {
    margin-bottom: 40px;
}

.privacy-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.privacy-content p, .privacy-content li {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.privacy-content ul {
    padding-left: 24px;
}

.privacy-content li {
    margin-bottom: 8px;
}

.contact-email {
    font-size: 1.125rem;
    color: var(--text-primary) !important;
}

.link-interactive {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 211, 238, 0.3);
    transition: border-color 0.2s;
}

.link-interactive:hover {
    border-color: var(--accent);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .header { padding: 20px; }
    .hero-card { padding: 40px 24px; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .stat-divider { width: 40px; height: 1px; }
    .form-wrapper { padding: 32px 24px; }
    .privacy-content h1 { font-size: 2rem; }
}