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

/* EZ-CR Color Scheme */
:root {
    --bs-primary: #213B66;
    --bs-secondary: #EF7300;
    --bs-success: #2ecc71;
    --bs-info: #1abc9c;
    --bs-warning: #f1c40f;
    --bs-danger: #e74c3c;
    --bs-body-color: #675F5B;
    --bs-body-bg: #fff;
    --bs-dark: #212529;
    --bs-light: #f8f9fa;
    
    /* Aliases for easier use */
    --primary: var(--bs-primary);
    --secondary: var(--bs-secondary);
    --text-dark: var(--bs-body-color);
    --background-light: var(--bs-light);
    
    /* Spacing */
    --section-padding: 80px 20px;
    --card-padding: 30px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    overflow-x: hidden;
}

.container-md {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--bs-primary);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--bs-body-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1a2f52 100%);
    color: white;
    border-color: var(--bs-primary);
    box-shadow: 0 4px 15px rgba(33, 59, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 59, 102, 0.4);
    background: linear-gradient(135deg, #1a2f52 0%, var(--bs-primary) 100%);
}

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

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

.btn-lg {
    padding: 18px 50px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1a2f52 50%, var(--bs-info) 100%);
    color: white;
    padding: var(--section-padding);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(26, 188, 156, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.hero-cta .btn-primary {
    background: white;
    color: var(--bs-primary);
    border-color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hero-cta .btn-primary:hover {
    background: var(--bs-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.hero-cta .btn-outline {
    color: white;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-cta .btn-outline:hover {
    background: white;
    color: var(--bs-primary);
    transform: translateY(-2px);
}

.hero-images {
    position: relative;
    z-index: 1;
}

.device-showcase {
    position: relative;
    height: 500px;
    overflow: visible;
    max-width: 100%;
}

.device-img {
    position: absolute;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.desktop-img {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.laptop-img {
    top: 50px;
    left: 50px;
    width: 80%;
    z-index: 2;
    opacity: 0.9;
}

.phone-img {
    bottom: 0;
    right: 0;
    width: 40%;
    z-index: 4;
    max-width: 200px;
    transform: translateX(0);
}

@media (max-width: 1400px) {
    .phone-img {
        right: -10px;
        max-width: 180px;
    }
}

.device-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--bs-primary);
}

.section-intro {
    font-size: 1.2rem;
    color: var(--bs-body-color);
    line-height: 1.8;
}

/* Problem/Solution Section */
.problem-solution-section {
    padding: var(--section-padding);
    background-color: var(--bs-body-bg);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.problem-card {
    background: white;
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--bs-info);
    transition: var(--transition);
    text-align: left;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.problem-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bs-body-color);
}

.solution-teaser {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--bs-info) 0%, #16a085 100%);
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.solution-text {
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, var(--bs-light) 0%, white 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--bs-info);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-top-color: var(--bs-primary);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bs-body-color);
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--section-padding);
    background-color: var(--bs-body-bg);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(33, 59, 102, 0.3);
}

.step-title {
    font-size: 1.5rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.step-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bs-body-color);
}

.cycle-visual {
    text-align: center;
    margin-top: 60px;
}

.cycle-visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Marketplace Section */
.marketplace-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bs-light) 0%, white 100%);
}

.marketplace-content {
    max-width: 900px;
    margin: 0 auto;
}

.marketplace-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--bs-secondary) 0%, #d65a00 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.marketplace-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--bs-body-color);
}

.marketplace-story {
    text-align: left;
}

.story-title {
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.story-content .body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.1) 0%, rgba(33, 59, 102, 0.1) 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--bs-info);
    font-size: 1.2rem;
}

/* Testimonial Section */
.testimonial-section {
    padding: var(--section-padding);
    background-color: var(--bs-body-bg);
}

.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

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

.testimonial-quote {
    position: relative;
    z-index: 1;
}

.testimonial-quote p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--bs-body-color);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    text-align: right;
    border-top: 2px solid var(--bs-light);
    padding-top: 1.5rem;
}

.testimonial-author cite {
    font-style: normal;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Audience Section */
.audience-section {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, white 0%, var(--bs-light) 100%);
}

.audience-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.audience-image {
    position: sticky;
    top: 100px;
}

.audience-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.audience-roles {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.role-card {
    background: white;
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--bs-primary);
    transition: var(--transition);
}

.role-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-left-color: var(--bs-info);
}

.role-title {
    font-size: 1.3rem;
    color: var(--bs-primary);
    margin-bottom: 0.75rem;
}

.role-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bs-body-color);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1a2f52 50%, var(--bs-info) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--bs-primary);
    border-color: white;
}

.cta-buttons .btn-primary:hover {
    background: var(--bs-light);
    transform: translateY(-2px);
}

.cta-buttons .btn-outline {
    color: white;
    border-color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--bs-primary);
}

/* Footer */
.footer {
    padding: 50px 20px;
    background-color: var(--bs-dark);
    color: white;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-img {
    width: 50px;
    height: 50px;
}

.footer-brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.footer-text {
    margin-top: 1rem;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .phone-img {
        max-width: 150px;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .device-showcase {
        height: 400px;
    }
    
    .hero-images {
        margin-top: 20px;
    }

    .audience-content {
        grid-template-columns: 1fr;
    }

    .audience-image {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn,
    .cta-buttons .btn {
        width: 100%;
    }

    .problem-cards,
    .features-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }

    .device-showcase {
        height: 300px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-quote p {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}
