/* ============================================================
   Shine Labs Innovations — Global Stylesheet
   Liquid Glass design system
   ============================================================ */

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

:root {
    --bg-primary: #e8edf5;
    --bg-secondary: #f0f4fa;
    --bg-gradient: linear-gradient(135deg, #dfe6f0 0%, #e8edf5 30%, #f0f4fa 60%, #e4ecf7 100%);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --yellow: #fbbf24;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-bg-strong: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-subtle: rgba(255, 255, 255, 0.3);
    --glass-shadow: rgba(100, 100, 140, 0.12);
    --glass-shadow-strong: rgba(100, 100, 140, 0.2);
    --glass-highlight: rgba(255, 255, 255, 0.55);
    --glass-refraction: rgba(139, 92, 246, 0.06);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #161625;
    --bg-gradient: linear-gradient(135deg, #0a0a15 0%, #0f0f1a 30%, #141428 60%, #0d0d1f 100%);
    --text-primary: #e8e8f0;
    --text-secondary: #9898b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-strong: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-subtle: rgba(255, 255, 255, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --glass-shadow-strong: rgba(0, 0, 0, 0.5);
    --glass-highlight: rgba(255, 255, 255, 0.08);
    --glass-refraction: rgba(139, 92, 246, 0.08);
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Liquid Glass Styles */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 var(--glass-highlight),
        inset 0 -1px 1px rgba(0, 0, 0, 0.025);
    transition: var(--transition);
}

.glass-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 32px var(--glass-shadow),
        0 2px 8px var(--glass-shadow),
        inset 0 1px 0 var(--glass-highlight),
        inset 0 -1px 1px rgba(0, 0, 0, 0.025);
    transition: var(--transition);
}

.glass-inset {
    background: var(--glass-refraction);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-subtle);
    box-shadow:
        inset 0 2px 8px var(--glass-shadow),
        inset 0 1px 0 rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.glass:hover, .glass-strong:hover {
    box-shadow:
        0 12px 40px var(--glass-shadow-strong),
        0 4px 12px var(--glass-shadow),
        inset 0 1px 0 var(--glass-highlight),
        inset 0 -1px 1px rgba(0, 0, 0, 0.025);
    border-color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .glass:hover,
[data-theme="dark"] .glass-strong:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: rgba(232, 237, 245, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow:
        0 4px 24px var(--glass-shadow),
        inset 0 -1px 0 rgba(0, 0, 0, 0.03);
    animation: slideDown 0.5s ease-out;
}

[data-theme="dark"] header {
    background: rgba(15, 15, 26, 0.92);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 45px;
    display: flex;
    align-items: center;
}

.logo a {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
    transform: translateY(-2px);
}

/* Theme Toggle */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
}

.theme-toggle {
    width: 70px;
    height: 34px;
    border-radius: 34px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    background: linear-gradient(135deg, #87CEEB 0%, #4FC3F7 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-toggle::after {
    content: '\2600';
    position: absolute;
    top: 0;
    right: 8px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

[data-theme="dark"] .theme-toggle::after {
    content: '\263E';
    left: 8px;
    right: auto;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4fa 100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 2;
}

[data-theme="dark"] .theme-toggle::before {
    transform: translateX(36px);
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.3),
        0 0 15px rgba(139, 92, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: liquidFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    bottom: -50px;
    left: -100px;
    animation: liquidFloat 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes liquidFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--glass-refraction);
    border: 1px solid var(--glass-border-subtle);
    margin-bottom: 1.2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: backwards;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInUp 0.8s ease-out 0.6s;
    animation-fill-mode: backwards;
}

.floating-element {
    position: absolute;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    filter: grayscale(20%);
    transition: var(--transition);
}

.floating-element:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.floating-element:nth-child(1) {
    width: 200px; height: 200px; top: 10%; left: 10%; animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 150px; height: 150px; top: 50%; right: 10%; animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 180px; height: 180px; bottom: 10%; left: 30%; animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow:
        0 4px 15px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    margin-left: 1rem;
    border: 1px solid var(--glass-border);
    box-shadow:
        0 4px 15px var(--glass-shadow),
        inset 0 1px 0 var(--glass-highlight);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    border-color: rgba(139, 92, 246, 0.3);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Generic section helpers */
.section {
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Trust / logo marquee bar */
.trust-bar {
    padding: 2.5rem 5%;
    text-align: center;
}

.trust-bar p {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-logos span,
.trust-logos a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-secondary);
    opacity: 0.75;
    transition: var(--transition);
    text-decoration: none;
}

.trust-logos span:hover,
.trust-logos a:hover {
    opacity: 1;
    color: var(--purple);
}

/* Services Section */
.services { padding: 100px 5%; }

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid > .service-card {
    flex: 1 1 300px;
    max-width: 400px;
}

.service-card {
    padding: 2.5rem;
    border-radius: 25px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0.14) 50%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 100%
    );
    transform: skewX(-14deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::before { left: 140%; }

.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-10px); }

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.service-icon svg {
    width: 34px;
    height: 34px;
    stroke: currentColor;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-link {
    display: inline-block;
    margin-top: 1.2rem;
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.service-link:hover { text-decoration: underline; }

/* Why Us Section */
.whyus { padding: 100px 5%; position: relative; overflow: hidden; }

.whyus::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.whyus-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.whyus-grid > .whyus-card {
    flex: 1 1 280px;
    max-width: 400px;
}

.whyus-card {
    padding: 2.2rem;
    border-radius: 22px;
    transition: var(--transition);
}

.whyus-card:hover { transform: translateY(-8px); }

.whyus-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    color: var(--purple);
    background: var(--glass-refraction);
    border: 1px solid var(--glass-border-subtle);
}

.whyus-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.whyus-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.whyus-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Team */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 3.5rem auto 0;
}

.team-grid > .team-card {
    flex: 1 1 220px;
    max-width: 300px;
}

.team-card {
    padding: 2rem;
    border-radius: 22px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover { transform: translateY(-8px); }

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3);
}

