/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    /* Color Palette - Cyber/Modern Marketing Theme */
    --bg-dark: #0b0d17;
    --bg-card: #15192b;
    --bg-light: #ffffff;

    --primary-color: #3b82f6;
    /* Electric Blue */
    --primary-hover: #2563eb;
    --secondary-color: #8b5cf6;
    /* Violet */
    --accent-color: #06b6d4;
    /* Cyan */

    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-light: #f8fafc;
    --text-dark: #0f172a;

    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-text: linear-gradient(to right, #60a5fa, #c084fc);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 100px 0;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --glass-bg: rgba(21, 25, 43, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

input,
textarea,
button {
    font-family: inherit;
    outline: none;
}

/* ==========================================================================
   2. UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ==========================================================================
   3. ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(11, 13, 23, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(11, 13, 23, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(11, 13, 23, 0) 70%);
    z-index: -1;
    animation: pulse-glow 8s infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: var(--primary-color);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2rem;
    color: white;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

.hero-visual {
    position: relative;
}

.marketing-dashboard-mockup {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
}

.graph-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin-top: 20px;
    border-radius: 2px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 5s ease-in-out infinite reverse;
}

.fc-1 {
    top: -20px;
    right: -20px;
}

.fc-2 {
    bottom: -30px;
    left: -20px;
}

/* ==========================================================================
   6. SERVICES SECTION
   ========================================================================== */
.services {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, var(--bg-dark), #0f121f);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    border: var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.learn-more:hover {
    gap: 10px;
}

/* ==========================================================================
   7. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
.roi-calculator {
    padding: var(--section-padding);
    position: relative;
}

.calc-container {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    box-shadow: var(--shadow-md);
    border: var(--glass-border);
}

.calc-inputs label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 500;
}

.input-group {
    margin-bottom: 25px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.calc-results {
    background: var(--gradient-main);
    border-radius: 15px;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.result-box h4 {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.result-box .amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.result-box p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==========================================================================
   8. INDUSTRIES SECTION
   ========================================================================== */
.industries {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.ind-tag {
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    transition: var(--transition);
    cursor: default;
}

.ind-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* ==========================================================================
   9. TESTIMONIALS
   ========================================================================== */
.testimonials {
    padding: var(--section-padding);
    background: #0d101b;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 20px;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.t-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.t-author h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

.t-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ==========================================================================
   10. CONTACT FORM (Contact Page Specifics)
   ========================================================================== */
.contact-section {
    padding-top: 150px;
    padding-bottom: 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: var(--glass-border);
}

.contact-info {
    background: var(--gradient-main);
    padding: 50px;
    color: white;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form-container {
    padding: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   11. LEGAL PAGES
   ========================================================================== */
.legal-content {
    padding-top: 150px;
    padding-bottom: 100px;
}

.legal-text {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 15px;
    border: var(--glass-border);
}

.legal-text h1 {
    margin-bottom: 40px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.legal-text h2 {
    color: var(--accent-color);
    margin: 30px 0 15px;
}

.legal-text p,
.legal-text li {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.legal-text ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
footer {
    background: #05060a;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-about p {
    color: var(--text-muted);
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {

    .hero-content,
    .contact-wrapper,
    .footer-grid,
    .calc-container {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-visual {
        display: none;
    }

    /* Hide visual on smaller tablets for cleaner look */
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
    }

    .calc-container,
    .contact-form-container,
    .contact-info {
        padding: 30px 20px;
    }
}