/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Mulish', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===== COLOR PALETTE ===== */
:root {
    --primary: #520E41;
    --primary-light: #6B1D56;
    --hero-bg: #B9DBE7;
    --light-purple: #E0D8EB;
    --lighter-purple: #E0CAEF;
    --light-gray: #F8F8F8;
    --medium-gray: #F3F3F3;
    --accent-green: #00CE35;
    --accent-orange: #FF6B35;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --white: #fff;
    --yellow-soft: #FFDDA0;
    --green-soft: #D4EDDA;
    --blue-soft: #D6EAF8;
    --pink-soft: #FCE4EC;
    --mint-soft: #E0F2E9;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--white);
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}
.top-bar a { color: var(--primary); font-weight: 600; transition: opacity 0.3s; }
.top-bar a:hover { opacity: 0.7; }
.top-bar-right { display: flex; gap: 24px; align-items: center; }
.top-bar-right a { color: #555; font-weight: 500; }

/* ===== MAIN NAV ===== */
.main-nav {
    background: var(--white);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}
.logo span { font-weight: 300; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links > a, .nav-links > .dropdown > a {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
}
.nav-links > a:hover, .nav-links > .dropdown:hover > a { color: var(--primary); }
.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}
.nav-links > a:hover::after { width: 100%; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 16px 0;
    z-index: 1001;
    margin-top: 12px;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: all 0.2s;
}
.dropdown-content a:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: 28px;
}
.dropdown-content .dd-label {
    padding: 8px 24px 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    font-weight: 700;
}
.dropdown-content hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 8px 0;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(82,14,65,0.3);
}
.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    cursor: pointer;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-sm { padding: 10px 24px; font-size: 13px; }
.btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid var(--white);
    cursor: pointer;
}
.btn-white:hover {
    background: transparent;
    color: var(--white);
}

