/* Reset & Base Styles */
:root {
    --bg-main: #0b0c10;
    --bg-secondary: #1f2833;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-purple: #8b5cf6;
    --accent-blue: #45a29e;
    --accent-cyan: #66fcf1;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(31, 40, 51, 0.7);
    --transition: all 0.3s ease;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

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

.text-accent {
    color: var(--accent-purple);
}

.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.header-logo {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 6px;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: var(--accent-cyan);
    border-bottom: 2px solid var(--accent-cyan);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.mobile-nav-link:last-child {
    border-bottom: none;
    margin-top: 15px;
}
.mobile-nav-link.active {
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Page Spacing */
main {
    padding-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-cyan);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(102, 252, 241, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(11, 12, 16, 0) 70%);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Dashboard Visual */
.dashboard {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    backdrop-filter: blur(10px);
}
.hero-visual {
    perspective: 1000px;
}
.dash-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.dash-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}
.dash-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.dash-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 4px;
}

/* Logos on pages */
.logo-large {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* Common Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-content, .privacy-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}
.about-content p, .privacy-content p {
    margin-bottom: 20px;
}
.privacy-content h2, .privacy-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: #fff;
}
.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
    color: var(--text-muted);
}

/* Grid Layouts */
.cards-grid, .tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card, .task-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.border-glow:hover, .task-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.card h3, .task-card h4 {
    margin-bottom: 15px;
    color: #fff;
}
.task-card h4 {
    font-size: 1.2rem;
}

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

/* Requirements list */
.requirements-list {
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}
.requirements-list h3 { margin-bottom: 20px; }
.requirements-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.requirements-list li {
    position: relative;
    padding-left: 25px;
}
.requirements-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}
.english-req {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.step {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-purple);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* Two Columns */
.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.check-list li, .warning-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: rgba(102, 252, 241, 0.1);
    color: var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.warning-list li::before {
    content: '!';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: rgba(220, 38, 38, 0.1);
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: var(--transition);
}
.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.form-header { text-align: center; margin-bottom: 30px; }
.form-header h2 { font-size: 2rem; margin-bottom: 10px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: #e2e8f0; }
input[type="text"], input[type="number"], select, textarea {
    width: 100%; padding: 12px 15px; background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color); border-radius: 8px;
    color: #fff; font-family: inherit; font-size: 1rem; transition: var(--transition);
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent-purple); box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}
textarea { resize: vertical; min-height: 100px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox-label input { margin-top: 4px; accent-color: var(--accent-purple); }
.text-small { font-size: 0.85rem; color: var(--text-muted); }
.warning-message {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}
.warning-message.show { display: block; }

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    background: var(--bg-main);
}
.footer-content {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; flex-wrap: wrap; gap: 30px;
}
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 10px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-disclaimer {
    text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05);
    color: #64748b; font-size: 0.75rem;
}

/* Modal */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); z-index: 2000;
    align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease;
}
.modal.show { display: flex; opacity: 1; }
.modal-content {
    background: var(--bg-secondary); padding: 40px; border-radius: 16px;
    max-width: 450px; width: 90%; text-align: center; position: relative;
    border: 1px solid var(--border-color); transform: scale(0.9); transition: transform 0.3s ease;
}
.modal.show .modal-content { transform: scale(1); }
.modal-close {
    position: absolute; top: 15px; right: 15px; background: none; border: none;
    color: var(--text-muted); font-size: 1.5rem; cursor: pointer;
}
.modal-icon {
    width: 60px; height: 60px; background: rgba(16, 185, 129, 0.1); color: #10b981;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 20px;
}
.modal-title { font-size: 1.5rem; margin-bottom: 15px; }
.modal-text { color: var(--text-muted); margin-bottom: 30px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-subtitle { margin: 0 auto 40px; }
    .two-cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .nav, .header .btn { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
}
