/* ====================
   Variables CSS
   ==================== */
:root {
    --primary-color: #014B89;
    --secondary-color: #C41F60;
    --text-color: #485668;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

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

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

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

ul {
    list-style-position: inside;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

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

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a:not(.btn-cta-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-cta-nav):hover::after,
.nav-menu a:not(.btn-cta-nav).active::after {
    width: 100%;
}

.btn-cta-nav {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.btn-cta-nav:hover {
    background: #A91850;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ====================
   Buttons
   ==================== */
.btn-primary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #A91850;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.5rem 0;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* ====================
   Hero Section
   ==================== */
.hero {
    background: linear-gradient(135deg, #E8F4F8 0%, #F8F9FA 100%);
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-badge i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ====================
   Sections
   ==================== */
.product-section,
.how-to-use,
.why-choose,
.blog-preview,
.blog-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* ====================
   Product Cards
   ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.product-icon i {
    font-size: 2rem;
    color: var(--white);
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ====================
   Steps Grid
   ==================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step h3 {
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

/* ====================
   Why Choose Section
   ==================== */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefits-list i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
}

/* ====================
   Blog Section
   ==================== */
.blog-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card,
.article-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover,
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-icon,
.article-icon-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.blog-icon i,
.article-icon-large i {
    font-size: 1.8rem;
    color: var(--white);
}

.blog-card h3,
.article-card h2 {
    margin-bottom: 1rem;
}

.blog-card h3 a,
.article-card h2 a {
    color: var(--primary-color);
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ====================
   CTA Section
   ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #023A6B);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: var(--secondary-color);
}

.cta-section .btn-primary:hover {
    background: #A91850;
}

/* ====================
   Page Header
   ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #023A6B);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* ====================
   Article Pages
   ==================== */
.article-header {
    background: linear-gradient(135deg, var(--primary-color), #023A6B);
    color: var(--white);
    padding: 3rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb span {
    opacity: 0.9;
}

.article-header h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.article-header .article-meta {
    color: rgba(255, 255, 255, 0.8);
}

.article-full {
    padding: 4rem 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.method-steps {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.method-steps li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.warning-box,
.tip-box {
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-box {
    background: #FEF3C7;
    border-left: 4px solid #F59E0B;
}

.warning-box i {
    color: #F59E0B;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tip-box {
    background: #DBEAFE;
    border-left: 4px solid #3B82F6;
}

.tip-box i {
    color: #3B82F6;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cta-article {
    background: linear-gradient(135deg, var(--primary-color), #023A6B);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.cta-article h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-article p {
    margin-bottom: 1.5rem;
}

.author-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.author-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-avatar i {
    font-size: 4rem;
    color: var(--primary-color);
}

.author-details h4 {
    margin-bottom: 0.5rem;
}

.author-details p {
    margin-bottom: 0;
}

.related-articles {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-articles h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.related-card i {
    color: var(--secondary-color);
    font-size: 2rem;
    flex-shrink: 0;
}

.related-card h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background: var(--light-bg);
}

.checklist-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.checklist i {
    color: #10B981;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ====================
   Legal Content
   ==================== */
.legal-content {
    padding: 4rem 0;
}

.legal-box {
    max-width: 900px;
    margin: 0 auto;
}

.legal-box h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.info-block {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.update-date {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    color: #6B7280;
}

/* ====================
   Footer
   ==================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.8;
}

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

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

.footer-col ul li a {
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--white);
}

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

.footer-bottom p {
    opacity: 0.8;
    margin-bottom: 0;
}

/* ====================
   Responsive Design
   ==================== */
@media (max-width: 968px) {
    .hero-content,
    .why-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero,
    .product-section,
    .how-to-use,
    .why-choose,
    .blog-preview {
        padding: 2.5rem 0;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta a {
        width: 100%;
        text-align: center;
    }

    .product-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-body {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}