/* ═══════════════════════════════════════════
   HARA TECHNOLOGIES — Styles
   Colors: dark (#1a1a1a) + warm gold (#C17E3A)
   ═══════════════════════════════════════════ */

/* CSS Variables */
:root {
    --accent: #C17E3A;
    --accent-light: #D4943E;
    --accent-hover: #A86B2F;
    --accent-glow: rgba(193, 126, 58, 0.15);

    --bg-light: #FFFFFF;
    --bg-light-alt: #F8F7F5;
    --bg-dark: #1a1a1a;
    --bg-dark-alt: #111111;
    --bg-dark-card: #232323;
    --bg-dark-card-hover: #2a2a2a;

    --text-dark: #1a1a1a;
    --text-dark-secondary: #555555;
    --text-dark-tertiary: #888888;
    --text-light: #FFFFFF;
    --text-light-secondary: #999999;
    --text-light-tertiary: #666666;

    --border-light: #E8E6E3;
    --border-dark: #2e2e2e;
    --divider-dark: #333333;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* ──────────── Reset & Base ──────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ──────────── Typography ──────────── */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* ──────────── Buttons ──────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(193, 126, 58, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-light-secondary);
    border-color: var(--divider-dark);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-white {
    background: var(--bg-light);
    color: var(--bg-dark);
    border-color: var(--bg-light);
}
.btn-white:hover {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ──────────── Section Shared ──────────── */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.section-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header-dark h2 {
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light-secondary);
}

.section-light .section-subtitle,
.section-header-dark .section-subtitle {
    color: var(--text-dark-secondary);
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-light);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-label-dark {
    color: var(--accent);
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border-dark);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

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

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

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

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(193, 126, 58, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(193, 126, 58, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 40px;
}

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

.hero h1 {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 3.25rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-light-secondary);
    margin-bottom: 40px;
}

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

/* Floating cards on right */
.hero-visual {
    position: relative;
    height: 420px;
}

.hero-card {
    position: absolute;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.hero-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

.hero-card-1 { top: 30px; left: 20px; }
.hero-card-2 { top: 160px; right: 10px; }
.hero-card-3 { top: 300px; left: 50px; }

/* ══════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.service-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.service-card h3 {
    color: var(--text-light);
    margin-bottom: 12px;
}

.service-card > p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-light-secondary);
    margin-bottom: 24px;
}

.service-features {
    border-top: 1px solid var(--border-dark);
    padding-top: 20px;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-light-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ══════════════════════════════════════════
   ABOUT / WHY US
   ══════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-label {
    margin-bottom: 16px;
}

.about-content h2 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-dark-secondary);
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-light-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark-secondary);
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════
   PROCESS
   ══════════════════════════════════════════ */
.process-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.process-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.process-step h3 {
    color: var(--text-light);
    margin-bottom: 12px;
}

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

.process-connector {
    width: 40px;
    height: 2px;
    background: var(--divider-dark);
    flex-shrink: 0;
    margin-top: 28px;
}

/* ══════════════════════════════════════════
   TECH STACK
   ══════════════════════════════════════════ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.tech-category {
    background: var(--bg-light-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.tech-category h4 {
    color: var(--text-dark);
    margin-bottom: 16px;
    font-size: 0.75rem;
}

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

.tech-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark-secondary);
    transition: all 0.2s;
}

.tech-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.section-cta {
    background: var(--accent);
    text-align: center;
    padding: 80px 0;
}

.cta-container h2 {
    color: var(--text-light);
    margin-bottom: 16px;
}

.cta-container p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-label {
    margin-bottom: 16px;
}

.contact-info h2 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info > p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark-secondary);
    margin-bottom: 32px;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--bg-light-alt);
    border: 1px solid var(--border-light);
    transition: border-color 0.2s;
}

.contact-method:hover {
    border-color: var(--accent);
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.contact-method-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dark-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact-method-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dark-tertiary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    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='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    background: var(--bg-dark-alt);
    color: var(--text-light);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-dark);
}

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

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-light-secondary);
}

.footer-links-group {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    color: var(--text-light-secondary);
    margin-bottom: 16px;
    font-size: 0.7rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-light-secondary);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* ══════════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

    .hero h1 { font-size: 2.5rem; }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual { display: none; }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .process-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .process-connector {
        width: 2px;
        height: 24px;
        margin: 0 auto;
    }

    .process-step {
        padding: 0;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Mobile
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .section { padding: 72px 0; }

    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero h1 { font-size: 2rem; }

    /* Navbar mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .navbar .btn { display: none; }
    .mobile-menu-btn { display: flex; }

    .tech-grid { grid-template-columns: 1fr; }

    .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }

    .stat-card { padding: 24px 16px; }
    .stat-number { font-size: 1.75rem; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .contact-form-wrapper { padding: 28px 20px; }

    .footer-links-group { gap: 32px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Small phones
   ══════════════════════════════════════════ */
@media (max-width: 400px) {
    .container { padding: 0 16px; }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }

    .hero h1 { font-size: 1.75rem; }
    .hero-description { font-size: 0.95rem; }
    .hero-logo-img { width: 120px; }

    .service-card { padding: 28px 20px; }
}
