/* SmartFence Features Page - Salesforce-inspired Styles */

/* Salesforce Design System Variables */
:root {
    --sf-blue: #0176D3;
    --sf-dark-blue: #014486;
    --sf-light-blue: #E8F3FB;
    --sf-green: #2E844A;
    --sf-text-dark: #181818;
    --sf-text-body: #3E3E3C;
    --sf-text-secondary: #706E6B;
    --sf-border: #DDDBDA;
    --sf-background: #FAFAF9;
    --sf-white: #FFFFFF;
}

body {
    font-family: 'Salesforce Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--sf-text-body);
    line-height: 1.6;
}

/* Navigation - Salesforce Style */
.sf-nav {
    background: var(--sf-white);
    border-bottom: 1px solid var(--sf-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sf-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.sf-logo img {
    height: 42px;
    width: auto;
}

.sf-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.sf-nav-link {
    color: var(--sf-text-body);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.sf-nav-link:hover,
.sf-nav-link.active {
    color: var(--sf-blue);
}

.sf-btn-primary {
    background: var(--sf-blue);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0176D3 0%, #014486 100%);
    color: white;
    padding: 6rem 2rem 6rem;
    margin-top: 64px;
    text-align: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sf-text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--sf-text-body);
    max-width: 700px;
    margin: 0 auto;
}

/* Tab Container */
.tab-container {
    max-width: 1280px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.tabs {
    display: flex;
    gap: 0;
    justify-content: center;
    background: var(--sf-background);
    border-radius: 8px;
    padding: 0.5rem;
    flex-wrap: wrap;
}

.tab {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sf-text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.tab:hover {
    color: var(--sf-blue);
    background: rgba(1, 118, 211, 0.05);
}

.tab.active {
    color: white;
    background: var(--sf-blue);
    box-shadow: 0 2px 8px rgba(1, 118, 211, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--sf-border);
    transition: all 0.2s;
}

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

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--sf-light-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sf-text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--sf-text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--sf-text-body);
}

.benefit-list svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Feature Highlight Section */
.feature-highlight {
    background: var(--sf-background);
    padding: 5rem 2rem;
}

.feature-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    align-items: center;
}

.feature-highlight-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sf-text-dark);
    margin-bottom: 1rem;
}

.feature-highlight-content p {
    font-size: 1.125rem;
    color: var(--sf-text-body);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-highlight-image {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--sf-border);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-highlight-image img {
    max-width: 100%;
    border-radius: 4px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--sf-blue) 0%, var(--sf-dark-blue) 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.sf-btn-white {
    background: white;
    color: var(--sf-blue);
    padding: 0.875rem 2rem;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* Footer */
.sf-footer {
    background: var(--sf-text-dark);
    color: rgba(255,255,255,0.8);
    padding: 3rem 2rem 2rem;
}

.sf-footer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.sf-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.sf-footer h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sf-footer p {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.sf-footer-link {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.sf-footer-link:hover {
    color: white;
}

.sf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sf-footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

.sf-footer-bottom > div {
    display: flex;
    gap: 1.5rem;
}

/* Page Specific Styles */
.benefits-section-wrapper {
    padding: 5rem 2rem;
    background: white;
}

.benefits-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.nav-actions-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-description {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 1.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .sf-nav-links {
        display: none;
    }
    
    .feature-highlight-grid {
        grid-template-columns: 1fr;
    }
    
    .sf-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab {
        width: 100%;
        min-width: auto;
    }
}