/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --background: #ffffff;
    --background-secondary: #f8fafc;
    --background-tertiary: #f1f5f9;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--background-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Header */
.header {
    background-color: white;
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}



.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.phone-link:hover {
    background-color: var(--background-secondary);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-color);
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.benefit-item i {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 1200px; /* increase if you want it wider */
    margin: -120px auto 0; /* nudge image up 40px */
  }
  
  /* Hero Image */
  .hero-image,
  .hero-image-container img,
  .hero-visual img {
    display: block;
    width: 100%;
    height: auto;         /* keep aspect ratio */
    max-width: 1200px;    /* match container, or remove */
    max-height: none;     /* allow it to grow tall */
    object-fit: contain;  /* use cover if you want banner style */
    box-sizing: border-box;
    transform: none;
    overflow: hidden;
  }  
  
  /* Responsive tweak */
  @media (max-width: 768px) {
    .hero-image-container {
      max-width: 100%;
    }
    .hero-image,
    .hero-image-container img,
    .hero-visual img {
      max-width: 100%;
    }
  }  

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-item svg {
    color: var(--success-color);
    width: 16px;
    height: 16px;
}

/* Hero Visual */
.dashboard-mockup {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.mockup-header {
    background: var(--background-secondary);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.mockup-dots span:nth-child(1) { background-color: #ef4444; }
.mockup-dots span:nth-child(2) { background-color: #f59e0b; }
.mockup-dots span:nth-child(3) { background-color: var(--success-color); }

.mockup-title {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 14px;
}

.mockup-content {
    padding: 32px;
}

.data-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.flow-item {
    text-align: center;
}

.flow-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
}

.flow-icon.netsuite {
    background-color: #1e40af;
    color: white;
}

.flow-icon.pipeline {
    background-color: var(--warning-color);
    color: white;
}

.flow-icon.warehouse {
    background-color: var(--success-color);
    color: white;
}

.flow-label {
    font-size: 12px;
    color: var(--text-light);
}

.flow-arrow {
    color: var(--text-light);
    font-size: 20px;
}

.status-indicators {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--success-color);
    font-weight: 500;
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background-color: var(--background-secondary);
}

.comparison h2 {
    text-align: center;
    margin-bottom: 48px;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
}

.comparison-item.treasure-coast {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.comparison-item h3 {
    margin-bottom: 24px;
    text-align: center;
}

.comparison-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.point {
    display: flex;
    align-items: center;
    gap: 12px;
}

.point.negative svg {
    color: var(--danger-color);
}

.point.positive svg {
    color: var(--success-color);
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
    background-color: var(--background-secondary);
}

.case-studies h2 {
    text-align: center;
    margin-bottom: 16px;
}

.case-studies-subtitle {
    text-align: center;
    margin-bottom: 48px;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.case-study {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.case-study-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.case-study-icon i {
    width: 28px;
    height: 28px;
}

.case-study-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.case-study-content h4 {
    color: var(--primary-color);
    margin: 20px 0 8px 0;
    font-size: 1.1rem;
}

.case-study-content h4:first-child {
    margin-top: 0;
}

.case-study-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.case-study-content ul {
    margin: 0;
    padding-left: 20px;
}

.case-study-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.case-study-preview {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.case-study-preview h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.case-study-preview p {
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.dashboard-preview {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: white;
}

.dashboard-image {
    width: 100%;
    height: auto;
    display: block;
}

.dashboard-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
}

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: white;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature {
    text-align: center;
    padding: 32px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature h3 {
    margin-bottom: 16px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.cta-text h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.cta-form-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.alternative-contact {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.alternative-contact p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
}

.contact-option:hover {
    background-color: var(--background-secondary);
    color: var(--primary-color);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--background-secondary);
}

.faq h2 {
    text-align: center;
    margin-bottom: 16px;
}

.faq-subtitle {
    text-align: center;
    margin-bottom: 48px;
    font-size: 1.125rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--background-secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
}

.faq-answer {
    padding: 0 24px 24px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 14px;
}

/* Logo responsive styles */
@media (max-width: 480px) {
    .logo-img {
        height: 60px;
        width: auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-benefits {
        gap: 12px;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    .hero-image {
        max-height: 250px !important;
    }
    
    .stats {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .comparison-table {
        grid-template-columns: 1fr;
    }
    
    .comparison-item.treasure-coast {
        transform: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .case-study {
        padding: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .features,
    .comparison,
    .cta-section,
    .faq {
        padding: 60px 0;
    }
    
    .stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Form Validation */
.form-group input:invalid {
    border-color: var(--danger-color);
}

.form-group input:valid {
    border-color: var(--success-color);
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Success and Error Messages */
.success-message,
.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 420px;
    width: 100%;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.error-message {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.message-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    position: relative;
}

.message-content i[data-feather] {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.message-content h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    opacity: 0.7;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.close-btn i[data-feather] {
    width: 16px;
    height: 16px;
}

.error-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.contact-link i[data-feather] {
    width: 14px;
    height: 14px;
}

/* Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .success-message,
    .error-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .message-content {
        padding: 16px;
        gap: 10px;
    }
    
    .error-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-link {
        justify-content: center;
    }
}

/* Loading button state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading i[data-feather] {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* === MOBILE HERO FIX === */
@media (max-width: 768px) {
    .hero-image-container {
      margin: 0 auto;        /* undo the negative margin on small screens */
      max-width: 100%;
      border-radius: var(--radius-lg);
    }
    .hero-image,
    .hero-image-container img,
    .hero-visual img {
      max-height: none !important;   /* ensure no cap remains */
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  }
  