/* 
    Theme: Midnight Red Premium
    Palette:
    Primary Dark: #101D2B (Midnight Navy)
    Secondary Dark: #0C1721
    Primary Red: #D90429 (Vibrant Red)
    Deep Red: #8D0801
    Soft Red: #EF233C
    Light Accent: #EDF2F4
    Text Dark: #2B2D42
    Text Light: #8D99AE
*/

:root {
    --primary-dark: #101D2B;
    --secondary-dark: #0C1721;
    --primary-red: #D90429;
    --deep-red: #8D0801;
    --soft-red: #EF233C;
    --light-accent: #EDF2F4;
    --white: #FFFFFF;
    --text-dark: #2B2D42;
    --text-light: #8D99AE;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-accent);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary-red), var(--soft-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-white { color: var(--white); }
.text-gray { color: var(--text-light); }

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

.section-padding {
    padding: 80px 0;
}

.bg-light { background-color: var(--light-accent); }
.bg-dark { background-color: var(--primary-dark); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--deep-red));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(16, 29, 43, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.highlight {
    color: var(--primary-red);
}

.desktop-nav a {
    color: var(--light-accent);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--primary-red);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    padding: 20px;
    flex-direction: column;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    color: var(--white);
    z-index: 2;
}

.badge {
    display: inline-block;
    background: rgba(217, 4, 41, 0.2);
    color: var(--soft-red);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--primary-red);
}

.hero-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Abstract Visuals */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    top: 0;
    right: 0;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--deep-red);
    bottom: 0;
    left: 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    color: var(--white);
    position: absolute;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.floating-card {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Trust & Service Cards */
.trust-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.glass-effect, .service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.glass-effect:hover, .service-card:hover {
    transform: translateY(-10px);
    border-top: 3px solid var(--primary-red);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    margin-top: 15px;
}

.service-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.service-card li::before {
    content: "•";
    color: var(--primary-red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Cost Table */
.cost-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--glass-border);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--white);
}

.premium-table th, .premium-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.premium-table th {
    color: var(--soft-red);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.cost-highlight-card {
    background: linear-gradient(135deg, rgba(217, 4, 41, 0.1), rgba(141, 8, 1, 0.1));
    border: 1px solid var(--primary-red);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-red);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: auto;
    left: 10px;
    background-color: var(--white);
    border: 4px solid var(--primary-red);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Article Styling */
.article-container {
    max-width: 800px;
}

.seo-article {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.article-content h2 {
    color: var(--primary-dark);
    margin-top: 40px;
    border-left: 4px solid var(--primary-red);
    padding-left: 15px;
}

.article-content h3 {
    color: var(--deep-red);
    margin-top: 30px;
}

.content-link {
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 600;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-dark);
}

.faq-question .icon {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 20px 20px 20px;
    display: none;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    display: block;
}

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

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.glass-effect-red {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 4, 41, 0.3);
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-accent);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    outline: none;
}

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

.full-width {
    width: 100%;
}

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

/* Footer */
footer {
    background: var(--secondary-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

/* Back to Top */
#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-red);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#backToTop:hover {
    background-color: var(--deep-red);
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .mobile-menu.open { display: flex; }
    
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }
    
    .contact-grid { grid-template-columns: 1fr; }
    
    h1 { font-size: 2rem; }
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.delay-1 { animation-delay: 0.2s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}