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

:root {
    --navy: #1a2332;
    --steel-gray: #4a5568;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --gold: #d4af37;
    --green: #22c55e;
    --text-dark: #1a202c;
    --text-light: #718096;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background-color: var(--navy);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
    padding: 0.25rem 0;
    letter-spacing: -0.02em;
}

.nav-brand a:hover {
    opacity: 0.9;
}

.nav-brand-text {
    display: inline-block;
}

@media (max-width: 768px) {
    .nav-brand a {
        font-size: 1.2rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--gold);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s;
}

/* Pages */
.page {
    display: none;
    min-height: calc(100vh - 200px);
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--steel-gray) 100%);
    position: relative;
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    height: 80%;
    max-height: 600px;
    background-image: url('logo.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    filter: brightness(0.5) contrast(1.4) drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
    mix-blend-mode: screen;
}

.hero-logo {
    display: none; /* Hide the separate logo element since we're using it as background */
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
}


.hero .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background-color: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: var(--green);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(34, 197, 94, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section .container {
    position: relative;
    z-index: 1;
}

.page-header {
    background-color: var(--navy);
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--navy) 0%, #2d3748 100%);
    position: relative;
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.sellers-header {
    background-image: 
        linear-gradient(135deg, rgba(26, 35, 50, 0.92) 0%, rgba(74, 85, 104, 0.92) 100%),
        url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-blend-mode: multiply;
}

.buyers-header {
    background-image: 
        linear-gradient(135deg, rgba(26, 35, 50, 0.92) 0%, rgba(74, 85, 104, 0.92) 100%),
        url('https://images.unsplash.com/photo-1553729459-efe14ef6055d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-blend-mode: multiply;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.content-block p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Work With Grid */
.work-with-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.work-card {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.work-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.work-card p {
    color: var(--text-light);
}

/* Trust Section */
.trust-section {
    background-color: #f7fafc;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
}

.trust-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.trust-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Process Steps */
.process-section {
    margin-bottom: 4rem;
}

.process-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--gold);
    color: var(--navy);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.step-content p {
    color: var(--text-light);
}

.process-note {
    background-color: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    font-style: italic;
    color: var(--text-light);
}

/* Criteria List */
.criteria-list {
    list-style: none;
    margin-top: 1rem;
}

.criteria-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 1.125rem;
}

.criteria-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.process-summary {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.process-summary li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Forms */
.form-section {
    background-color: #f7fafc;
    padding: 3rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.form-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--navy);
}

.business-form {
    max-width: 700px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.field-error {
    display: block;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.field-error:empty {
    display: none;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc2626;
}

.form-hint {
    display: block;
    color: var(--text-light);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--text-light);
}

.nda-note {
    color: var(--text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
    padding: 0.75rem 0;
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.deal-card {
    background-color: #f7fafc;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
}

.deal-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.deal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deal-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
}

.deal-item:last-child {
    border-bottom: none;
}

.deal-item strong {
    color: var(--navy);
    display: inline-block;
    min-width: 120px;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--gold);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: brightness(0) invert(1); /* Makes logo white on dark footer background */
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 50px;
    }
    
    .footer-brand h3 {
        font-size: 1.25rem;
    }
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--navy);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

    .work-with-grid {
        grid-template-columns: 1fr;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
    }

    .step-number {
        align-self: flex-start;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.blog-card-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}

.blog-card h2 a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card h2 a:hover {
    color: var(--gold);
}

.blog-card-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-read-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-read-more:hover {
    color: var(--navy);
}

.blog-post-page {
    min-height: calc(100vh - 200px);
}

.blog-back-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.blog-back-link:hover {
    color: var(--gold);
}

.blog-post-date {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    font-weight: 400;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--navy);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--navy);
}

.blog-post-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.blog-post-content a {
    color: var(--gold);
    text-decoration: none;
}

.blog-post-content a:hover {
    text-decoration: underline;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Enhanced Mobile Styles */
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-logo-img {
        height: 80px;
        max-width: 250px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 3rem 0 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
        padding: 0 1rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .content-block {
        margin-bottom: 2rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .form-section {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .form-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .business-form button[type="submit"] {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    .criteria-list li {
        font-size: 1rem;
        padding: 0.625rem 0;
        padding-left: 1.5rem;
    }
    
    .process-summary li {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .step-content h3 {
        font-size: 1.125rem;
    }
    
    .process-note {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .features-grid,
    .work-with-grid,
    .deals-grid {
        gap: 1.5rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .footer-content {
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hero-logo-img {
        height: 60px;
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
    
    .form-section {
        padding: 1.5rem 1rem;
    }
    
    .content-block h2 {
        font-size: 1.25rem;
    }
    
    .nav-brand a {
        font-size: 1.25rem;
    }
}

