/* ============================================
   GOOD SUCCESS - PREMIUM FINANCIAL ADVISOR V3
   Merging V2 Design with V1 Philosophy Section
   DATABASE INTEGRATION READY
   ============================================ */

/* === DESIGN TOKENS === */
:root {
    /* Brand Colors */
    --primary: #2772B2;
    --primary-light: #2787AE;
    --teal: #2BA6A2;
    --mint: #2FBF95;
    --green: #37C973;

    /* Neutrals */
    --black: #0A0E27;
    --dark: #1A1F3A;
    --charcoal: #2D3548;
    --gray: #505668;
    --light-gray: #A0A8B8;
    --silver: #E8ECF2;
    --off-white: #F5F7FA;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(120deg, #2772B2 0%, #2BA6A2 100%);
    --gradient-accent: linear-gradient(120deg, #2FBF95 0%, #37C973 100%);
    --gradient-dark: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(39, 114, 178, 0.95) 0%, rgba(43, 166, 162, 0.95) 100%);

    /* Typography */
    --font-primary: 'Montserrat', -apple-system, system-ui, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Animation */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-elegant: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 200ms var(--ease-elegant);
    --transition-base: 350ms var(--ease-elegant);
    --transition-slow: 600ms var(--ease-smooth);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 14, 39, 0.04);
    --shadow-md: 0 4px 16px rgba(10, 14, 39, 0.08);
    --shadow-lg: 0 8px 32px rgba(10, 14, 39, 0.12);
    --shadow-xl: 0 16px 48px rgba(10, 14, 39, 0.16);
    --shadow-glow: 0 0 40px rgba(39, 114, 178, 0.25);

    /* Effects */
    --blur-glass: 20px;
    --border-radius: 16px;
}

/* === RESET & BASE === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === PRELOADER === */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    animation: pulse 2s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    animation: loading 2s ease-in-out forwards;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

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

.logo img {
    height: 65px;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: scale(1.05);
}

.navbar.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-base);
}

