/* Dillon Engineering - Shared Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4a5b94 0%, #6b7db5 50%, #8fbc8f 100%);
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-links {
    font-size: 1.5rem;
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Page Content */
.page-content {
    margin-top: 100px;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.page-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    margin-top: 100px;
}

/* Typography */
h1 {
    color: #4a5b94;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    color: #4a5b94;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #8fbc8f;
    padding-bottom: 0.5rem;
}

h3 {
    color: #6b7db5;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

ul {
    margin: 1rem 0 1rem 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Content Boxes */
.highlight-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #4a5b94;
}

.notice-box {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.notice-box h3 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.notice-box p {
    color: #856404;
    margin: 0;
}

/* Tables */
.spec-table, .specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.spec-table th, .specs-table th {
    background: linear-gradient(135deg, #4a5b94, #6b7db5);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
}

.spec-table td, .specs-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
}

.spec-table tr:nth-child(even), .specs-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Grids */
.guide-grid, .download-grid, .docs-grid, .news-grid, .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.guide-card, .download-item, .doc-item, .news-item, .feature-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #8fbc8f;
    transition: all 0.3s ease;
}

.guide-card:hover, .download-item:hover, .doc-item:hover, .news-item:hover, .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.guide-card h3, .download-item h3, .doc-item h4, .news-item h3, .feature-item h3 {
    color: #4a5b94;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.doc-item h4 {
    font-size: 1.1rem;
}

.guide-card p, .download-item p, .doc-item p, .news-item p, .feature-item p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

/* News specific */
.news-item {
    background: white;
    border-left: 4px solid #4a5b94;
}

.news-header {
    border-bottom: 2px solid #8fbc8f;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Documentation categories */
.docs-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.docs-category {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.category-title {
    color: #4a5b94;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8fbc8f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Download specific */
.download-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.file-type {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
}

.file-size {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Links and Buttons */
.back-link, .download-link, .guide-link, .doc-link, .news-link, .cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #8fbc8f, #6b7db5);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.guide-link, .doc-link, .news-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-right: 1rem;
    background: #8fbc8f;
}

.back-link:hover, .download-link:hover, .guide-link:hover, .doc-link:hover, .news-link:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.guide-link:hover, .doc-link:hover, .news-link:hover {
    color: white;
    background: #6b7db5;
}

/* Badges and Special Elements */
.performance-badge {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin: 1rem 0;
}

.category-icon {
    font-size: 1.5rem;
}

/* Code Examples */
.code-example {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
}

.tip-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.tip-box strong {
    color: #856404;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .guide-grid, .download-grid, .docs-grid, .news-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .page-content {
        padding: 2rem;
    }
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 4rem 0;
    margin-top: 2rem;
}

/* FFT IP Section */
.fft-ip-section {
    background: white;
    padding: 4rem 0;
}

.fft-ip-section .section-title {
    color: #4a5b94;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.fft-overview {
    text-align: center;
    margin-bottom: 4rem;
}

.fft-intro {
    font-size: 1.3rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

.fft-features h3,
.fft-products h3,
.performance-section h3,
.platforms-section h3,
.fft-documentation h3,
.fft-cta-section h3 {
    color: #4a5b94;
    font-size: 2rem;
    margin: 3rem 0 2rem 0;
    text-align: center;
    border-bottom: 3px solid #8fbc8f;
    padding-bottom: 0.8rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid #e0e7ff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(74, 91, 148, 0.2);
    border-color: #6b7db5;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #8fbc8f;
}

.product-header h4 {
    color: #4a5b94;
    font-size: 1.5rem;
    margin: 0;
}

.product-tag {
    background: linear-gradient(45deg, #8fbc8f, #6b7db5);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-card > p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.product-features li {
    color: #555;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.3rem;
}

.product-features li:before {
    content: "✓";
    color: #8fbc8f;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-link {
    display: inline-block;
    background: linear-gradient(45deg, #8fbc8f, #6b7db5);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.product-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Performance Grid */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.perf-card {
    background: linear-gradient(135deg, #4a5b94, #6b7db5);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.perf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 91, 148, 0.4);
}

.perf-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.perf-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.perf-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

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

.platform-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #8fbc8f;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.platform-card h4 {
    color: #4a5b94;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.platform-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Pricing Form */
.fft-cta-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.cta-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.pricing-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.pricing-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.pricing-form select {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    background-color: white;
}

.pricing-form select:focus {
    outline: none;
    border-color: #6b7db5;
    box-shadow: 0 0 0 3px rgba(107, 125, 181, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 4rem 0;
    margin-top: 2rem;
}

.contact-section .section-title {
    color: #4a5b94;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: none;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #4a5b94;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #8fbc8f;
    padding-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #4a5b94, #6b7db5);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #4a5b94;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #6b7db5;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #4a5b94;
    text-decoration: underline;
}

.contact-details p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-wrapper h3 {
    color: #4a5b94;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #8fbc8f;
    padding-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: #4a5b94;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6b7db5;
    box-shadow: 0 0 0 3px rgba(107, 125, 181, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.submit-btn {
    background: linear-gradient(45deg, #8fbc8f, #6b7db5);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-item:hover {
        transform: translateY(-5px);
    }
}
