/* ============================================
   Qais Yasir — homepage.css
   Non-responsive component styles.
   Loaded after style.css, before responsive.css
   ============================================ */

/* ---- TYPOGRAPHY ---- */
:root {
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---- LOGO ---- */
.logo-qy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 6px;
    margin-right: 4px;
    font-family: var(--font-display);
    flex-shrink: 0;
}

/* ---- SECTION LABEL (eyebrow text) ---- */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(212,175,55,0.1);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

/* ---- WHO I HELP CARDS ---- */
.who-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: var(--transition);
}
.who-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.who-icon {
    width: 48px;
    height: 48px;
    background: rgba(30,58,95,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.who-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.who-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- SERVICES MORE ---- */
.services-more {
    text-align: center;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 0.93rem;
    color: var(--text-light);
}
.services-more a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted var(--primary);
    transition: var(--transition);
}
.services-more a:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

/* ---- PROCESS SECTION ---- */
.section-process { background: var(--bg-alt); }
.process-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.55;
    line-height: 1;
    margin-bottom: 10px;
}
.process-step h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.process-step p {
    font-size: 0.86rem;
    color: var(--text-light);
    line-height: 1.6;
}
.process-connector {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--border));
    flex-shrink: 0;
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(212,175,55,0.3);
}
.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.18;
    position: absolute;
    top: 8px;
    left: 18px;
    line-height: 1;
    pointer-events: none;
}
.testimonial-stars {
    color: var(--accent);
    font-size: 0.88rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.testimonial-stars i { margin-right: 2px; }
.testimonial-card p {
    color: var(--text);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    font-size: 0.92rem;
    color: var(--primary);
    font-weight: 700;
}
.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}
.testimonials-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ---- SOFTWARE LOGOS ---- */
.software-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 18px;
    transition: var(--transition);
    text-align: center;
}
.software-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.software-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}
.xero-color { background: #13B5EA; }
.qbo-color { background: #2CA01C; }
.dext-color { background: #E31837; }
.hubdoc-color { background: #008FD3; }
.stripe-color { background: #635BFF; }
.excel-color { background: #217346; }

.software-item span {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.88rem;
}
.software-item small {
    font-size: 0.72rem;
    color: var(--text-light);
}

/* ---- CTA SECTION ---- */
.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}
.section-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(212,175,55,0.07);
    border-radius: 50%;
    pointer-events: none;
}
.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.cta-text h2 {
    color: white;
    font-size: 2.1rem;
    margin-bottom: 14px;
}
.cta-text p {
    color: rgba(255,255,255,0.85);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 18px;
    max-width: 540px;
}
.cta-bullets {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cta-bullets li {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cta-bullets li i { color: var(--accent); font-size: 0.82rem; }
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 210px;
}

/* ---- LOGO — unified across all pages ---- */
.logo-unified {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
}

.logo-img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 226px; /* 260 * 52/60 = natural aspect ratio */
}

/* Responsive logo sizing */
@media (max-width: 1100px) {
    .logo-img { height: 48px; }
}

@media (max-width: 768px) {
    .logo-img { height: 42px; }
}

@media (max-width: 480px) {
    .logo-img { height: 36px; }
}

/* Footer logo — white inverted */


/* Hide old logo variants */
.logo-qy { display: none !important; }

/* ---- FOOTER LOGO ---- */

/* ---- FOOTER LOGO — uses logo-white.svg, no filter needed ---- */
.footer-logo {
    display: block;
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    opacity: 0.92;
}

/* ---- VAT REFERRAL BOX — on accounting.html ---- */
.vat-referral-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px;
    margin: 20px 0 36px;
}

.vat-referral-icon {
    width: 44px;
    height: 44px;
    background: rgba(212,175,55,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.vat-referral-content strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.vat-referral-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.vat-referral-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.88rem;
}

@media (max-width: 600px) {
    .vat-referral-box { flex-direction: column; gap: 14px; }
}

/* ---- TRUST BUILDING GRID — replaces fake testimonials ---- */
.trust-building-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 10px;
}

.trust-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: var(--transition);
}

.trust-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.trust-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(30,58,95,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.trust-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.trust-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 14px;
}

.trust-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
    transition: var(--transition);
}

.trust-card-link:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.trust-card-link i { font-size: 0.75rem; }

/* ---- CTA SECTION — one primary action, secondary text links ---- */
.cta-secondary-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.cta-text-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.cta-text-link:hover { color: white; }

.cta-text-link i { font-size: 0.85rem; }

.cta-whatsapp-link { color: #7ee8a2; }
.cta-whatsapp-link:hover { color: #4dde82; }

.cta-divider {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    font-style: italic;
}

@media (max-width: 768px) {
    .cta-secondary-links { justify-content: center; }
}
