/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #0596ff;
    --primary-dark: #1d5a96;
    --secondary-color: #fc78a5;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f2efef;
    --bg-white: #ffffff;
    --border-color: #b3b3b3;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===================================
   Layout & Container
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-primary {
    background-color: var(--primary-color);
    color: white;
}

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

/* ===================================
   Header & Navigation
   =================================== */
.header {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    font-size: 24px;
    font-weight: bold;
    color: white;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
}

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

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    padding: 8px 16px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid var(--secondary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 120px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Raleway', sans-serif;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ===================================
   Page Title
   =================================== */
.page-title {
    background-color: var(--bg-light);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-title h1 {
    font-size: 32px;
    color: var(--text-color);
}

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

.section-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.divider {
    width: 120px;
    height: 3px;
    background-color: var(--primary-dark);
    margin: 20px auto;
}

/* ===================================
   Features Grid
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    display: block;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   Feature Detail Pages
   =================================== */
/* ===================================
   Features List (Simplified)
   =================================== */
.features-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.feature-item {
    margin-bottom: 80px;
    scroll-margin-top: 80px; /* Offset for fixed header when using anchors */
}

.feature-item-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-item-text-col {
    order: 1;
}

.feature-item-image-col {
    order: 2;
}

/* Alternate layout for odd items */
.feature-item:nth-child(odd) .feature-item-text-col {
    order: 2;
}

.feature-item:nth-child(odd) .feature-item-image-col {
    order: 1;
}

.feature-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon-large {
    font-size: 64px;
    margin-bottom: 20px;
}

.feature-item-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.feature-item-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.features-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 40px;
    font-style: italic;
}

/* Responsive for features */
@media (max-width: 768px) {
    .feature-item-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-item-text-col,
    .feature-item:nth-child(odd) .feature-item-text-col {
        order: 1;
    }
    
    .feature-item-image-col,
    .feature-item:nth-child(odd) .feature-item-image-col {
        order: 2;
    }
    
    .feature-image {
        max-width: 100%;
    }
    
    .feature-item-title {
        font-size: 24px;
    }
    
    .feature-item-text {
        font-size: 16px;
    }
    
    /* Contact page responsive */
    .contact-info-box {
        padding: 40px 20px;
    }
    
    .contact-icon {
        font-size: 60px;
    }
    
    .contact-heading {
        font-size: 24px;
    }
    
    .contact-description {
        font-size: 16px;
    }
    
    .contact-email {
        font-size: 20px;
    }
    
    .contact-email-section {
        padding: 30px 20px;
    }
    
    .contact-topics {
        padding: 20px;
    }
}

/* Legacy feature-detail styles (keep for compatibility) */
.feature-detail {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.feature-detail:last-child {
    border-bottom: none;
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.feature-detail-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.feature-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-detail-text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
}

.feature-detail-visual,
.feature-placeholder,
.contact-placeholder {
    background: var(--bg-light);
    padding: 80px 40px;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
}

/* ===================================
   Video Section
   =================================== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===================================
   Access Section
   =================================== */
.access-section {
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    color: white;
}

.access-content {
    max-width: 700px;
}

.access-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.access-text {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-download {
    background-color: var(--primary-dark);
    color: white;
    padding: 15px 50px;
}

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

/* ===================================
   Benefits Section
   =================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.benefit-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-text {
    font-size: 14px;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background-color: var(--bg-light);
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text {
    font-size: 18px;
    color: var(--text-color);
}

/* ===================================
   About Page
   =================================== */
.about-grid {
    max-width: 800px;
    margin: 0 auto;
}

.about-heading {
    font-size: 30px;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.about-card {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-card p {
    font-size: 16px;
    line-height: 1.8;
}

.stats-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.stats-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.stats-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.stats-number {
    font-size: 48px;
    font-weight: 700;
}

/* ===================================
   Customers Section
   =================================== */
.customers-section {
    background-color: var(--bg-white);
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.customer-item {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===================================
   Contact Form
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info Page (Simple Email Display) */
.contact-content-center {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-info-box {
    background: white;
    border-radius: 12px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.contact-icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.contact-heading {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.contact-email-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.contact-label {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-email {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    transition: var(--transition);
}

.contact-email:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-note {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid var(--secondary-color);
}

.contact-note p {
    margin: 0;
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-topics {
    text-align: left;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.contact-topics .contact-label {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    font-size: 16px;
    color: var(--text-color);
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background-color: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-actions {
    text-align: right;
    margin-top: 20px;
}

.form-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .feature-detail-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-visual {
        display: none;
    }

    .cta-content {
        justify-content: center;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

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

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

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