/* Reset and Base Styles */

:root {
    --height-header: 92px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e1e1e;
    background-color: #f5f4f3;
    overflow-x: hidden;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid #000;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 2px 4px 0px #000;
    font-size: 0.875rem;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 3px 5px 0px #000;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 1px 2px 0px #000;
}

.btn-primary {
    background-color: #fde104;
    color: #000;
}

.btn-cta {
    background-color: #fde104;
    color: #000;
    font-size: 1rem;
    padding: 1rem 2rem;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem;
    height: var(--height-header);
}

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

.logo a {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0 !important;
    position: relative;
    width: 100%;
    gap: 2rem;
    height: calc(100dvh - var(--height-header));
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    color: #000;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-image-container {
    max-width: 300px;
    margin: 0 auto;
}

.hero-main-image {
    width: 100%;
    height: auto;
}

.hero-character {
    position: relative;
}

.character-container {
    position: relative;
    width: 250px;
    height: 300px;
}

.character-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 100%;
}

.green-lid {
    background: #13da2a;
}

.purple-lid {
    background: #7d4fea;
}

.pink-lid {
    background: #ff6fbd;
}

.hero-banner {
    width: 100%;
    background: #fde104;
    border-top: 2px solid #000;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}


.banner-text {
    font-weight: 500;
    color: #000;
    text-align: center;
    font-size: 0.875rem;
    letter-spacing: -0.02em;
}

.banner-character-icons,
.social-icons {
    display: none;
}

/* Services Sections */
.services-section {
    border: 2px solid #000;
    min-height: 400px;
}

.services-content {
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.services-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.service-border-r {
    border-right: 1px solid #000;
}

.service-border-l {
    border-left: 1px solid #000;
}

.services-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: #5a4e3b;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e1e1e;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.services-description {
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.services-visual {
    width: 50%;
    padding: 2rem;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.first-service {
    background-color: #004739;
}

.second-service {
    background-color: #37138E;
}

.third-service {
    background-color: #8B436A;
}

.services-green {
    background: rgba(1, 151, 55, 0.8);
}

.services-blue {
    background: rgba(64, 94, 246, 0.8);
}

.services-pink {
    background: rgba(254, 163, 178, 0.8);
}

.star-container,
.polygon-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.star-bg,
.polygon-bg {
    /* width: 70%; */
    height: 100%;
    object-fit: contain;
}

/* Testimonials Section */
.testimonials-section {
    background: #f7f8f8;
    padding: 3rem 1rem;
    position: relative;
}

.testimonials-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 0;
}

.testimonials-star {
    width: 200px;
    height: auto;
}

.testimonials-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-label {
    font-size: 0.875rem;
    color: #000;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.testimonial-card {
    background: #fff;
    border: 2px solid #000;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 2px 4px 0px #000;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #40444c;
}

.quote-icon {
    font-size: 2rem;
    color: #ccc;
    line-height: 1;
}

.testimonial-quote {
    font-size: 0.875rem;
    color: #40444c;
    line-height: 1.5;
    font-style: normal;
}

/* FAQ Section */
.faq-section {
    background: #f5da02;
    padding: 3rem 1rem;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-label {
    font-size: 0.75rem;
    color: #5a4e3b;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e88763;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.faq-description {
    font-size: 1rem;
    color: #3d3d3d;
    max-width: 500px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #fca3b1;
    border: 2px solid #000;
    border-radius: 16px;
    box-shadow: 2px 4px 0px #000;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #5b4e3c;
    font-weight: 400;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
    line-height: 1.5;
    animation: slideDown 0.3s ease;
}

.faq-answer[hidden] {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    background: #000;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.checkerboard-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, #fff 25%, transparent 25%),
        linear-gradient(-45deg, #fff 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #fff 75%),
        linear-gradient(-45deg, transparent 75%, #fff 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    position: relative;
}

.email-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #000;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 2px 4px 0px #000;
}

.email-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.error-message {
    color: #ff4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

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

.coming-soon-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.app-badge {
    height: 40px;
    width: auto;
}

/* Footer */
.footer {
    background: #000;
    padding: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .header {
        padding: 1.5rem 2rem;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-image-container {
        max-width: 500px;
    }
    
    .character-container {
        width: 300px;
        height: 350px;
    }
    
    .character-bg {
        width: 270px;
    }
       
    .banner-character-icons {
        display: flex;
        gap: 1rem;
        position: absolute;
        left: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mini-character {
        width: 40px;
        height: 40px;
        background: #fff;
        border-radius: 50%;
        border: 2px solid #000;
        position: relative;
        overflow: hidden;
    }

    .social-icons {
        display: flex;
        gap: 0.75rem;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        overflow: hidden;
    }
    
    .social-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .services-content {
        flex-direction: row;
    }
    
    .services-text {
        flex: 1;
        /* padding: 3rem; */
    }
    
    .services-visual {
        flex: 1;
        /* padding: 3rem; */
    }
    
    .services-title {
        font-size: 3rem;
    }
    
    .services-description {
        font-size: 1.125rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .testimonials-star {
        width: 400px;
    }
    
    .testimonials-title {
        font-size: 3rem;
    }
    
    .faq-title {
        font-size: 3rem;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .newsletter-form {
        flex-direction: row;
        max-width: 600px;
    }
    
    .form-group {
        flex: 1;
    }
    
    .app-badges {
        flex-direction: row;
        gap: 1rem;
    }
    
    .app-badge {
        height: 50px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-image-container {
        max-width: 800px;
    }
    
    .character-container {
        width: 352px;
        height: 461px;
    }
    
    .character-bg {
        width: 315px;
    }
    
    .character-eyes {
        width: 253px;
        height: 128px;
    }
    
    .eye {
        width: 128px;
        height: 128px;
        border: 5px solid #000;
    }
    
    .eye-pupil {
        width: 86px;
        height: 86px;
    }
    
    .eye-highlight {
        width: 31px;
        height: 31px;
    }
    
    .eye-shine {
        width: 19px;
        height: 19px;
        right: 16px;
    }
    
    .eye-lid {
        height: 51px;
        border: 5px solid #000;
    }
    
    .services-text {
        padding: 2rem;
    }
    
    .services-title {
        font-size: 3.5rem;
    }
    
    .testimonials-background {
        opacity: 1;
    }
    
    .testimonials-star {
        width: 600px;
    }
    
    .testimonials-title {
        font-size: 4rem;
    }
    
    .faq-title {
        font-size: 4rem;
    }
    
    .cta-title {
        font-size: 4rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border-width: 3px;
    }
    
    .eye {
        border-width: 4px;
    }
    
    .faq-item,
    .testimonial-card {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .hero-banner,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .services-section {
        background: white !important;
        border: 1px solid black;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .reverse-on-mobile .services-content {
        flex-direction: column-reverse;
        
    }
    .hero-section {
        min-height: 0;
    }
    .services-visual {
        /* width: auto; */
        display: none;
    }
    .services-text {
        width: auto;
    }
    .service-border-l {
        border-left: none;
    }
    .service-border-r {
        border-right: none;
    }
    .services-section, .services-content {
        min-height: 0 !important;
    }
    .services-content {
        padding: 1rem;
        /* border: none !important; */
    }
}