/* Base & Variables */
:root {
    /* UpIT Friendly Minimalist Colors */
    --primary-color: #FDFCF8;
    /* Warm Off-White (Creamy) */
    --secondary-color: #FFFFFF;
    /* Pure White for cards */
    --accent-color: #6D28D9;
    /* Softer, richer Purple (Violet) */
    --accent-hover: #5B21B6;
    --text-color: #475569;
    /* Soft Slate Grey (easier on eyes than black) */
    --heading-color: #1E293B;
    /* Dark Slate for headers */
    --text-muted: #94A3B8;
    --success-color: #10B981;
    --white: #FFFFFF;

    /* Fonts - Manrope is excellent for "Friendly & Tech" */
    --font-main: 'Manrope', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    --border: 1px solid #F1F5F9;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.7;
    /* increased for friendliness */
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-main);
    font-weight: 800;
    /* Bolder headings feel friendlier/confident */
    color: var(--heading-color);
    letter-spacing: -0.02em;
    /* Tight tracking for modern feel */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 700px;
    margin: 0 auto;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.text-muted {
    color: var(--text-muted);
}

.text-small {
    font-size: 0.9rem;
}

/* Buttons - Friendly = Pill Shape */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    border-radius: 100px;
    /* Full pill shape is friendliest */
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: var(--accent-hover);
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.35);
}

.btn-outline {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: rgba(109, 40, 217, 0.05);
    /* Subtle tint instead of full fill */
    transform: translateY(-2px);
}

.btn-lg {
    font-size: 1.15rem;
    padding: 1.1rem 3rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.full-width {
    width: 100%;
    margin-top: auto;
    /* Push to bottom of card */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.9);
    /* Matching warm bg */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 1.2rem 0;
}

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

.logo {
    font-size: 1.7rem;
    text-transform: lowercase;
    /* Friendlier look */
    color: var(--heading-color);
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2.5px;
    background-color: var(--heading-color);
    border-radius: 4px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding-top: 11rem;
    padding-bottom: 7rem;
    position: relative;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    /* Big and Bold */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-color);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Common */
.section {
    padding: 7rem 0;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.section-header p {
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 3.5rem;
    font-size: 1.15rem;
    opacity: 0.9;
}

/* Problem Section Cards - Friendly Boxes */
.problem-section {
    background-color: var(--secondary-color);
    border-radius: var(--radius-lg);
    margin: 0 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #FAFAFA;
    /* Slight contrast to white section */
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(109, 40, 217, 0.1);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

/* Philosophy Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(109, 40, 217, 0.08);
    /* Light purple pill */
    color: var(--accent-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.benefits-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.benefits-list li strong {
    color: var(--heading-color);
}

/* Decorative Circles - Keeping them soft */
.visual-box {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8FAFC;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.c1 {
    width: 250px;
    height: 250px;
    background: rgba(109, 40, 217, 0.15);
    /* Purple soft blob */
    top: 50px;
    left: 50px;
}

.c2 {
    width: 200px;
    height: 200px;
    background: rgba(249, 115, 22, 0.1);
    /* Orange soft blob */
    bottom: 50px;
    right: 50px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.glass-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-top: 0.5rem;
}

/* Pricing - Friendly Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    border: var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.price-card.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    /* Slightly bigger */
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(109, 40, 217, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--heading-color);
    margin: 1rem 0 0.5rem;
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 5px;
}

.desc {
    font-size: 0.95rem;
    line-height: 1.5;
}

.features li {
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.features li span {
    color: var(--success-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

/* Projects Section */
.projects-section {
    background-color: var(--white);
}

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

.project-item {
    background: #F8FAFC;
    border: 1px solid transparent;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.project-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: rgba(109, 40, 217, 0.1);
    transform: translateY(-3px);
}

.price-tag {
    display: inline-block;
    background: var(--white);
    color: var(--heading-color);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid #E2E8F0;
}

/* About / Charity - Special Warm Section */
.about-section {
    background-color: #FEF2F2;
    /* Very soft warm red/pink for heart/charity vibe */
    margin: 0 1rem;
    border-radius: var(--radius-lg);
}

.charity-box {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    /* Standard Doctor Clown Red */
}

/* About Image - Clown */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.clown-image {
    width: 100%;
    max-width: 250px;
    /* Much smaller as requested */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    /* True sticker shadow */
    transition: transform 0.3s ease;
    animation: levitate 3s ease-in-out infinite;
    /* Floating effect */
}

.clown-image:hover {
    animation-play-state: paused;
    transform: scale(1.05) rotate(2deg);
}

@keyframes levitate {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Contact Form */
.contact-section {
    background-color: var(--primary-color);
}

.contact-form {
    max-width: 550px;
    margin: 0 auto;
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: #F8FAFC;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--heading-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    font-weight: 500;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.1);
}

/* Footer */
.footer {
    background: var(--heading-color);
    color: var(--white);
    padding: 5rem 0 3rem;
    margin-top: 4rem;
    border-top-left-radius: 40px;
    /* Modern footer curve */
    border-top-right-radius: 40px;
}

.footer-links a {
    color: #94A3B8;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
    /* Slight movement on hover */
}

/* Mobile Responsive */
@media (max-width: 992px) {

    .grid-3,
    .grid-2,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid #F1F5F9;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .contact-form {
        padding: 2rem;
    }

    .hero {
        padding-top: 9rem;
    }
}