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

:root {
    --primary: #E8505B;
    --primary-dark: #D63E49;
    --primary-light: #FEE2E2;
    --gradient: linear-gradient(135deg, #E8505B 0%, #F4A261 100%);
    --gradient-hero: linear-gradient(135deg, #E8505B 0%, #F0866A 50%, #F4A261 100%);
    --dark: #1F2937;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --white: #FFFFFF;
    --bg-light: #FFF5F5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 80, 91, 0.4);
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.4);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

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

.nav-btn {
    padding: 10px 24px;
    font-size: 14px;
}

.navbar:not(.scrolled) .nav-btn {
    background: var(--white);
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    padding: 120px 20px 60px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
}

.cloud-1 {
    width: 200px;
    height: 60px;
    top: 15%;
    left: 5%;
    animation: floatCloud 8s ease-in-out infinite;
}

.cloud-2 {
    width: 150px;
    height: 45px;
    top: 25%;
    right: 10%;
    animation: floatCloud 10s ease-in-out infinite 2s;
}

.cloud-3 {
    width: 180px;
    height: 50px;
    top: 40%;
    left: 15%;
    animation: floatCloud 12s ease-in-out infinite 4s;
}

@keyframes floatCloud {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-illustration {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 40px auto 0;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 16px;
}

/* ===== Features ===== */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 16px;
    background: var(--white);
    transition: var(--transition);
}

.feature-card.featured {
    background: var(--bg-light);
    box-shadow: var(--shadow);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 15px;
}

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.services-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.services-content p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

.stats {
    display: flex;
    gap: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-icon {
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
}

.services-illustration svg {
    width: 100%;
    max-width: 500px;
}

/* ===== Services Detail ===== */
.services-detail {
    padding: 100px 0;
    background: var(--white);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.services-detail-illustration svg {
    width: 100%;
    max-width: 500px;
}

.services-detail-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.services-detail-content p {
    color: var(--gray-500);
    margin-bottom: 28px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--gray-700);
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Pricing ===== */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 0 0 36px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

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

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
}

.pricing-header {
    background: var(--gradient-hero);
    padding: 40px 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -20px;
    right: -20px;
}

.pricing-header::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: 10px;
    left: 20px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
}

.price-amount {
    font-size: 56px;
}

.price-period {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.8;
}

.plan-name {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

.pricing-features {
    padding: 0 30px;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 15px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--primary);
    font-weight: 700;
}

.pricing-features .cross {
    color: var(--gray-400);
    font-size: 18px;
}

.pricing-features .excluded {
    color: var(--gray-400);
}

/* Unavailable ribbon */
.unavailable-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
}

/* remove if it becomes available */
.unavailable-ribbon span {
    display: block;
    position: absolute;
    top: 30px;
    right: -50px;
    width: 180px;
    padding: 6px 0;
    background: #B91C1C;
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.4);
}

.pricing-card.unavailable {
    opacity: 0.65;
    pointer-events: none;
    position: relative;
}

.pricing-card.unavailable .pricing-header {
    filter: grayscale(0.4);
}

.pricing-card.unavailable .btn {
    background: var(--gray-400);
    cursor: not-allowed;
}

/* ---------------------------------- */

.pricing-card .btn {
    margin-bottom: 16px;
}

.pricing-note {
    font-size: 13px;
    color: var(--gray-400);
    padding: 0 30px;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonial-slider {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-icon {
    margin-bottom: 32px;
}

.testimonials-track {
    position: relative;
    min-height: 200px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-text {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-light);
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 15px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-500);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--gray-500);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: var(--primary);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ===== CTA ===== */
.cta {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta .cloud-1 {
    top: 20%;
    left: 8%;
}

.cta .cloud-2 {
    top: 60%;
    right: 5%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.3;
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 15px;
}

/* ===== Footer ===== */
.footer {
    padding: 24px 0;
    text-align: center;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.footer p {
    font-size: 14px;
    color: var(--gray-500);
}

.footer a {
    color: var(--primary);
    font-weight: 700;
}

/* ===== Contact Page ===== */
.contact-hero {
    position: relative;
    padding: 140px 20px 80px;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}

.contact-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    max-width: 550px;
    margin: 0 auto;
}

.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 80, 91, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.label-optional {
    font-weight: 400;
    color: var(--gray-400);
    font-size: 13px;
}

.file-upload {
    position: relative;
    border: 2px dashed var(--gray-200);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover,
.file-upload.dragover {
    border-color: var(--primary);
    background: rgba(232, 80, 91, 0.03);
}

.file-upload.has-file {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.03);
}

.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.file-upload-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}

.file-upload-hint {
    font-size: 12px;
    color: var(--gray-400);
}

.file-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #10B981;
}

.file-name:empty {
    display: none;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-500);
    font-size: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.info-card p {
    font-size: 14px;
    color: var(--gray-500);
}

.info-hours {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 12px;
}

.info-hours h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.info-hours ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--gray-600);
}

.info-hours li span:last-child {
    font-weight: 700;
    color: var(--dark);
}

/* ===== 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) {
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--gray-700) !important;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
        display: block;
    }

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

    .nav-btn {
        display: none;
    }

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

    .section-header h2,
    .services-content h2,
    .services-detail-content h2 {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid,
    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-illustration,
    .services-detail-illustration {
        order: -1;
        text-align: center;
    }

    .stats {
        flex-direction: column;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card:last-child {
        max-width: none;
    }

    .cta h2 {
        font-size: 28px;
    }

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

    .contact-hero h1 {
        font-size: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

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

    .section-header h2,
    .services-content h2,
    .services-detail-content h2 {
        font-size: 22px;
    }

    .stat-card {
        padding: 16px 20px;
    }

    .stat-number {
        font-size: 26px;
    }
}
