/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 50;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-cta {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.nav-cta:hover {
    background-color: #2563eb;
}

.nav-mobile {
    display: block;
}

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

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem;
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 1rem;
}

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

.mobile-nav-link {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    text-align: left;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #3b82f6;
}

.mobile-nav-cta {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 500;
    margin-top: 1rem;
}

.mobile-nav-cta:hover {
    background-color: #2563eb;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    max-width: 36rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.text-primary {
    color: #3b82f6;
}

.text-accent {
    color: #059669;
}

.hero-description {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-icon {
    font-size: 1rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-secondary {
    background-color: transparent;
    color: #64748b;
    border: 2px solid #cbd5e1;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.hero-image {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-image {
        justify-content: flex-end;
    }
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-title.white {
    color: white;
}

.section-description {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 32rem;
    margin: 0 auto;
}

.section-description.white {
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: white;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.service-icon.primary {
    background-color: rgba(59, 130, 246, 0.1);
}

.service-icon.accent {
    background-color: rgba(5, 150, 105, 0.1);
}

.service-icon.blue {
    background-color: rgba(30, 64, 175, 0.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-description {
    color: #64748b;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    text-align: center;
}

.pricing-card {
    background-color: white;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 28rem;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-plan {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-size: 3.75rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: #64748b;
    margin-bottom: 2rem;
}

.pricing-features {
    margin-bottom: 2rem;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-check {
    color: #059669;
    font-weight: 500;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pricing-cta:hover {
    background-color: #2563eb;
}

/* Portfolio Section */
.portfolio-section {
    padding: 4rem 0;
    background-color: white;
}

.portfolio-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.portfolio-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.portfolio-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.portfolio-description {
    color: #64748b;
    font-size: 0.875rem;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.star-rating {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.star {
    font-size: 1.25rem;
}

.testimonial-text {
    color: #64748b;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-name {
    font-weight: 600;
    color: #1e293b;
}

.author-title {
    font-size: 0.875rem;
    color: #64748b;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: white;
}

.faq-accordion {
    max-width: 4xl;
    margin: 0 auto;
}

.faq-item {
    background-color: #f8fafc;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8fafc;
}

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

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    text-align: center;
}

.contact-images {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .contact-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-form-container {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.375rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.error-message {
    display: block;
    color: #fca5a5;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-submit {
    width: 100%;
    background-color: #059669;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-submit:hover {
    background-color: #047857;
}

.contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .contact-options {
        flex-direction: row;
        justify-content: center;
    }
}

.contact-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: white;
}

.contact-icon {
    margin-right: 0.5rem;
}

.contact-divider {
    display: none;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
    .contact-divider {
        display: block;
    }
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .pricing-amount {
        font-size: 3rem;
    }
    
    .trust-signals {
        justify-content: center;
    }
    
    .hero-cta {
        align-items: center;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus states for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}