/* TruePoint Financial Services - Modern Premium Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0f0518;
    --bg-card: rgba(20, 10, 30, 0.75);
    --bg-card-hover: rgba(30, 15, 45, 0.85);
    --primary: #5b21b6;
    --primary-glow: #7c3aed;
    --text-main: #ffffff;
    --text-muted: #e2e8f0;
    --gold-1: #fbbf24;
    --gold-2: #d97706;
    --gold-3: #b45309;
    --gradient-gold: linear-gradient(135deg, #fcd34d 0%, #fbbf24 25%, #d97706 75%, #b45309 100%);
    --gradient-text: linear-gradient(to right, #fff 40%, #fcd34d 100%);
    --border-glass: rgba(255, 255, 255, 0.15);
    --shadow-glow: 0 0 30px rgba(91, 33, 182, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    /* Lighter overlay as requested (0.75 instead of 0.9 + gradient) */
    background-image:
        linear-gradient(rgba(10, 2, 20, 0.8), rgba(20, 5, 35, 0.85)),
        url('bg-money.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

.text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.highlight-gold {
    color: var(--gold-1);
    font-weight: 700;
}

.center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #381600;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.5);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.7);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--gold-1);
    color: var(--gold-1);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(251, 191, 36, 0.2);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 2, 20, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.nav-container nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-icon {
    color: var(--gold-1);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-btn {
    padding: 8px 24px;
    font-size: 0.85rem;
}

.mobile-only {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: var(--gold-1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Hero Visuals - Floating Images */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: absolute;
    animation: pulse 5s infinite ease-in-out;
}

.float-img {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.float-img:hover {
    transform: scale(1.1);
    border-color: var(--gold-1);
    z-index: 10;
}

/* Positioning the 5 floating images around the circle */
.img-1 {
    top: 0%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
    width: 240px;
    height: 240px;
}

.img-2 {
    top: 25%;
    left: -5%;
    animation: float 7s ease-in-out infinite 1s;
}

.img-3 {
    bottom: 20%;
    right: 5%;
    animation: float 5s ease-in-out infinite 2s;
    width: 220px;
    height: 220px;
}

.img-4 {
    bottom: 5%;
    left: 10%;
    animation: float 8s ease-in-out infinite 0.5s;
    width: 180px;
    height: 180px;
}

.img-5 {
    top: 50%;
    right: -10%;
    animation: float 6s ease-in-out infinite 1.5s;
    width: 160px;
    height: 160px;
}

/* Features */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

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

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

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    height: 100%;
}

.glass-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.feature-card .icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.6), rgba(46, 16, 101, 0.6));
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 2rem;
    color: var(--text-main);
}

.glass-card:hover .icon-box {
    background: var(--gradient-gold);
}

.glass-card:hover .icon-box i {
    color: #381600;
}

/* Testimonials */
.testimonials {
    background: rgba(0, 0, 0, 0.2);
    /* Slight darkening for separation */
}

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

.testimonial-card {
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 2rem;
    color: var(--gold-1);
    opacity: 0.5;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-1);
}

.client-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.stars {
    color: var(--gold-1);
    font-size: 0.8rem;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.doc-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(251, 191, 36, 0.3);
}

.doc-card i {
    font-size: 2.5rem;
    color: var(--gold-1);
    margin-bottom: 15px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.3));
}

.doc-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.doc-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-wrapper {
    padding: 60px;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Space between header and body */
}

/* Decorate contact card */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-gold);
}

.contact-header-block h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    line-height: 1.1;
}

.contact-header-block p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.contact-body-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    /* CRITICAL: Aligns form top with phone top */
}

.contact-left-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateX(5px);
}

.contact-link span {
    word-break: break-all;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #381600;
    box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
    flex-shrink: 0;
}

/* QR Code */
.qr-placeholder {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.qr-placeholder img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin-bottom: 25px;
    /* Spacing */
}

.qr-placeholder span {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-1);
    font-weight: 600;
}

/* Form Styling */
.contact-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-1);
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-1);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
}

.form-group ::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 0, 10, 0.9);
    margin-top: 0;
}

/* Keyframes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .container {
        padding: 0 20px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(10, 2, 20, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        overflow: hidden;
        transition: height 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        height: 100vh;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-only {
        display: inline-flex;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    /* Hide the floating images on mobile to prevent clutter */
    .cta-group {
        justify-content: center;
    }

    .features-grid,
    .documents-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        gap: 40px;
    }

    .contact-body-grid {
        grid-template-columns: 1fr;
    }
}