@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0F172A;
    --accent: #10B981;
    --accent-glow: rgba(16, 185, 129, 0.4);
    --finance: #3F51B5;
    --bg-app: #020617;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --card-bg: rgba(15, 23, 42, 0.6);
    --border-color: rgba(30, 41, 59, 0.5);
    --glass-blur: blur(16px);
    --animation-speed: 0.8s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.7; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes slow-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
    animation: slow-rotate 20s linear infinite;
    pointer-events: none;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-app);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

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

/* Header */
header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit';
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.trust-logo-css {
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: default;
}

.trust-logo-css:hover {
    opacity: 1;
    color: var(--accent);
}

.testimonial-card {
    color: white;
}

.logo-text {
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -1px;
    color: white;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent); }

/* Hero */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.hero h1 {
    font-size: clamp(40px, 8vw, 72px);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #fff, #94A3B8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-family: 'Outfit';
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary { background: var(--accent); color: white; box-shadow: 0 10px 30px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px var(--accent-glow); }

/* Premium CSS Dashboard Preview */
.hero-dashboard-preview {
    margin-top: 80px;
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    perspective: 1000px;
}

.dashboard-window {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    height: 500px;
    text-align: left;
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-window:hover {
    transform: rotateX(0deg) translateY(-10px);
}

.dash-sidebar {
    width: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: none;
}

@media (min-width: 900px) {
    .dash-sidebar { display: block; }
}

.dash-nav-item {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 15px;
    width: 100%;
}

.dash-nav-item.active {
    background: var(--accent);
    width: 80%;
}

.dash-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dash-title {
    height: 20px;
    width: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    font-family: 'Outfit';
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    height: 6px;
    width: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.dash-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    flex: 1;
}

.chart-area {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(16, 185, 129, 0.2), transparent);
    clip-path: polygon(0 100%, 0 40%, 20% 60%, 40% 30%, 60% 50%, 80% 20%, 100% 40%, 100% 100%);
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feed-item {
    height: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
}

.feed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.feed-line {
    height: 4px;
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

/* Floating Elements */
.float-element {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: float 4s ease-in-out infinite;
}

.float-reserve { top: 10%; right: -5%; animation-delay: 0s; }
.float-access { bottom: 15%; left: -5%; animation-delay: -2s; }

.float-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 { font-size: 36px; margin-bottom: 16px; }
.section-head p { color: var(--text-muted); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, transparent, rgba(16, 185, 129, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.card:hover { 
    transform: translateY(-12px) scale(1.02); 
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card:hover::after {
    transform: translateX(100%);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
    background: var(--accent);
    color: white;
}

/* CTA */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to right, #0F172A, #1E293B);
    border-radius: 40px;
    margin: 50px 0;
}

/* Code Block Style for Integration */
.code-window {
    background: #0F172A;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    font-family: 'monospace';
    font-size: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.code-header {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #FF5F56; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #27C93F; }

.code-content { color: #94A3B8; }
.keyword { color: #C678DD; }
.string { color: #98C379; }
.function { color: #61AFEF; }

.function { color: #61AFEF; }

/* Trust & FAQ Styles */
.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
    margin-top: 40px;
}

.trust-logo {
    height: 30px;
    filter: grayscale(1) brightness(2);
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 24px;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-family: 'Outfit';
}

.faq-answer {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 14px;
    display: none;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active i { transform: rotate(180deg); }

/* Contact Form */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.input-field {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-family: 'Inter';
    transition: all 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.05);
}

textarea.input-field {
    min-height: 120px;
    resize: none;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* Pricing Grid & Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    background: rgba(255,255,255,0.05);
    padding: 6px;
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.price-value {
    font-size: 40px;
    font-weight: 800;
    font-family: 'Outfit';
    color: white;
    margin: 15px 0;
    display: block;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-top: 20px;
    flex-grow: 1;
}

.feature-list li {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li.disabled {
    color: rgba(255,255,255,0.2);
}

.feature-list li i {
    width: 16px;
    margin-top: 2px;
}

/* Lead Capture Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.lead-modal {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .lead-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-muted);
}

.price-consult {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Outfit';
    color: var(--accent);
    margin: 15px 0;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero h1 { animation: fadeInUp 0.8s both; }
.hero p { animation: fadeInUp 0.8s 0.2s both; }
.hero .btn-group { animation: fadeInUp 0.8s 0.3s both; }
.hero-mockup { animation: scaleIn 1s 0.5s both; }

/* Responsive */
@media (max-width: 768px) {
    nav { display: none; }
    .hero { padding: 140px 0 60px; }
}
