/* ============================================
   CSS VARIABLES & RESET
   ============================================ */

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --gradient: linear-gradient(135deg, #3498db, #2c3e50);
    --warning: #f39c12;
    --success: #27ae60;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

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

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background: var(--gradient);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

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

.header-content.center {
    justify-content: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.logo-footer {
    font-size: 24px;
    margin-bottom: 20px;
    display: inline-block;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-menu a.active, .nav-menu a.active:hover {
    color: var(--text-light);
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gradient);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* ============================================
   HERO & PAGE HEADERS
   ============================================ */

.hero {
    background: var(--gradient);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light);
    clip-path: ellipse(70% 50% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-header {
    background: var(--gradient);
    color: var(--text-light);
    padding: 80px 0 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn {
    background-color: var(--accent);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn:hover {
    background-color: #d63b2a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* ============================================
   SECTION LAYOUTS
   ============================================ */

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: "";
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #777;
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ============================================
   CONTENT CONTAINERS
   ============================================ */

.terms-content,
.refund-content,
.privacy-content,
.content-section,
.contact-content {
    padding: 80px 0;
}

.terms-container,
.refund-container,
.privacy-container,
.content-container,
.contact-section {
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 60px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h2 {
    color: var(--primary);
    font-size: 32px;
    margin: 30px 0 15px;
    font-weight: 600;
    text-align: center;
}

h2:first-of-type {
    margin-top: 0;
}

p {
    margin-bottom: 20px;
    color: #555;
}

ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
    color: #555;
}

strong {
    color: var(--primary);
    font-weight: 600;
}

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

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

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    flex-basis: calc(33.333% - 30px);
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover:before {
    opacity: 1;
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    background-color: #f8f9fa;
    position: relative;
}

.pricing:before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #f8f9fa;
    clip-path: ellipse(70% 50% at 50% 0);
}

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-plan {
    flex-basis: calc(25% - 30px);
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-plan:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-plan.featured:before {
    content: "Best Value";
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent);
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    transform: rotate(45deg);
    z-index: 1;
}

.plan-header {
    background: var(--gradient);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.plan-price {
    font-size: 40px;
    font-weight: 800;
    margin: 15px 0;
    position: relative;
    z-index: 1;
}

.plan-price span {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.8;
}

.plan-features {
    padding: 30px;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.plan-features li:before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.plan-button {
    text-align: center;
    margin-top: 20px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.15);
    border-color: var(--secondary);
}

.contact-item-icon {
    background: var(--secondary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.contact-item-content h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-item-content p {
    color: #666;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.contact-item-content a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.contact-item-content a:hover {
    color: var(--accent);
}

/* ============================================
   SPECIAL BOXES & HIGHLIGHTS
   ============================================ */

.last-updated {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 30px;
    color: var(--secondary);
}

.accent-box,
.policy-highlight {
    background: rgba(52, 152, 219, 0.05);
    border-left: 3px solid var(--secondary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.accent-box h3,
.policy-highlight h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 18px;
}

.info-box {
    background: rgba(243, 156, 18, 0.05);
    border-left: 3px solid var(--warning);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.info-box h3 {
    color: var(--warning);
    margin-bottom: 10px;
    font-size: 18px;
}

.warning-box {
    background: rgba(231, 76, 60, 0.05);
    border-left: 3px solid var(--accent);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
    position: relative;
}

.warning-box::before {
    content: "⚠";
    position: absolute;
    top: 25px;
    left: -20px;
    background: var(--accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.warning-box h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
}

.no-refund-box {
    background: linear-gradient(
        135deg,
        rgba(231, 76, 60, 0.1),
        rgba(231, 76, 60, 0.05)
    );
    border: 2px solid var(--accent);
    padding: 30px;
    margin: 40px 0;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.no-refund-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(231, 76, 60, 0.1) 50%,
        transparent 70%
    );
    z-index: 1;
}

.no-refund-box .content {
    position: relative;
    z-index: 2;
}

.no-refund-box h3 {
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.no-refund-box p {
    color: var(--accent);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.business-hours {
    background: rgba(39, 174, 96, 0.1);
    border: 2px solid var(--success);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.business-hours h3 {
    color: var(--success);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.business-hours p {
    color: var(--primary);
    font-weight: 500;
    margin: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.section-divider {
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 20px auto;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--dark);
    color: var(--text-light);
    padding: 40px 0 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .feature-card {
        flex-basis: calc(50% - 20px);
    }

    .pricing-plan {
        flex-basis: calc(50% - 20px);
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu.show {
        display: block;
    }

    .terms-container,
    .refund-container,
    .privacy-container,
    .content-container,
    .contact-section {
        padding: 40px 30px;
        margin-bottom: 30px;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 250px;
        margin: 0 auto;
    }

    h2 {
        font-size: 28px;
    }

    .terms-content,
    .refund-content,
    .privacy-content,
    .content-section,
    .contact-content {
        padding: 60px 0;
    }

    .section {
        padding: 70px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .feature-card {
        flex-basis: 100%;
    }

    .pricing-plan {
        flex-basis: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .contact-item-icon {
        margin: 0 auto 20px;
    }

    .no-refund-box h3 {
        font-size: 20px;
    }

    .no-refund-box p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 16px;
    }
}