/* ==========================================================================
   Global Styles
   ========================================================================== */
:root {
    --primary-color: #1a6cc7;
    --secondary-color: #e9724c;
    --accent-color: #f9c80e;
    --dark-color: #2f2b32;
    --light-color: #f5f5f5;
    --success-color: #28a745;
    --text-color: #333333;
    --border-radius: 0;
    --box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Mono', monospace;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    background-image: linear-gradient(rgba(245, 245, 245, 0.9), rgba(245, 245, 245, 0.9)), url('https://www.transparenttextures.com/patterns/diamond-upholstery.png');
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
    position: relative;
}

section:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.8);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.retro-line {
    height: 5px;
    width: 80px;
    background-color: var(--secondary-color);
    margin: 1rem auto;
    position: relative;
}

.retro-line:before {
    content: "";
    position: absolute;
    height: 5px;
    width: 40px;
    background-color: var(--primary-color);
    left: -50px;
    top: 0;
}

.retro-line:after {
    content: "";
    position: absolute;
    height: 5px;
    width: 40px;
    background-color: var(--primary-color);
    right: -50px;
    top: 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover {
    color: white;
}

.btn:hover:before {
    left: 0;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:before {
    background-color: var(--secondary-color);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    padding: 1rem 0;
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    color: white;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
}

.main-nav a:after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: white;
    transition: all 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(26, 108, 199, 0.8), rgba(26, 108, 199, 0.8)), url('img/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 var(--dark-color);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image img {
    border: 10px solid white;
    box-shadow: var(--box-shadow);
    transform: rotate(-2deg);
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    background-color: white;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 3px solid var(--primary-color);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Target Audience Section
   ========================================================================== */
.audience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.audience-text ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.audience-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.audience-text li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.audience-image img {
    border: 10px solid white;
    box-shadow: var(--box-shadow);
    transform: rotate(2deg);
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    counter-reset: step-counter;
}

.step {
    position: relative;
    background-color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 3px solid var(--primary-color);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    height: 250px;
    background-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    border: 5px solid white;
    box-shadow: var(--box-shadow);
}

.gallery-item:nth-child(odd) img {
    transform: rotate(-2deg);
}

.gallery-item:nth-child(even) img {
    transform: rotate(2deg);
}

.gallery-item:hover img {
    transform: scale(1.1) rotate(0);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
    background-color: var(--primary-color);
    color: white;
}

.testimonials .section-header h2 {
    color: white;
}

.testimonials .retro-line {
    background-color: white;
}

.testimonials .retro-line:before,
.testimonials .retro-line:after {
    background-color: var(--accent-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: white;
    color: var(--text-color);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.author {
    font-weight: 700;
    text-align: right;
    color: var(--primary-color);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: white;
    box-shadow: var(--box-shadow);
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.card-header h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.card-content {
    padding: 2rem;
}

.card-content ul {
    margin-bottom: 2rem;
}

.card-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.card-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.featured {
    transform: scale(1.05);
    z-index: 10;
    border-color: var(--secondary-color);
}

.featured .card-header {
    background-color: var(--secondary-color);
}

.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: white;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.map {
    margin-top: 2rem;
    border: 10px solid white;
    box-shadow: var(--box-shadow);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 3px solid var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--primary-color);
    background-color: var(--light-color);
    font-family: 'Roboto Mono', monospace;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    color: white;
    font-family: 'Pacifico', cursive;
}

.footer-logo p {
    margin-top: 1rem;
}

.footer-nav h3,
.footer-legal h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-nav h3:after,
.footer-legal h3:after {
    content: "";
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
}

.footer-nav ul,
.footer-legal ul {
    margin-top: 1rem;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-nav a,
.footer-legal a {
    color: white;
    transition: all 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .about-content,
    .audience-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image,
    .audience-image {
        margin-bottom: 2rem;
    }

    .about-image img,
    .audience-image img {
        margin: 0 auto;
    }

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .main-nav ul {
        justify-content: center;
    }

    .main-nav li {
        margin: 0 0.75rem;
    }

    .hero {
        height: auto;
        padding: 5rem 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}