:root {
    /* Hostinger Dark Theme Colors */
    --primary-color: #673DE6;
    /* Hostinger Purple */
    --primary-dark: #5025D1;
    --primary-light: #8C6CEC;
    --accent-color: #EC1D65;
    /* Amaranth Pink */

    /* Dark Mode Palette */
    --bg-body: #0F0F0F;
    /* Obsidian Black */
    --bg-surface: #1C1C1E;
    /* Dark Gray Surface */
    --bg-surface-hover: #252528;
    --border-color: #2F2F32;

    /* Text Colors */
    --text-main: #FFFFFF;
    --text-light: #AAAAB0;
    --text-inverse: #0F0F0F;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 16px;
    /* Modern, smooth corners */
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Effects */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(103, 61, 230, 0.25);
}

/* Light Theme Override */
body.light-theme {
    --bg-body: #ffffff;
    --bg-surface: #F4F5F7;
    --bg-surface-hover: #eef0f3;
    --border-color: #E2E4E8;

    --text-main: #2F1C6A;
    /* Hostinger Navy */
    --text-light: #545766;
    --text-inverse: #ffffff;

    --shadow-sm: 0 4px 12px rgba(103, 61, 230, 0.08);
    --shadow-md: 0 10px 30px rgba(103, 61, 230, 0.12);
    --glow-primary: 0 4px 14px rgba(103, 61, 230, 0.3);
}

/* Fix for light theme inputs */
body.light-theme .form-group input,
body.light-theme .form-group textarea,
body.light-theme .form-group select {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #333;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(103, 61, 230, 0.1);
    background-color: #fff;
}

body.light-theme .contact-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body.light-theme .contact-title,
body.light-theme .contact-subtitle {
    color: var(--text-main);
}

body.light-theme .section-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--text-main);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'BM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius);
}

.service-icon-img,
.svg-icon {
    margin-bottom: 24px;
    border-radius: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(103, 61, 230, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(103, 61, 230, 0.6);
    /* Glow effect */
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-body);
    border-color: var(--text-main);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    border-radius: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L2 22H22L12 2Z"/></svg>');
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
}

.nav-list a:not(.btn):hover {
    color: var(--text-main);
}

.active {
    color: var(--primary-color) !important;
}

.nav-list .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 6px 0;
}

/* Hero */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    background-color: var(--bg-body);
    color: var(--white);
    overflow: hidden;
}

/* Purple Glow Effect in Hero */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(103, 61, 230, 0.25) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 29, 101, 0.15) 0%, transparent 70%);
    /* Pink glow */
    filter: blur(80px);
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    mix-blend-mode: color-dodge;
    z-index: 1;
}

.services-hero,
.about-hero,
.ind-hero {
    min-height: 450px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -1.5px;
    text-shadow: 0 0 40px rgba(103, 61, 230, 0.5);
    /* Glowing text */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card,
.partner-card,
.use-case-card {
    background-color: var(--bg-surface);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: left;
}

.service-card:hover,
.partner-card:hover,
.use-case-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-surface-hover);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--text-main);
}

.service-card p,
.partner-card p,
.use-case-card p {
    color: var(--text-light);
}

/* Partner Logos Background Fix */
.partner-icon-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-text {
    color: var(--text-main) !important;
}

/* Industries */
.uc-header {
    padding: 24px;
    background: var(--bg-surface-hover);
    border-bottom: 1px solid var(--border-color);
}

.uc-body {
    padding: 30px;
}

.use-case-card {
    padding: 0;
    overflow: hidden;
}

/* Contact & Why Us */
.industry-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.why-us {
    background-color: #0b0b0b;
}

/* Slightly cleaner black for contrast section */

.why-us-visual,
.split-visual {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact {
    background-color: var(--bg-body);
}

.contact-box {
    background: linear-gradient(135deg, #1C1C1E 0%, #2F1C6A 100%);
    border: 1px solid var(--border-color);
}

.contact-form {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(103, 61, 230, 0.2);
}

/* Footer */
.footer {
    background-color: #050505;
    /* Blacker than body */
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 24px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top-color: var(--border-color);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .mobile-menu-btn span {
        background-color: white;
    }

    /* Mobile Menu Dark */
    .nav-list[style*="flex"] {
        background-color: var(--bg-surface) !important;
        border-bottom: 1px solid var(--border-color);
    }
}