.navbar.scrolled .nav-link {
    color: var(--charcoal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(39, 114, 178, 0.4), 0 0 48px rgba(43, 166, 162, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(39, 114, 178, 0.5), 0 0 60px rgba(43, 166, 162, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

.navbar.scrolled .menu-toggle span {
    background: var(--charcoal);
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(var(--blur-glass));
        padding: var(--space-xl);
        gap: var(--space-md);
        transform: translateY(-100vh);
        transition: transform var(--transition-slow);
        box-shadow: var(--shadow-lg);
    }

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

    .nav-links .nav-link {
        color: var(--charcoal);
    }

    .menu-toggle {
        display: flex;
    }
}

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

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-particles::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(39, 114, 178, 0.2) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.hero-particles::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(43, 166, 162, 0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: float-slow 25s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    animation: slideInUp 0.8s var(--ease-elegant);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(55, 201, 115, 0.7); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(55, 201, 115, 0); }
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.hero-heading .line {
    display: block;
    animation: slideInUp 0.8s var(--ease-elegant) backwards;
}

.hero-heading .line:nth-child(1) { animation-delay: 0.1s; }
.hero-heading .line:nth-child(2) { animation-delay: 0.2s; }
.hero-heading .line:nth-child(3) { animation-delay: 0.3s; }
.hero-heading .line:nth-child(4) { animation-delay: 0.4s; }

.hero-heading .accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    animation: slideInUp 0.8s var(--ease-elegant) 0.5s backwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: slideInUp 0.8s var(--ease-elegant) 0.6s backwards;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(39, 114, 178, 0.4), 0 0 48px rgba(43, 166, 162, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(39, 114, 178, 0.5), 0 0 60px rgba(43, 166, 162, 0.4);
}

.btn-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

/* === HERO VISUAL === */
.hero-visual {
    position: relative;
    height: 600px;
    animation: slideInUp 0.8s var(--ease-elegant) 0.7s backwards;
}

.visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation-duration: 25s;
}

.ring-2 {
    width: 400px;
    height: 400px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.ring-3 {
    width: 500px;
    height: 500px;
    animation-duration: 35s;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.center-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 10;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 0;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-icon {
    font-size: 2rem;
    filter: grayscale(1) brightness(2);
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.card-label {
    font-size: 0.85rem;
    color: var(--light-gray);
}

.scroll-prompt {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--light-gray);
    font-size: 0.9rem;
    animation: slideInUp 0.8s var(--ease-elegant) 0.8s backwards;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
    margin-top: var(--space-xs);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-visual {
        height: 400px;
    }

    .ring-1, .ring-2, .ring-3 {
        width: 250px;
        height: 250px;
    }

    .floating-card {
        font-size: 0.85rem;
        padding: var(--space-sm);
    }
}

/* === SECTION STYLES === */
section {
    padding: var(--space-4xl) 0;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.section-label.light {
    color: var(--mint);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-heading.light {
    color: var(--white);
}

.section-subheading {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.7;
}

/* === EXPERTISE SECTION === */
.expertise {
    background: var(--off-white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-lg);
}

.expertise-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    transition: all var(--transition-slow);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(39, 114, 178, 0.1);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: transform var(--transition-base);
}

.expertise-card:hover .card-icon-wrapper {
    transform: rotate(5deg) scale(1.1);
}

.card-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: var(--space-sm);
}

.card-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.card-features {
    margin-bottom: var(--space-md);
}

.card-features li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    position: relative;
    font-size: 0.95rem;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.card-link:hover {
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* === ABOUT SECTION (V1 PHILOSOPHY with V2 styling) === */
.about {
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.about-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    transition: transform var(--transition-slow);
    object-fit: cover;
    object-position: center;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.05);
}

.about-img-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.badge-content {
    text-align: center;
    color: var(--white);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.about-content {
    max-width: 600px;
}

.about-text {
    color: var(--light-gray);
    margin-bottom: var(--space-md);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-features {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--light-gray);
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-badge {
        bottom: 20px;
        right: 20px;
        width: 140px;
        height: 140px;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-text {
        font-size: 0.75rem;
    }
}

/* === INSIGHTS SECTION === */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.insight-card {
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(39, 114, 178, 0.2);
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -1.5rem;
}

.insight-quote {
    font-size: 1.1rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.insight-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    flex-shrink: 0;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.author-name {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--gray);
}

.insight-rating {
    color: #FFB800;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* === CONTACT SECTION === */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.05rem;
    color: var(--black);
}

.minimum-requirement {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(39, 114, 178, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    color: var(--charcoal);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--silver);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--charcoal);
    transition: all var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(39, 114, 178, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* === FOOTER === */
.footer {
    background: var(--black);
    color: var(--light-gray);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 100px;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 350px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.footer-col h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

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

.footer-col ul li a {
    color: var(--light-gray);
    transition: color var(--transition-base);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--mint);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
}

.footer-copyright {
    margin-bottom: var(--space-sm);
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: var(--gray);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }
}

/* === SCROLL ANIMATIONS === */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-elegant);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* === DATABASE INTEGRATION NOTES ===
 *
 * Future Database Schema Considerations:
 *
 * 1. Users Table:
 *    - user_id (primary key)
 *    - email, password_hash
 *    - account_type (client, advisor, admin)
 *    - created_at, last_login
 *
 * 2. Client_Accounts Table:
 *    - account_id (primary key)
 *    - user_id (foreign key)
 *    - account_value
 *    - portfolio_allocation (JSON)
 *    - risk_profile
 *
 * 3. Transactions Table:
 *    - transaction_id (primary key)
 *    - account_id (foreign key)
 *    - transaction_type
 *    - amount, date
 *    - description
 *
 * 4. Financial_Goals Table:
 *    - goal_id (primary key)
 *    - user_id (foreign key)
 *    - goal_type
 *    - target_amount, target_date
 *    - current_progress
 *
 * 5. Content_Management:
 *    - Services, testimonials, company stats
 *    - All editable via admin dashboard
 *
 * API Endpoints to Implement:
 * - /api/auth/login, /api/auth/register
 * - /api/user/profile, /api/user/dashboard
 * - /api/accounts/summary, /api/accounts/transactions
 * - /api/goals/list, /api/goals/create
 * - /api/contact/submit (form handling)
 */