.team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.team-role {
    color: var(--purple);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: block;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Portfolio / Work */
.work { padding: 100px 5%; position: relative; overflow: hidden; }

.work-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.work-grid > .work-card {
    flex: 1 1 320px;
    max-width: 420px;
}

.work-card {
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.work-card:hover { transform: translateY(-10px); }

.work-thumb {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(251, 191, 36, 0.12));
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-card:hover .work-thumb img { transform: scale(1.06); }

.work-logo {
    position: absolute;
    bottom: 12px;
    left: 12px;
    height: 42px;
    max-width: 60%;
    padding: 6px 12px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.95rem;
}

.work-logo img { height: 100%; width: auto; object-fit: contain; }

.work-logo a {
    display: flex;
    align-items: center;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.work-title-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.work-title-link:hover { color: var(--purple); }

.work-body {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.work-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--glass-refraction);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.9rem;
    align-self: flex-start;
}

.work-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.work-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    flex: 1;
}

.work-link {
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    align-self: flex-start;
}

.work-link:hover { text-decoration: underline; }

/* Testimonials */
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid > .testimonial-card {
    flex: 1 1 300px;
    max-width: 400px;
}

.testimonial-card {
    padding: 2.2rem;
    border-radius: 22px;
}

.testimonial-card .quote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.testimonial-author .avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    flex-shrink: 0;
}

.testimonial-author .name { font-weight: 600; }
.testimonial-author .role { font-size: 0.85rem; color: var(--text-secondary); }

/* Process steps */
.process-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.process-grid > .process-step {
    flex: 1 1 230px;
    max-width: 320px;
}

.process-step {
    padding: 2rem;
    border-radius: 22px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover { transform: translateY(-6px); }

.process-num {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--purple), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Impact band */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.impact-card {
    padding: 2.5rem 2rem;
    border-radius: 22px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.impact-card:hover { transform: translateY(-8px); }

.impact-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--purple), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.75rem;
}

