@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0b1120; /* Deep Charcoal/Navy Base */
    --secondary-color: #1e293b; /* Dark Slate */
    --accent-color: #4f46e5; /* Electric Violet/Blue */
    --accent-hover: #4338ca;
    --accent-light: rgba(79, 70, 229, 0.1);
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --text-light-muted: #cbd5e1;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;
    
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition-speed: 0.3s;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

/* Typography */
.hero-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.section-subheading {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn-primary-custom {
    background: var(--accent-color);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
    transition: all var(--transition-speed) ease;
}

.btn-primary-custom:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

/* Navbar */
.navbar-custom {
    padding: 1.25rem 0;
    transition: all var(--transition-speed) ease;
    background: transparent;
    z-index: 1000;
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--bg-white);
}

.navbar-custom.scrolled .navbar-brand {
    color: var(--primary-color);
}

.navbar-custom .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0.5rem;
    transition: color var(--transition-speed) ease;
}

.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
    color: #fff !important;
}

.navbar-custom.scrolled .nav-link {
    color: var(--text-muted) !important;
}

.navbar-custom.scrolled .nav-link:hover, .navbar-custom.scrolled .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-custom .btn-nav {
    margin-left: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--primary-color);
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Subtle background gradients */
.hero-glow-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, rgba(11,17,32,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-glow-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56,189,248,0.15) 0%, rgba(11,17,32,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--text-light-muted);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-trust-points {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    color: var(--text-light-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-trust-points i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* App Mockup Placeholder */
.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 9/19;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 40px;
    border: 8px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 1;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.hero-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent);
    pointer-events: none;
}

/* Sections General */
.section-padding {
    padding: 6rem 0;
}

.bg-light-gray {
    background-color: var(--bg-gray);
}

/* Services Cards */
.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Process Section */
.process-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.process-line {
    position: absolute;
    top: 48px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--text-light-muted);
    z-index: 0;
}

@media (max-width: 991px) {
    .process-line {
        display: none;
    }
}

/* Industries Section */
.industry-badge {
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--card-shadow);
    margin: 0.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
}

.industry-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    color: var(--accent-color);
}

/* Why Choose Us */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.feature-list i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background: var(--primary-color);
    color: var(--text-light);
    position: relative;
}

.contact-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: var(--text-main);
}

.form-control {
    padding: 0.875rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-light);
    background-color: var(--bg-white);
}

.form-label {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--text-light);
    flex-shrink: 0;
}

.contact-info-content h5 {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-info-content p {
    color: var(--text-light-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #060913;
    color: var(--text-light-muted);
    padding: 5rem 0 2rem;
}

.footer-heading {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-link {
    color: var(--text-light-muted);
    display: block;
    margin-bottom: 0.75rem;
    transition: color var(--transition-speed) ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.875rem;
}

/* Privacy Policy */
.page-hero {
    background: var(--primary-color);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
}

.page-content {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.page-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Back to top */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    cursor: pointer;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-trust-points {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar-custom {
        background: var(--primary-color);
        padding: 0.75rem 0;
    }
    
    .navbar-custom .navbar-collapse {
        background: var(--primary-color);
        padding: 1rem;
        border-radius: var(--border-radius-sm);
        margin-top: 1rem;
    }
}
