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

:root {
    --primary-blue: #0959aa;
    --dark-text: #131b20;
    --body-text: #212121;
    --light-text: #f0f7ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-gray: #e5e7eb;
    --hover-blue: #0847a3;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--body-text);
    background-color: var(--white);
}

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

/* Header Styles */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--body-text);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--light-text);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--hover-blue);
}

.btn-primary.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--light-text);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--dark-text);
    margin-bottom: 24px;
}

.text-primary {
    color: var(--primary-blue);
}

.hero-description {
    font-size: 18px;
    color: var(--body-text);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 32px;
}

.hero-image {
    text-align: center;
}

.dashboard-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--body-text);
    font-weight: 500;
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.feature-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    color: var(--primary-blue);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--body-text);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.feature-item .feature-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.feature-content p {
    color: var(--body-text);
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
}

/* Highlights Section */
.highlights-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.highlight-card {
    background-color: var(--white);
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.highlight-icon {
    color: var(--primary-blue);
    margin-bottom: 24px;
}

.highlight-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.highlight-card p {
    color: var(--body-text);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-gray);
}

.faq-question {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.faq-question:hover h3 {
    color: var(--primary-blue);
}

.faq-icon {
    color: var(--primary-blue);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--body-text);
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 16px;
}

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

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--light-text);
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-contact p {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-copyright p {
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .intro-section,
    .features-section,
    .highlights-section,
    .faq-section {
        padding: 60px 0;
    }
}

/* Dashboard Preview Styles */
.dashboard-preview {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.dashboard-header {
    background: var(--light-gray);
    padding: 20px;
    border-bottom: 1px solid var(--border-gray);
}

.dashboard-nav {
    display: flex;
    gap: 20px;
}

.nav-item {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--body-text);
}

.nav-item.active {
    background: var(--primary-blue);
    color: white;
}

.dashboard-content {
    padding: 30px;
}

.metric-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 12px;
    color: var(--body-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-area {
    height: 150px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 20px;
}

.chart-bars {
    display: flex;
    gap: 10px;
    align-items: end;
    height: 100%;
}

.bar {
    width: 20px;
    background: linear-gradient(to top, var(--primary-blue), #0a4d8a);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

/* Additional Page Styles */
.pricing-hero, .features-hero, .contact-hero, .product-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a4d8a 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.legal-page {
    padding: 80px 0;
}

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

.legal-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.last-updated {
    color: var(--body-text);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: var(--dark-text);
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-info {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}

.form-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-field:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

/* Mobile responsive additions */
@media (max-width: 768px) {
    .metric-cards {
        grid-template-columns: 1fr;
    }
    
    .dashboard-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-item {
        font-size: 12px;
        padding: 6px 12px;
    }
}
