/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #E8792F;
    --orange-dark: #D06825;
    --orange-light: #F09450;
    --charcoal: #3A3A3A;
    --bg: #FFFFFF;
    --bg-alt: #F8F9FC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8F9FC;
    --text: #1A1A2E;
    --text-muted: #5A5A7A;
    --text-dim: #9A9AB0;
    --border: #E8E8F0;
    --border-light: #F0F0F8;
    --shadow: rgba(0, 0, 0, 0.06);
    --shadow-lg: rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --radius: 12px;
    --radius-lg: 20px;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
    --bg: #0C0C14;
    --bg-alt: #111120;
    --bg-card: #16162A;
    --bg-card-hover: #1C1C36;
    --text: #E8E8F0;
    --text-muted: #A0A0BC;
    --text-dim: #6A6A8A;
    --border: #2A2A40;
    --border-light: #1E1E34;
    --shadow: rgba(0, 0, 0, 0.2);
    --shadow-lg: rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(12, 12, 20, 0.9);
}

[data-theme="dark"] .logo-img {
    filter: brightness(1.2);
}

[data-theme="dark"] .dashboard-preview {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark), #C05A20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(232, 121, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 121, 47, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-nav {
    background: rgba(232, 121, 47, 0.1);
    color: var(--orange);
    border: 1px solid rgba(232, 121, 47, 0.3);
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-nav:hover {
    background: rgba(232, 121, 47, 0.15);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-switcher {
    display: flex;
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
    gap: 2px;
}

.theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    border: none;
    background: transparent;
    border-radius: 7px;
    cursor: pointer;
    color: var(--text-dim);
    transition: all 0.2s ease;
}

.theme-btn:hover { color: var(--text-muted); }

.theme-btn.active {
    background: var(--orange);
    color: white;
    box-shadow: 0 2px 8px rgba(232, 121, 47, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(232, 121, 47, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(232, 121, 47, 0.08);
    border: 1px solid rgba(232, 121, 47, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== DASHBOARD PREVIEW ===== */
.dashboard-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px var(--shadow-lg);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-dots span:first-child { background: #EF4444; }
.dash-dots span:nth-child(2) { background: #F59E0B; }
.dash-dots span:last-child { background: #10B981; }

.dash-title {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.dash-body {
    padding: 24px;
}

.dash-metric {
    margin-bottom: 20px;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.metric-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.metric-change.down {
    color: #10B981;
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    margin-bottom: 20px;
    padding: 12px 0;
}

.bar {
    flex: 1;
    background: var(--border);
    border-radius: 4px;
    transition: background 0.3s;
}

.bar.active {
    background: var(--orange);
}

.dash-insights {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.insight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.insight-icon {
    font-size: 1rem;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

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

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow);
}

.about-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== SOLUTIONS ===== */
.solutions {
    padding: 100px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 121, 47, 0.2);
    box-shadow: 0 12px 40px var(--shadow);
}

.solution-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 121, 47, 0.08);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--orange);
}

.solution-icon svg {
    width: 24px;
    height: 24px;
}

.solution-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== TECHNOLOGY ===== */
.technology {
    padding: 100px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow);
}

.tech-card.featured {
    border-color: var(--orange);
    box-shadow: 0 0 30px rgba(232, 121, 47, 0.08);
}

.tech-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 12px;
}

.tech-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tech-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== INDUSTRIES ===== */
.industries {
    padding: 100px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 121, 47, 0.2);
    box-shadow: 0 12px 40px var(--shadow);
}

.industry-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.industry-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px;
}

.contact-text h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.contact-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-item svg {
    color: var(--orange);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--orange);
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
}

/* ===== FOOTER ===== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--text-dim);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 100px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow);
}

.portfolio-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.portfolio-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.portfolio-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.portfolio-client {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.portfolio-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tags span {
    padding: 4px 12px;
    background: rgba(232, 121, 47, 0.06);
    border: 1px solid rgba(232, 121, 47, 0.12);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--orange);
}

/* ===== PROJECT LIST (HERO) ===== */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 0.85rem;
}

.project-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.project-name {
    font-weight: 600;
    color: var(--text);
}

.project-tag {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ===== FEATURED CARD ===== */
.featured-card {
    border-color: rgba(232, 121, 47, 0.2);
    background: linear-gradient(135deg, rgba(232, 121, 47, 0.03), transparent);
}

/* ===== ENGAGEMENT MODELS ===== */
.engagement-models {
    margin-top: 32px;
}

.engagement-models h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.model-tags span {
    padding: 8px 16px;
    background: rgba(232, 121, 47, 0.06);
    border: 1px solid rgba(232, 121, 47, 0.12);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== CONTACT SELECT ===== */
.contact-form select {
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239A9AB0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.contact-form select:focus {
    border-color: var(--orange);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero { text-align: center; }
    .hero-subtitle { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    .hero { padding: 120px 0 60px; }

    .about-grid,
    .solutions-grid,
    .tech-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .industries-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
