/* ============================================================
   Trust Prime Venture - Main Stylesheet
   ============================================================ */

:root {
    --primary: #0b3d91;
    --primary-dark: #072a66;
    --accent: #00b4d8;
    --accent-light: #e6f7fb;
    --text: #1f2937;
    --text-muted: #5b6472;
    --bg: #ffffff;
    --bg-alt: #f4f7fb;
    --border: #e2e8f0;
    --success: #16a34a;
    --shadow: 0 10px 30px rgba(11, 61, 145, 0.08);
    --radius: 14px;
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    line-height: 1.25;
    color: var(--primary-dark);
    font-weight: 700;
}

section {
    padding: 72px 0;
}

/* ---------------- Header ---------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 74px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
}

.brand-icon {
    font-size: 28px;
    line-height: 1;
}

.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1.15rem;
    color: var(--primary);
    letter-spacing: 0.3px;
}

.brand-text small {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 700;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--bg-alt);
}

.main-nav a.active {
    color: #fff;
    background: var(--primary);
}

.header-cta {
    flex-shrink: 0;
}

/* ---------------- Buttons ---------------- */

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 61, 145, 0.25);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: #0096bb;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ---------------- Hero ---------------- */

.hero {
    background:
        linear-gradient(120deg, rgba(11, 61, 145, 0.95), rgba(0, 180, 216, 0.85)),
        url('https://images.unsplash.com/photo-1563013544-824ae1b704d3?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: #fff;
    padding: 110px 0;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    max-width: 800px;
    margin: 0 auto 18px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------- Sections / Cards ---------------- */

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-head .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    margin-bottom: 12px;
}

.section-head p {
    color: var(--text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11, 61, 145, 0.14);
}

.card .card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---------------- Pricing ---------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
}

.pricing-card .tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 999px;
}

.pricing-card .plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card .price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0 4px;
}

.pricing-card .price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card .speed {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 18px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    color: var(--text-muted);
    font-size: 0.92rem;
}

.pricing-card ul li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
}

/* ---------------- Page Hero (inner pages) ---------------- */

.page-hero {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    color: #fff;
    padding: 72px 0;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    margin-bottom: 10px;
}

.page-hero p {
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------------- Two-column content ---------------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split h2 {
    margin-bottom: 16px;
}

.split p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* ---------------- Lists ---------------- */

.check-list {
    list-style: none;
    margin-top: 10px;
}

.check-list li {
    padding: 6px 0;
    color: var(--text);
}

.check-list li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
}

/* ---------------- Payment ---------------- */

.bank-details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
}

.bank-details table {
    width: 100%;
    border-collapse: collapse;
}

.bank-details th,
.bank-details td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.bank-details th {
    background: var(--bg-alt);
    color: var(--primary-dark);
    width: 40%;
    font-weight: 700;
}

.bank-details tr:last-child th,
.bank-details tr:last-child td {
    border-bottom: none;
}

.bank-details td {
    color: var(--text);
    font-weight: 600;
}

.note-box {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 18px 20px;
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--text);
    font-size: 0.95rem;
}

/* ---------------- Contact ---------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    background: #fff;
}

.info-card .icon {
    font-size: 24px;
}

.info-card h4 {
    margin-bottom: 4px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ---------------- CTA band ---------------- */

.cta-band {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 12px;
}

.cta-band p {
    opacity: 0.92;
    margin-bottom: 26px;
}

/* ---------------- Footer ---------------- */

.site-footer {
    background: #0a1f42;
    color: #cbd5e1;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
}

.brand--footer .brand-text strong {
    color: #fff;
}

.footer-col p {
    margin-top: 14px;
    font-size: 0.92rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #cbd5e1;
    font-size: 0.92rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.contact-list li {
    font-size: 0.92rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 0.88rem;
    color: #94a3b8;
}

/* ---------------- Mobile nav ---------------- */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 900px) {
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.open {
        max-height: 400px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
    }

    .main-nav a {
        text-align: center;
    }

    .hero {
        padding: 72px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 52px 0;
    }
}
