/* ==========================================================================
   TrustPointFin - Premium Stylesheet
   ========================================================================== */

/* --- Variables & Theme --- */
:root {
    --primary-color: #0A192F;       /* Deep Navy Blue */
    --secondary-color: #172A45;     /* Lighter Navy */
    --accent-color: #FACC15;        /* Premium Gold */
    --accent-hover: #EAB308;        /* Darker Gold */
    --text-main: #334155;           /* Slate Gray for readability */
    --text-light: #94A3B8;
    --text-white: #F8FAFC;
    --bg-main: #FFFFFF;
    --bg-light: #F1F5F9;
    --success: #10B981;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #0A192F 0%, #172A45 100%);
    --accent-gradient: linear-gradient(135deg, #FACC15 0%, #F59E0B 100%);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-gold: 0 4px 14px 0 rgba(250, 204, 21, 0.39);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.text-white { color: var(--text-white); }
.text-success { color: var(--success); }

/* Typography Utilities */
.highlight { color: var(--accent-color); }
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(250, 204, 21, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn-white {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
    padding: 20px 0;
}

.navbar.scrolled {
    background: var(--primary-color);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.navbar.scrolled .logo-text {
    color: var(--text-white);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-white);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-white);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Background graphics */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250,204,21,0.15) 0%, rgba(10,25,47,0) 70%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 20px 20px;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 3;
    align-items: center;
}

.hero-text {
    color: var(--text-white);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    color: var(--accent-color);
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat-item h2.stat-number {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Glassmorphism Card in Hero */
.hero-image {
    position: relative;
    perspective: 1000px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.glass-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.card-header {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 150px;
    margin-bottom: 2rem;
}

.bar {
    width: 40px;
    background: var(--accent-gradient);
    border-radius: 4px 4px 0 0;
    animation: growUp 1.5s ease-out forwards;
    opacity: 0;
}

.bar-1 { height: 40%; animation-delay: 0.1s; }
.bar-2 { height: 70%; animation-delay: 0.3s; }
.bar-3 { height: 50%; animation-delay: 0.5s; }
.bar-4 { height: 90%; animation-delay: 0.7s; }
.bar-5 { height: 60%; animation-delay: 0.9s; }

@keyframes growUp {
    from { height: 0; opacity: 0; }
    to { opacity: 1; }
}

.card-footer {
    display: flex;
    justify-content: space-between;
    color: var(--text-white);
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- About Section --- */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--bg-main);
}

.experience-badge .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.feature-list i {
    color: var(--success);
    font-size: 1.25rem;
}

/* --- Services Section --- */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary-gradient);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--text-white);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.service-card:hover .icon-wrapper {
    background: var(--accent-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    transition: color var(--transition-normal);
}

.service-card p {
    color: var(--text-light);
    transition: color var(--transition-normal);
}

/* --- CTA Section --- */
.cta-section {
    background: var(--primary-gradient);
    padding: 5rem 0;
    color: var(--text-white);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 20px 20px;
}

.cta-content h2 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

/* --- Contact Section --- */
.contact {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 0.25rem;
}

.info-text p, .info-text a {
    color: var(--text-light);
    font-weight: 500;
}

.info-text a:hover {
    color: var(--accent-color);
}

.contact-form-container {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: var(--bg-light);
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-main);
}

/* --- Footer --- */
.footer {
    background: #060F1E;
    color: var(--text-light);
    padding-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-desc {
    margin: 1.5rem 0;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

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

.footer-bottom {
    background: #040A14;
    padding: 1.5rem 0;
    text-align: center;
}

.disclaimer {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.7);
}

::placeholder {
    color: #64748b;
    opacity: 1;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 { font-size: 2.8rem; }
    
    .hero-text p { margin: 0 auto 2rem; }
    
    .hero-buttons { justify-content: center; }
    
    .stats { justify-content: center; }
    
    .about-grid { grid-template-columns: 1fr; }
    
    .contact-grid { grid-template-columns: 1fr; }
    
    .cta-container { flex-direction: column; text-align: center; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    
    .hamburger { display: block; }
    
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    
    .hero-text h1 { font-size: 2.2rem; }
    
    .stats { flex-wrap: wrap; gap: 1.5rem; }
    
    .section-title { font-size: 2rem; }
}
