/* main.css - Product Rocket Professional Redesign */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #666;
    background-color: #ffffff;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
    color: #333;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    margin-bottom: 0.5em;
}

h2 {
    color: #333;
    font-size: 2em;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-top: 0;
    margin-bottom: 1.5em;
}

h3 {
    color: #333;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.75em;
}

p {
    color: #666;
    line-height: 1.8;
    margin: 0 0 1em 0;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0073e6;
}

strong {
    color: #333;
    font-weight: 700;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

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

/* ============================================
   HEADER/HERO SECTION
   ============================================ */

.hero-section {
    padding: 40px 0 60px 0;
    margin-bottom: 60px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.header-logo {
    background-image: url('../images/logo-product-rocket-blue-small.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.header-logo-link {
    display: inline-block;
    text-decoration: none;
}

.header-logo-link:hover .header-logo {
    transform: scale(1.05);
}

.hero-section h1 {
    flex: 1;
    margin: 0;
}

.hero-intro {
    font-size: 1.2em;
    color: #333;
    background-color: #f9f9f9;
    padding: 25px 30px;
    border-left: 5px solid #0073e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    line-height: 1.8;
}

.header-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.header-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
    margin-bottom: 60px;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 60px 0;
    margin-bottom: 0;
}

.section-alt {
    background-color: #f9f9f9;
    padding: 60px 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.section-intro {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 2em;
    text-align: center;
}

.section-link {
    text-align: center;
    margin-top: 2em;
    font-size: 1.1em;
}

.section-link a {
    color: #0056b3;
    font-weight: 500;
}

.section-link a:hover {
    color: #0073e6;
    text-decoration: underline;
}

/* ============================================
   CHALLENGES SECTION
   ============================================ */

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.challenge-card {
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.challenge-card:hover {
    border-color: #0073e6;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.15);
    transform: translateY(-3px);
}

.challenge-card:hover .challenge-icon {
    color: #0073e6;
    transform: scale(1.1);
}

.challenge-icon {
    font-size: 2em;
    color: #0056b3;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: block;
}

.challenge-card p {
    margin: 0;
    color: #333;
    font-size: 1em;
    line-height: 1.6;
}

.challenges-links {
    margin-top: 30px;
    text-align: center;
}

.challenges-links p {
    margin: 10px 0;
    font-size: 1em;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 86, 179, 0.15);
    border-color: #0073e6;
}

.service-card:hover .service-icon {
    color: #0073e6;
    transform: scale(1.1);
}

.service-icon {
    font-size: 2.5em;
    color: #0056b3;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: block;
}

.service-card h3 {
    color: #0056b3;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   PRACTICES SECTION
   ============================================ */

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.practice-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 86, 179, 0.15);
    border-color: #0073e6;
}

.practice-card:hover .practice-icon {
    color: #0073e6;
    transform: scale(1.1);
}

.practice-icon {
    font-size: 2.5em;
    color: #0056b3;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: block;
}

.practice-card h3 {
    color: #0056b3;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.practice-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   UNIQUE VALUE SECTION
   ============================================ */

.insightful-quote {
    margin: 0 0 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    border-left: 5px solid #0056b3;
    border-radius: 8px;
    font-style: italic;
    color: #555;
    font-size: 1.3em;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.insightful-quote a {
    color: #0056b3;
    font-weight: 500;
}

.insightful-quote a:hover {
    color: #0073e6;
    text-decoration: underline;
}

.unique-text {
    font-size: 1.15em;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   SUCCESS STORIES SECTION
   ============================================ */

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.success-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 86, 179, 0.15);
    border-color: #0073e6;
}

.success-card:hover .success-icon {
    color: #0073e6;
    transform: scale(1.1);
}

.success-icon {
    font-size: 2.5em;
    color: #0056b3;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: block;
}

.success-card h3 {
    color: #0056b3;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.success-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.success-card strong {
    color: #0056b3;
    font-weight: 700;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0056b3 0%, #0073e6 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003f7f 0%, #0056b3 100%);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.btn-secondary:hover {
    background: #0056b3;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.cta-main {
    display: block;
    text-align: center;
    margin: 40px auto;
    max-width: 500px;
}

/* Legacy CTA class for compatibility */
.cta {
    background-color: #0056b3;
    color: white;
    padding: 16px 32px;
    font-size: 1.1em;
    text-align: center;
    display: block;
    text-decoration: none;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.cta:hover {
    background-color: #003f7f;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    color: white;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #0056b3 0%, #0073e6 100%);
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 8px 24px rgba(0, 86, 179, 0.3);
}

.cta-text {
    color: #ffffff;
    font-size: 1.5em;
    font-weight: 500;
    margin: 0 0 30px 0;
}

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

.cta-section .btn-primary {
    background: #ffffff;
    color: #0056b3;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
    color: #003f7f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta-section .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-section .btn-secondary:hover {
    background: #ffffff;
    color: #0056b3;
    transform: translateY(-2px);
}

/* ============================================
   SHARE BUTTONS
   ============================================ */

.share-buttons {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.share-buttons a {
    margin: 0 5px;
}

/* ============================================
   VIDEO SECTION
   ============================================ */

#intro-video {
    text-align: center;
}

#intro-video h2 {
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #f1f1f1;
    padding: 50px 0 30px 0;
    margin-top: 60px;
    border-top: 3px solid #0056b3;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.footer-column {
    padding: 0;
}

.footer-column p {
    margin-bottom: 15px;
    color: #333;
}

.footer-column strong {
    color: #333;
    font-size: 1.1em;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: #004494;
}

.footer-column.articles {
    grid-column: span 1;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    color: #333;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 30px;
    font-size: 1.1em;
}

.modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal .close:hover {
    color: #333;
}

.modal-btn {
    padding: 12px 24px;
    margin: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.modal-btn {
    background-color: #0056b3;
    color: white;
}

.modal-btn:hover {
    background-color: #003f7f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.modal-btn.secondary {
    background-color: #666;
}

.modal-btn.secondary:hover {
    background-color: #555;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile First - iPhone SE (375px) and up */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 20px 0 40px 0;
        margin-bottom: 40px;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-logo {
        width: 90px;
        height: 90px;
    }

    h1 {
        font-size: 1.75em;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5em;
        margin-bottom: 1em;
    }

    h3 {
        font-size: 1.25em;
    }

    .hero-intro {
        font-size: 1em;
        padding: 20px;
    }

    .section {
        padding: 40px 0;
    }

    .section-alt {
        padding: 40px 20px;
        margin: 30px 0;
    }

    .challenges-grid,
    .services-grid,
    .practices-grid,
    .success-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .challenge-card,
    .service-card,
    .practice-card,
    .success-card {
        padding: 20px;
    }

    .cta-section {
        padding: 40px 20px;
        margin: 40px 0;
    }

    .cta-text {
        font-size: 1.2em;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

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

    .insightful-quote {
        font-size: 1.1em;
        padding: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column.articles {
        grid-column: span 1;
    }

    .share-buttons {
        margin: 30px 0;
    }
}

/* Tablet - 768px and up */
@media (min-width: 768px) and (max-width: 1023px) {
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .practices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop - 1024px and up */
@media (min-width: 1024px) {
    .challenges-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid,
    .practices-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .success-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}
