:root {
    --primary-color: #27B989;
    --secondary-color: #90277F;
    --accent-color: #D46049;
    --background: #FAF8F5;
    --background-alt: #F0ECE6;
    --text: #2C2520;
    --text-muted: #6B6055;
    --section-dark: #2C2520;
    --section-accent: #EDE6DD;
    --primary-rgb: 39, 185, 137;
    --secondary-rgb: 144, 39, 127;
    --accent-rgb: 212, 96, 73;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.125rem;
}

h5, h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

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

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

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid-2 > * {
    flex: 1 1 calc(50% - 24px);
    min-width: 280px;
}

.grid-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid-3 > * {
    flex: 1 1 calc(33.333% - 24px);
    min-width: 260px;
}

.grid-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.grid-4 > * {
    flex: 1 1 calc(25% - 24px);
    min-width: 240px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 36px;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    padding: 12px 0;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 12px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(39, 185, 137, 0.9) 0%, rgba(144, 39, 127, 0.8) 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 48px 24px;
}

.hero h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.header-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(39, 185, 137, 0.85) 0%, rgba(144, 39, 127, 0.75) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    padding: 72px 24px;
}

.header-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.6s ease-out;
}

.content-section {
    padding: 72px 24px;
    position: relative;
}

.section-dark {
    background: var(--section-dark);
    color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
    color: #ffffff;
}

.section-dark a {
    color: var(--primary-color);
}

.section-dark a:hover {
    color: rgba(var(--primary-rgb), 0.8);
}

.section-accent {
    background: var(--section-accent);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

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

.card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 36px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.card h3 {
    margin-bottom: 12px;
    color: var(--text);
}

.card p {
    color: var(--text-muted);
    flex-grow: 1;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.feature {
    background: #ffffff;
    padding: 36px;
    border-left: 4px solid var(--primary-color);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature:hover {
    border-left-width: 8px;
    transform: translateX(4px);
}

.feature-icon {
    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;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.testimonial-card {
    background: #ffffff;
    padding: 36px;
    border-left: 4px solid var(--accent-color);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--text);
}

.pricing-card {
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.08);
    padding: 48px 36px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #ffffff;
    padding: 6px 24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.two-col-layout {
    display: flex;
    gap: 48px;
    align-items: center;
}

.two-col-layout > * {
    flex: 1;
}

.two-col-layout.reverse {
    flex-direction: row-reverse;
}

.two-col-layout img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn {
    display: inline-block;
    padding: 12px 36px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.btn-secondary {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--secondary-rgb), 0.25);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1rem;
}

.text-center {
    text-align: center;
}

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

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="fade-in"] {
    transform: none;
}

[data-animate="fade-in"].visible {
    opacity: 1;
}

[data-animate="slide-left"] {
    transform: translateX(-40px);
}

[data-animate="slide-left"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(40px);
}

[data-animate="slide-right"].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-stagger] > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-stagger] > *.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-divider {
    display: block;
    width: 100%;
    height: auto;
    margin: -1px 0;
    line-height: 0;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.section-divider.flip {
    transform: scaleY(-1);
}

footer {
    background: var(--section-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 48px 24px 24px;
    border-top: 4px solid var(--primary-color);
}

footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

footer .footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-align: center;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.card img:hover {
    transform: scale(1.08);
}

form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

label {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    font-size: 1rem;
    font-family: 'Work Sans', sans-serif;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 24px 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-answer.active {
    max-height: 500px;
    padding: 12px 0 0;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 12px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.success {
    background: var(--primary-color);
}

.badge.info {
    background: var(--secondary-color);
}

.trust-indicators {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 36px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-layout {
    display: flex;
    gap: 24px;
    margin: 36px 0;
}

.comparison-side {
    flex: 1;
    text-align: center;
}

.comparison-side img {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.comparison-label {
    font-weight: 700;
    font-size: 1.125rem;
    padding: 12px;
    background: var(--background-alt);
}

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

.after-label {
    color: var(--primary-color);
}

.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-gallery img {
    flex: 1 1 calc(33.333% - 12px);
    min-width: 200px;
    height: 250px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.stats-grid {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 48px 0;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 24px;
    margin: 24px 0;
    background: var(--background-alt);
    font-size: 1.125rem;
    font-style: italic;
}

@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-3 > * {
        flex: 1 1 calc(50% - 24px);
    }

    .grid-4 > * {
        flex: 1 1 calc(50% - 24px);
    }

    .two-col-layout {
        flex-direction: column;
        gap: 36px;
    }

    .two-col-layout.reverse {
        flex-direction: column;
    }

    .nav-menu {
        gap: 24px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        gap: 0;
    }

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

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-link {
        display: block;
        padding: 18px 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: 80vh;
    }

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

    .hero p {
        font-size: 1rem;
    }

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

    .content-section {
        padding: 48px 24px;
    }

    .grid-2 > * {
        flex: 1 1 100%;
    }

    .grid-3 > * {
        flex: 1 1 100%;
    }

    .grid-4 > * {
        flex: 1 1 100%;
    }

    .card {
        padding: 24px;
    }

    .feature {
        padding: 24px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 36px 24px;
    }

    .btn {
        padding: 12px 24px;
    }

    .btn-lg {
        padding: 15px 36px;
    }

    .comparison-layout {
        flex-direction: column;
    }

    .project-gallery img {
        flex: 1 1 100%;
        height: 200px;
    }

    .stats-grid {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 12px;
    }

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

    .header-hero h1 {
        font-size: 1.75rem;
    }

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

    .card img {
        height: 160px;
    }

    .trust-indicators {
        flex-direction: column;
    }

    .trust-badge {
        justify-content: center;
    }
}