.impact-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Industries */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.industries-grid > .industry-card {
    flex: 1 1 260px;
    max-width: 360px;
}

.industry-card {
    padding: 2.2rem;
    border-radius: 22px;
    transition: var(--transition);
}

.industry-card:hover { transform: translateY(-8px); }

.industry-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--purple);
    background: var(--glass-refraction);
    border: 1px solid var(--glass-border-subtle);
}

.industry-icon svg { width: 28px; height: 28px; stroke: currentColor; }

.industry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.industry-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Section */
.about { padding: 100px 5%; position: relative; overflow: hidden; }

.about::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    pointer-events: none;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.highlight-box {
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.highlight-box h4 {
    color: var(--purple);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.highlight-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.highlight-list li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.highlight-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.about-visual { position: relative; height: 400px; }

.about-visual .floating-element { width: 180px; height: 180px; }
.about-visual .floating-element:nth-child(1) { width: 180px; height: 180px; top: 0; left: 20%; }
.about-visual .floating-element:nth-child(2) { width: 150px; height: 150px; top: 40%; right: 10%; }
.about-visual .floating-element:nth-child(3) { width: 200px; height: 200px; bottom: 0; left: 10%; }

/* FAQ */
.faq-wrap {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 18px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.4rem 1.6rem;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
}

.faq-question .icon {
    flex-shrink: 0;
    font-size: 1.4rem;
    color: var(--purple);
    transition: var(--transition);
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.6rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 1.6rem 1.4rem;
}

/* Lead Forms */
.leadforms { padding: 100px 5%; position: relative; overflow: hidden; }

.leadforms::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    pointer-events: none;
}

.form-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 28px;
    position: relative;
    z-index: 1;
}

.form-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.form-tab {
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-tab.active {
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.lead-form { display: none; }
.lead-form.active { display: block; animation: fadeInUp 0.4s ease-out; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg-strong);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    padding-right: 2.6rem;
}

/* Dropdown option readability (light + dark) */
.form-group select option {
    background: #ffffff;
    color: #1a1a2e;
}

[data-theme="dark"] .form-group select option {
    background: #161625;
    color: #e8e8f0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    text-align: center;
}

.form-note a { color: var(--purple); }

/* Contact / Location Section */
.contact-section { padding: 100px 5%; position: relative; overflow: hidden; }

.contact-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    pointer-events: none;
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-info h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.contact-item-text { display: flex; flex-direction: column; }

.contact-item-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-item-value {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-item-value:hover { color: var(--purple); }

.contact-map {
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

/* CTA Section */
.cta { padding: 100px 5%; text-align: center; }

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(251, 191, 36, 0.03) 0%, transparent 50%);
    animation: liquidLight 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes liquidLight {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.cta-box h2 { font-size: 2.5rem; margin-bottom: 1.5rem; position: relative; }

.cta-box p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    position: relative;
}

.cta-box .btn { position: relative; }

/* Sticky Mobile CTA */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 5%;
    right: 5%;
    z-index: 999;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    animation: slideUp 0.5s ease-out;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow-strong);
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mobile-cta .btn { width: 100%; display: block; }

/* Footer */
footer {
    padding: 60px 5% 30px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -4px 24px var(--glass-shadow);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border-subtle);
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p { color: var(--text-secondary); line-height: 1.8; }

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links ul { list-style: none; }

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--purple);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: var(--text-secondary);
}

.footer-bottom a { color: var(--text-secondary); text-decoration: none; }
.footer-bottom a:hover { color: var(--purple); }

/* Legal / content pages */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 5% 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-page .updated {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin: 2.2rem 0 0.8rem;
}

.legal-page p,
.legal-page li {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.legal-page ul { padding-left: 1.4rem; margin-bottom: 1rem; }

.legal-page a { color: var(--purple); }

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
}

/* Thank you page */
.thankyou {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    text-align: center;
}

.thankyou-box {
    max-width: 620px;
    padding: 3.5rem;
    border-radius: 30px;
}