/* ===== PAGE HERO (for sub-pages) ===== */
.page-hero {
    padding: 80px 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.page-hero-content { max-width: 560px; z-index: 2; }
.page-hero .badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 16px;
}
.page-hero .subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 17px;
    color: #555;
    margin-bottom: 28px;
    line-height: 1.7;
}
.page-hero-icon {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--primary);
    opacity: 0.5;
}
.hero-rating {
    margin-top: 8px;
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

/* ===== STICKY PRODUCT BAR ===== */
.product-bar {
    background: var(--white);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 72px;
    z-index: 999;
}
.product-bar h3 { font-size: 18px; font-weight: 800; color: var(--text-dark); }
.product-bar .price-group { display: flex; align-items: center; gap: 12px; }
.product-bar .old-price { text-decoration: line-through; color: #999; font-size: 16px; }
.product-bar .new-price { font-size: 22px; font-weight: 800; color: var(--primary); }

/* ===== FEATURE CARDS (product pages) ===== */
.feature-cards {
    padding: 60px 40px;
    background: var(--white);
}
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-card-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}
.feature-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.feature-card p { font-size: 14px; color: var(--text-gray); line-height: 1.6; }
.feature-card a { color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 8px; display: inline-block; }

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.section-header p {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 80px 40px;
}
.content-section.alt-bg { background: var(--light-gray); }
.content-section.dark-bg { background: var(--primary); color: var(--white); }
.content-section.dark-bg h2 { color: var(--white); }
.content-section.blue-bg { background: var(--hero-bg); }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.two-col.reversed { direction: rtl; }
.two-col.reversed > * { direction: ltr; }
.two-col h2 { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.two-col p { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 16px; }
.two-col-image {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

/* ===== GRID LAYOUTS ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* ===== CARDS ===== */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.card p { font-size: 14px; color: var(--text-gray); line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}
.testimonial-card .quote { font-size: 16px; font-style: italic; color: #444; line-height: 1.7; margin-bottom: 16px; }
.testimonial-card .author { font-size: 14px; font-weight: 700; color: var(--primary); }

/* ===== STATS ===== */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat .number { font-size: 48px; font-weight: 800; color: var(--primary); }
.stat .label { font-size: 14px; color: var(--text-gray); font-weight: 600; }

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 14px;
}
.comparison-table th {
    background: var(--primary);
    color: var(--white);
    padding: 16px;
    font-weight: 700;
    text-align: center;
}
.comparison-table th:first-child { text-align: left; border-radius: 8px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 8px 0 0; }
.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.comparison-table td:first-child { text-align: left; font-weight: 600; }
.comparison-table tr:nth-child(even) { background: var(--light-gray); }
.comparison-table .check { color: var(--accent-green); font-size: 18px; }
.comparison-table .cross { color: #ccc; font-size: 18px; }

/* ===== PROCESS / STEPS ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 16px;
    border: 2px solid rgba(255,255,255,0.3);
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; opacity: 0.85; }

/* ===== FAQ ===== */
.faq-section { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    cursor: pointer;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}
.faq-question .toggle {
    font-size: 24px;
    color: #999;
    transition: transform 0.3s;
    min-width: 24px;
    text-align: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; padding-top: 16px; }
.faq-item.active .toggle { transform: rotate(45deg); }

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== BLOG GRID ===== */
.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.blog-card-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
}
.blog-card-content { padding: 24px; }
.blog-card-content .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}
.blog-card-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.blog-card-content p { font-size: 13px; color: var(--text-gray); line-height: 1.6; }

/* ===== TEAM / PROFILE CARDS ===== */
.profile-card {
    text-align: center;
    padding: 32px 24px;
}
.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
}
.profile-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.profile-card .role { font-size: 13px; color: var(--text-gray); margin-bottom: 12px; }
.profile-card p { font-size: 13px; color: #555; }

/* ===== PRICE CARD ===== */
.price-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 2px solid #eee;
    transition: all 0.3s;
}
.price-card:hover { border-color: var(--primary); }
.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(82,14,65,0.15);
    transform: scale(1.03);
}
.price-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.price-card .tagline { font-size: 14px; color: var(--text-gray); margin-bottom: 24px; }
.price-card .price { font-size: 42px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.price-card .old-price { text-decoration: line-through; color: #aaa; font-size: 18px; }
.price-card ul { text-align: left; margin: 24px 0; }
.price-card ul li { padding: 8px 0; font-size: 14px; color: #555; border-bottom: 1px solid #f0f0f0; }
.price-card ul li i { color: var(--accent-green); margin-right: 8px; }

/* ===== FOOTER ===== */
.footer {
    background: var(--light-gray);
    padding: 60px 40px 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-gray); margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: #ddd;
    display: flex; align-items: center; justify-content: center; color: #555; font-size: 16px; transition: all 0.3s;
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 12px;
    color: #999;
}
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: #999; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ===== MOBILE NAV ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--white);
    z-index: 9999;
    padding: 80px 40px 40px;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { font-size: 18px; font-weight: 700; color: var(--primary); }
.mobile-menu .mobile-sub { padding-left: 20px; }
.mobile-menu .mobile-sub a { font-size: 15px; font-weight: 500; color: #555; }
.mobile-close { position: absolute; top: 20px; right: 30px; font-size: 30px; cursor: pointer; color: var(--primary); }

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    .page-hero { flex-direction: column; padding: 40px 20px; min-height: auto; }
    .page-hero-content { max-width: 100%; text-align: center; }
    .page-hero h1 { font-size: 32px; }
    .page-hero-icon { display: none; }
    .two-col { grid-template-columns: 1fr; gap: 30px; }
    .two-col.reversed { direction: ltr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .container { padding: 0 20px; }
    .content-section { padding: 50px 20px; }
    .stats-row { gap: 30px; }
    .comparison-table { font-size: 12px; }
    .product-bar { flex-direction: column; gap: 12px; text-align: center; }
}
