:root {
    --primary: #0a1628;
    --primary-mid: #0f2140;
    --primary-light: #1a365d;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --text-main: #94a3b8;
    --text-light: #cbd5e1;
    --text-dark: #f1f5f9;
    --text-heading: #ffffff;
    --bg-dark: #060d1b;
    --bg-section: #0a1628;
    --bg-card: #0f2140;
    --bg-card-hover: #162d50;
    --border-color: rgba(148, 163, 184, 0.12);
    --border-light: rgba(255, 255, 255, 0.06);
    --max-width: 1200px;
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0f2140 100%);
    --gradient-card: linear-gradient(180deg, rgba(59, 130, 246, 0.04) 0%, transparent 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    background-color: rgba(6, 13, 27, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
    display: block;
}

.logo-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    font-weight: 600;
    display: block;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
}

.nav-link:hover {
    color: var(--text-heading);
}

.nav-btn {
    background-color: var(--accent);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px;
    color: var(--text-light);
    cursor: pointer;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 100px 0 80px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-tagline {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    display: inline-block;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background-color: transparent;
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--text-heading);
}

.hero-right-box {
    background-color: rgba(15, 33, 64, 0.6);
    border-left: 3px solid var(--accent);
    padding: 32px;
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(8px);
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* Pillars Section */
.pillars {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.pillar-card {
    background: var(--gradient-card);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -12px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.pillar-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    color: var(--accent);
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

/* Overview Matrix Section */
.overview-section {
    background-color: var(--bg-section);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 56px;
    max-width: 700px;
}

.section-header--center {
    text-align: center;
    margin: 0 auto 56px auto;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

.section-subtitle {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.7;
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.define-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.define-item {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.define-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.6;
}

.define-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

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

.stat-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.stat-num {
    font-size: 44px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
}

/* Services Grid Section */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--gradient-card);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 8px 32px -8px rgba(59, 130, 246, 0.1);
}

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

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-top h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

/* Trust / Why Triko Section */
.trust-section {
    padding: 100px 0;
    background-color: var(--bg-section);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-header {
    margin-bottom: 56px;
    max-width: 600px;
}

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

.trust-item {
    padding: 32px;
    border-radius: 12px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

.trust-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 16px;
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 14px;
    line-height: 1.7;
}

/* Company Profile Section */
.profile-section {
    background: linear-gradient(135deg, #1a365d 0%, #0f2140 50%, #0a1628 100%);
    color: var(--text-light);
    padding: 100px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.profile-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
}

.profile-left h3 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--text-heading);
}

.profile-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
}

.profile-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
}

.faq-question {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    padding-right: 16px;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.faq-item--open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}

.faq-item--open .faq-answer {
    max-height: 200px;
    padding: 0 0 24px 0;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-section);
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.7;
    margin-top: 16px;
}

.contact-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 15px;
}

.contact-detail-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-form-wrap {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-heading);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

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

/* Footer */
.footer {
    background-color: var(--bg-dark);
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-desc {
    margin-top: 12px;
    max-width: 500px;
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.7;
}

.footer-contact {
    text-align: right;
    font-size: 14px;
}

.footer-contact h5 {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.footer-address {
    margin-top: 12px;
    color: #475569;
    font-size: 13px;
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #475569;
}

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

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

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    pointer-events: none;
    z-index: 50;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* Legal Pages */
.legal-section {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 14px;
    color: #475569;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main);
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
    list-style: disc;
}

.legal-content ul li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
    color: var(--text-main);
}

.legal-content a {
    color: var(--accent);
}

.legal-content a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
    .hero-grid,
    .matrix-grid,
    .profile-grid,
    .footer-top,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pillars-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        text-align: left;
    }

    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(6, 13, 27, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 0;
        z-index: 99;
    }

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

    .nav-menu .nav-link {
        font-size: 18px;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }

    .nav-menu .nav-btn {
        margin-top: 24px;
        text-align: center;
        display: block;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 32px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}
