/* ===== ROOT VARIABLES ===== */
:root {
    --primary: #f5a623;
    --primary-dark: #d4891a;
    --primary-light: #ffc857;
    --bg-dark: #0b0b1a;
    --bg-section: #10101f;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --text-white: #ffffff;
    --text-light: #c0c0d0;
    --text-muted: #8888a0;
    --border-color: rgba(245, 166, 35, 0.25);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(245, 166, 35, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-sm: 8px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== P5 CANVAS ===== */
#p5-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 11, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--primary);
}

.nav-logo svg {
    width: 36px;
    height: 36px;
}

.logo-img {
    height: 60px;
    width: 140px;
    object-fit: cover;
    display: block;
    filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.25));
    transition: filter 0.3s ease;
}

.nav-logo:hover .logo-img {
    filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.55));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--bg-dark) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 11, 26, 0.92) 0%, rgba(11, 11, 26, 0.7) 50%, rgba(11, 11, 26, 0.85) 100%);
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 166, 35, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 166, 35, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--primary-light);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.88rem;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ===== SECTIONS ===== */
section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

section:nth-child(even) {
    background: var(--bg-section);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--primary);
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ===== CARDS GRID ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

/* ===== CARD STYLES ===== */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: var(--shadow), var(--shadow-glow);
    background: var(--bg-card-hover);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
    stroke: var(--primary);
    fill: none;
}

.card:hover .card-icon {
    background: rgba(245, 166, 35, 0.2);
    transform: scale(1.05);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 16px;
    transition: var(--transition);
}

.card-link:hover {
    gap: 10px;
}

.card-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

/* ===== FEATURE LIST ===== */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.feature-list li svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--primary);
    margin-top: 2px;
}

/* ===== SOLUTION DETAIL SECTIONS ===== */
.solution-detail {
    padding: 80px 0;
}

.solution-detail:nth-child(even) {
    background: var(--bg-section);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.solution-grid.reverse {
    direction: rtl;
}

.solution-grid.reverse>* {
    direction: ltr;
}

.solution-illustration {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.solution-illustration::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
}

.solution-illustration svg {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 1;
}

.solution-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.solution-info>p {
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.solution-tag {
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid var(--border-color);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ===== INDUSTRIES SECTION ===== */
.industry-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.industry-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.industry-card:hover::after {
    width: 60%;
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.industry-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.industry-card:hover .industry-icon {
    background: rgba(245, 166, 35, 0.2);
    transform: scale(1.1);
}

.industry-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.benefit-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 166, 35, 0.05) 100%);
    border-top: 1px solid rgba(245, 166, 35, 0.1);
    border-bottom: 1px solid rgba(245, 166, 35, 0.1);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 32px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    padding-top: 140px;
    padding-bottom: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
}

.about-image {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.mv-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.mv-card h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.3rem;
}

/* ===== TECHNOLOGY PAGE ===== */
.tech-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.05) 0%, transparent 70%);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow);
}

.tech-card:hover::before {
    top: 0;
    right: 0;
}

.tech-icon {
    width: 72px;
    height: 72px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.tech-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.tech-card h3 {
    margin-bottom: 12px;
}

.tech-card p {
    color: var(--text-muted);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-item h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-item p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select option {
    background: var(--bg-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    z-index: 1;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.03) 0%, transparent 50%);
    z-index: -1;
}

.page-hero-content {
    max-width: 700px;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.social-links a:hover svg {
    color: var(--bg-dark);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for grid children */
.stagger>*:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger>*:nth-child(2) {
    transition-delay: 0.12s;
}

.stagger>*:nth-child(3) {
    transition-delay: 0.19s;
}

.stagger>*:nth-child(4) {
    transition-delay: 0.26s;
}

.stagger>*:nth-child(5) {
    transition-delay: 0.33s;
}

.stagger>*:nth-child(6) {
    transition-delay: 0.40s;
}

/* ===== PULSE ANIMATION ===== */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.3);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(245, 166, 35, 0);
    }
}

.pulse {
    animation: pulse-glow 2s infinite;
}

/* ===== FLOATING ANIMATION ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* ===== COUNTER ANIMATION ===== */
.counter {
    display: inline-block;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ===== PAGE REVEAL ON LOAD ===== */
body {
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}

/* ===== ELEVATOR PITCH ===== */
.pitch-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 166, 35, 0.03) 100%);
    padding: 60px 0;
}

.pitch-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    font-style: italic;
    position: relative;
    padding: 0 40px;
}

.pitch-content::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-grid.reverse {
        direction: ltr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 11, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    section {
        padding: 70px 0;
    }

    .hero-content {
        padding: 100px 0 60px;
    }

    .page-hero {
        padding: 130px 0 60px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TYPING CURSOR ===== */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--primary);
    margin-left: 4px;
    animation: blink 0.8s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ===== ANIMATE CSS OVERRIDES ===== */
.animate__animated {
    --animate-duration: 0.8s;
}

/* ===== SOLUTION PAGE TABS ===== */
.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.solution-tab {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.solution-tab:hover,
.solution-tab.active {
    background: rgba(245, 166, 35, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== PARALLAX BG ELEMENTS ===== */
.parallax-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.parallax-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.03);
}

.parallax-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.parallax-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -80px;
}

.parallax-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 10%;
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

/* Animated draw-on line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), rgba(245, 166, 35, 0.1));
    transition: height 1.8s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.4);
}

.process-timeline.line-active::before {
    height: 100%;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 56px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

/* Ghost (spacer) side */
.process-step-ghost {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
    opacity: 0 !important;
}

/* Content card */
.process-step-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid rgba(245, 166, 35, 0.1);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.process-step-content:not(.process-step-ghost)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.05) 0%, transparent 60%);
    pointer-events: none;
    border-radius: var(--radius);
}

