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

:root {
    --primary: #f39c12;
    --primary-dark: #e67e22;
    --secondary: #3498db;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --gray: #7f8c8d;
    --white: #ffffff;
    --black: #333333;
    --success: #27ae60;
    --danger: #e74c3c;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-menu a.active::after,
.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

/* Typography */
h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.2rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark);
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero h1 {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

/* Grid Layouts */
.model-grid,
.backlink-benefits,
.tech-grid,
.values-grid,
.package-grid,
.blog-grid,
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.model-card,
.benefit,
.tech-category,
.value,
.package,
.blog-preview,
.location {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.model-card:hover,
.benefit:hover,
.package:hover,
.blog-preview:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.model-card h3,
.benefit h3,
.tech-category h3,
.value h3,
.package h3 {
    margin-top: 0;
    color: var(--primary);
}

/* FAQ Styles */
.faq-category {
    margin-bottom: 3rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.faq-item h3 {
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h3 {
    margin-top: 0;
    color: var(--primary);
}

.contact-method a {
    color: var(--dark);
    text-decoration: none;
}

.contact-method a:hover {
    color: var(--primary);
}

/* Blog Styles */
.blog-preview h3 {
    margin-top: 0;
}

.blog-preview h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-preview h3 a:hover {
    color: var(--primary);
}

.post-meta {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.post-meta span {
    margin-right: 1rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Post Page */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.post-content h2 {
    margin-top: 2rem;
}

.post-content h3 {
    margin-top: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0 1rem 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.post-content th,
.post-content td {
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    text-align: left;
}

.post-content th {
    background: var(--light);
    font-weight: 600;
}

.post-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.post-cta h3 {
    color: var(--white);
    margin-top: 0;
}

.post-cta p {
    color: rgba(255,255,255,0.9);
}

.post-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-tags a {
    display: inline-block;
    background: var(--light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--gray);
    margin-right: 0.5rem;
}

.post-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

.post-share a {
    display: inline-block;
    margin-left: 1rem;
    text-decoration: none;
    color: var(--gray);
}

.post-share a:hover {
    color: var(--primary);
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    color: var(--white);
}

.newsletter h2 {
    color: var(--white);
}

.newsletter h2::after {
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 2rem;
}

/* Categories */
.blog-categories {
    margin: 3rem 0;
    text-align: center;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.category-tag {
    display: inline-block;
    background: var(--light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

.category-tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* Packages */
.package {
    text-align: center;
}

.package .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

.package ul {
    list-style: none;
    margin: 1.5rem 0;
}

.package li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-section h3 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .post-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
}
