/* Design Tokens */
:root {
    --bg-dark: #121418;
    --bg-surface: #1e2025;
    --bg-surface-light: #2a2d35;

    --brand-orange: #f4561d;
    --brand-red: #d31f0a;
    --brand-gradient: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-red) 100%);

    --text-primary: #ffffff;
    --text-secondary: #a0aab2;
    --text-muted: #6c7680;

    --success: #22c55e;
    --danger: #ef4444;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(244, 86, 29, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 86, 29, 0.6);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.white-text {
    color: white !important;
}

/* Glassmorphism Classes */
.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 86, 29, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

/* Topbar */
.topbar {
    background-color: var(--bg-surface-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    padding: 8px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-social,
.topbar-lang {
    display: flex;
    gap: 16px;
    align-items: center;
}

.topbar a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.topbar a:hover,
.topbar a.active {
    color: var(--text-primary);
}

/* Navbar */
Navbar {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color var(--transition-base), padding var(--transition-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

Navbar.scrolled {
    background-color: rgba(18, 20, 24, 0.95);
    padding: 15px 0;
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.nav-btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-orange);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-btn):hover {
    color: var(--text-primary);
}

.nav-links a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn.btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn.btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(244, 86, 29, 0.5);
    box-shadow: 0 4px 15px rgba(244, 86, 29, 0.2);
    color: white;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding-top: 176px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background Glow Keyframes */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(244, 86, 29, 0.18) 0%, rgba(18, 20, 24, 0) 70%);
    z-index: -1;
    border-radius: 50%;
    animation: pulseGlow 8s ease-in-out infinite;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(244, 86, 29, 0.1);
    color: var(--brand-orange);
    border: 1px solid rgba(244, 86, 29, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: var(--danger);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.trust-badges {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 80px;
    width: 100%;
    text-align: center;
}

.trust-badges p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    margin-top: 25px;
    flex-wrap: wrap;
    width: 100%;
}

.brands img {
    height: 35px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1) brightness(2) contrast(0.8);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.brands img:hover {
    filter: grayscale(0) brightness(1) contrast(1);
    opacity: 1;
}

/* Dashboard Mockup */
.main-dashboard {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.main-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    background: var(--bg-surface-light);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff5f56;
}

.dots span:nth-child(2) {
    background-color: #ffbd2e;
}

.dots span:nth-child(3) {
    background-color: #27c93f;
}

.dashboard-header .title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.metric-card .label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.metric-card .value {
    font-size: 2rem;
    font-weight: 700;
}

.metric-card .trend.positive {
    color: var(--success);
    font-size: 0.85rem;
    font-weight: 500;
}

.chart-mockup {
    grid-column: 1 / -1;
    height: 150px;
    background: linear-gradient(to top, rgba(244, 86, 29, 0.2), transparent);
    border-radius: var(--radius-sm);
    border-bottom: 2px solid var(--brand-orange);
    margin-top: 10px;
    position: relative;
}

/* Sections Base */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comparison-card {
    padding: 40px;
    border-radius: var(--radius-lg);
}

.comparison-card.bad {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.comparison-card.good {
    position: relative;
}

.comparison-card.good::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--brand-gradient);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.comparison-card.good .comparison-list li {
    color: var(--text-primary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    display: flex;
    gap: 16px;
    padding: 24px;
}

.feature-card .icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Custom Services Overlay */
.custom-services {
    background: radial-gradient(circle at center, var(--bg-surface-light) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.service-item-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.service-item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.service-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--brand-gradient);
    border-radius: inherit;
    z-index: -1;
}

.pricing-header-col {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.pricing-header-col h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li.included {
    color: var(--text-primary);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rating {
    color: var(--brand-orange);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 30px;
    flex-grow: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* FAQ */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-answer p {
    color: var(--text-secondary);
    padding-bottom: 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

/* Footer CTA */
.footer {
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-banner {
    background: var(--brand-gradient);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    box-shadow: 0 20px 40px rgba(244, 86, 29, 0.2);
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: white;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.cta-banner .btn {
    background: white;
    color: var(--brand-orange) !important;
}

.cta-banner .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .services-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-badges {
        margin-top: 40px;
    }

    .brands {
        justify-content: center;
        flex-wrap: wrap;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(18, 20, 24, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ==========================================
   MODAL & CONTACT FORM
========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(18, 20, 24, 0.95);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-base);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-modal:hover {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(244, 86, 29, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}