.process-step-content:not(.process-step-ghost):hover {
    border-color: rgba(245, 166, 35, 0.35);
    box-shadow: 0 0 28px rgba(245, 166, 35, 0.1), var(--shadow);
    transform: translateY(-3px);
}

/* Step tag label */
.process-step-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 12px;
}

.process-step-content h4 {
    color: var(--text-white);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.process-step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Chips row */
.process-step-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.process-step-chips span {
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 3px 10px;
    letter-spacing: 0.04em;
}

/* SVG icon container */
.process-step-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.07);
    border: 1px solid rgba(245, 166, 35, 0.15);
    border-radius: 16px;
    padding: 12px;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    animation: ps-float 4s ease-in-out infinite;
}

.process-step-content:hover .process-step-icon {
    background: rgba(245, 166, 35, 0.12);
    border-color: rgba(245, 166, 35, 0.35);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.2);
    animation-play-state: paused;
}

.process-step-icon svg {
    width: 100%;
    height: 100%;
}

/* Number badge */
.process-step-number {
    width: 54px;
    height: 54px;
    min-width: 54px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    z-index: 1;
    position: relative;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.12), 0 0 20px rgba(245, 166, 35, 0.3);
    transition: box-shadow 0.3s, transform 0.3s;
}

.process-step-number span {
    position: relative;
    z-index: 2;
    line-height: 1;
}

.process-step-number:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.2), 0 0 30px rgba(245, 166, 35, 0.5);
}

/* Ripple pulse behind number */
.process-step-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: ps-pulse 2.4s ease-out infinite;
}

/* ---- SVG animations ---- */

/* Floating icon */
@keyframes ps-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Pulse ring */
@keyframes ps-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    80% {
        transform: scale(1.9);
        opacity: 0;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

/* Sensor wave rings */
.ps-ring-1 {
    animation: ps-wave 2s ease-out infinite;
}

.ps-ring-2 {
    animation: ps-wave 2s ease-out 0.5s infinite;
}

.ps-ring-3 {
    animation: ps-wave 2s ease-out 1s infinite;
}

@keyframes ps-wave {
    0% {
        opacity: 0.7;
        transform-origin: center;
        transform: scale(0.85);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.ps-core {
    animation: ps-blink 1.5s ease-in-out infinite alternate;
}

@keyframes ps-blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.4;
    }
}

/* WiFi arcs */
.ps-wifi-1 {
    animation: ps-wifi-in 1.6s ease-out infinite;
}

.ps-wifi-2 {
    animation: ps-wifi-in 1.6s ease-out 0.3s infinite;
}

.ps-wifi-3 {
    animation: ps-wifi-in 1.6s ease-out 0.6s infinite;
}

@keyframes ps-wifi-in {
    0% {
        stroke-dasharray: 0 100;
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        stroke-dasharray: 100 0;
        opacity: 1;
    }
}

/* Data packets */
.ps-pkt-1 {
    animation: ps-pkt-fly-l 2.2s ease-in-out infinite;
}

.ps-pkt-2 {
    animation: ps-pkt-fly-r 2.2s ease-in-out 1.1s infinite;
}

@keyframes ps-pkt-fly-l {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(18px) translateY(-8px);
        opacity: 0;
    }
}

@keyframes ps-pkt-fly-r {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-18px) translateY(-8px);
        opacity: 0;
    }
}

/* Gear spin */
.ps-gear {
    animation: ps-spin 6s linear infinite;
    transform-origin: 32px 32px;
}

@keyframes ps-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Chart draw */
.ps-chart {
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: ps-draw 2.5s ease forwards infinite;
}

@keyframes ps-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Dashboard bars grow */
.ps-bar-1 {
    animation: ps-bar-grow 1.4s ease 0s infinite alternate;
    transform-origin: bottom;
}

.ps-bar-2 {
    animation: ps-bar-grow 1.4s ease 0.2s infinite alternate;
    transform-origin: bottom;
}

.ps-bar-3 {
    animation: ps-bar-grow 1.4s ease 0.4s infinite alternate;
    transform-origin: bottom;
}

.ps-bar-4 {
    animation: ps-bar-grow 1.4s ease 0.6s infinite alternate;
    transform-origin: bottom;
}

@keyframes ps-bar-grow {
    from {
        transform: scaleY(0.6);
    }

    to {
        transform: scaleY(1);
    }
}

/* Alert dot blink */
.ps-alert {
    animation: ps-alert-blink 1s step-start infinite;
}

@keyframes ps-alert-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Tick marks flicker */
.ps-tick {
    animation: ps-tick-flash 1.8s ease-in-out infinite;
}

@keyframes ps-tick-flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

/* Stagger step entrance via nth-child */
.process-step.reveal-left,
.process-step.reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.process-step.reveal-left {
    transform: translateX(-40px);
}

.process-step.reveal-right {
    transform: translateX(40px);
}

.process-step.reveal-left.active,
.process-step.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.process-step:nth-child(1).reveal-left {
    transition-delay: 0.1s;
}

.process-step:nth-child(2).reveal-right {
    transition-delay: 0.25s;
}

.process-step:nth-child(3).reveal-left {
    transition-delay: 0.4s;
}

.process-step:nth-child(4).reveal-right {
    transition-delay: 0.55s;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 27px;
    }

    .process-step,
    .process-step:nth-child(even) {
        flex-direction: row;
        gap: 20px;
    }

    .process-step-ghost {
        display: none;
    }

    .process-step-content:not(.process-step-ghost) {
        margin-left: 0;
    }

    .process-step-number {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .process-step-icon {
        width: 56px;
        height: 56px;
    }
}