.thankyou-box .check {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.thankyou-box h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.thankyou-box p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { order: -1; height: 300px; }
    .about-content { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Collapse the nav to a menu button before the links crowd the logo */
@media (max-width: 1100px) {
    header { padding: 1rem 4%; }
    .logo { height: 38px; }
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(232, 237, 245, 1);
        backdrop-filter: blur(30px) saturate(200%);
        -webkit-backdrop-filter: blur(30px) saturate(200%);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 4px 24px var(--glass-shadow);
        transition: var(--transition);
        align-items: center;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    [data-theme="dark"] .nav-links { background: rgba(15, 15, 26, 1); }
    .nav-links.active { left: 0; }

    .nav-cta { display: inline-block; }
}

@media (max-width: 768px) {
    .logo { height: 35px; }

    .hero { padding: 100px 5% 60px; }
    .hero-text { text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1rem; }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        max-width: 400px;
        margin: 2rem auto 0;
    }

    .stat-card {
        padding: 1rem 0.5rem;
        min-height: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.72rem; white-space: nowrap; }

    .hero-text > div:not(.hero-stats) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-text .btn { width: 100%; max-width: 320px; text-align: center; }
    .btn-secondary { margin-left: 0; margin-top: 0; }

    .hero-visual { display: flex; justify-content: center; gap: 1rem; height: auto; }

    .floating-element {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none !important;
        flex: 0 0 30% !important;
        width: 30% !important;
        max-width: 120px;
        min-width: 0 !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .services, .whyus, .work, .leadforms, .section { padding: 80px 5%; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .impact-number { font-size: 2rem; }
    .section-header { margin-bottom: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card { padding: 2rem 1.5rem; text-align: center; }
    .service-icon { margin: 0 auto 1.2rem; }
    .service-link { align-self: center; }

    .about { padding: 80px 5%; }
    .about-text { text-align: center; }

    .section-header h2,
    .about-text h2,
    .cta-box h2,
    .contact-info h2 { font-size: 1.8rem; }

    .about-text p { font-size: 1rem; }
    .highlight-box { padding: 1.5rem; }
    .highlight-list { grid-template-columns: 1fr; text-align: left; }

    .about-visual { display: flex; justify-content: center; gap: 1rem; height: auto; }

    .contact-section { padding: 80px 5%; }
    .contact-info { text-align: center; }
    .contact-item { flex-direction: column; text-align: center; padding: 1.2rem 1rem; }
    .contact-item-text { align-items: center; }
    .contact-item-value { word-break: break-all; font-size: 0.9rem; }
    .contact-map { min-height: 280px; border-radius: 18px; }
    .contact-map iframe { min-height: 280px; }

    .form-wrap { padding: 1.8rem 1.3rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .cta { padding: 80px 5% 120px; }
    .cta-box { padding: 2.5rem 1.5rem; }

    /* Stack the CTA buttons with clear spacing on mobile */
    .cta-box .btn { display: block; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
    .cta-box .btn + .btn { margin-top: 1.25rem; }

    .mobile-cta { display: block; }

    footer { padding: 40px 5% 20px; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-about, .footer-links { text-align: center; }
    .footer-links a:hover { transform: none; }

    .legal-page { padding: 120px 5% 60px; }
    .legal-page h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-text p, .section-header p, .about-text p, .cta-box p { font-size: 0.95rem; }
    .section-header h2, .about-text h2, .cta-box h2, .contact-info h2 { font-size: 1.5rem; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.65rem; }
    .service-card { padding: 1.5rem 1.2rem; }
    .stat-card { padding: 0.75rem 0.4rem; min-height: 70px; }
    .hero-stats { max-width: 340px; gap: 0.5rem; }
    .cta-box { padding: 2rem 1rem; }
    .contact-item-value { font-size: 0.85rem; }
    .hero-visual, .about-visual { gap: 0.5rem; }
    .form-tabs { gap: 0.4rem; }
    .form-tab { padding: 0.6rem 1rem; font-size: 0.85rem; }
}
