/* ==========================================================================
   Chrome Extension Landing Page Styling
   ========================================================================== */

/* Hero Section */
.ext-hero-sec {
    background: linear-gradient(180deg, #0b1523 0%, #050a11 100%);
    color: #fff;
    padding: 180px 20px 80px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ext-hero-sec .container {
    max-width: 1000px;
    margin: 0 auto;
}

.ext-hero-sec h1 {
    font-family: 'Nunito Sans', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ext-hero-sec h1 span {
    color: #1dd3e3;
    background: linear-gradient(90deg, #1dd3e3 0%, #5ce1e6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ext-hero-sec .subtitle {
    font-size: 19px;
    color: #a0aec0;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* CTA buttons */
.ext-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.ext-btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.ext-btn-primary {
    background-color: #1dd3e3;
    color: #0b1523;
}

.ext-btn-primary:hover {
    background-color: #fff;
    color: #1dd3e3;
    border-color: #1dd3e3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 211, 227, 0.25);
}

.ext-btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.ext-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Video Showcase Container */
.ext-video-wrap {
    max-width: 850px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.03);
}

.ext-video-wrap iframe {
    display: block;
}

/* General Layout sections */
.ext-section {
    padding: 80px 20px;
    background-color: #ffffff;
    color: #2d3748;
}

.ext-section-alt {
    padding: 80px 20px;
    background-color: #f7fafc;
    color: #2d3748;
}

.ext-section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: #1a202c;
}

.ext-section-subtitle {
    font-size: 16px;
    color: #718096;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Feature Grid Cards */
.ext-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.ext-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    transition: all 0.25s ease;
}

.ext-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(29, 211, 227, 0.3);
}

.ext-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(29, 211, 227, 0.1);
    color: #1dd3e3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.ext-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a202c;
}

.ext-card p {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
}

/* Feature Showcases (Split Image/Text blocks) */
.ext-showcase-list {
    max-width: 1100px;
    margin: 0 auto;
}

.ext-showcase-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.ext-showcase-item:last-child {
    margin-bottom: 0;
}

.ext-showcase-item:nth-child(even) {
    flex-direction: row-reverse;
}

.ext-showcase-img {
    flex: 1;
    min-width: 300px;
}

.ext-showcase-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #edf2f7;
}

.ext-showcase-content {
    flex: 1;
}

.ext-showcase-content h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a202c;
}

.ext-showcase-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ext-showcase-content li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ext-showcase-content li i {
    color: #1dd3e3;
    margin-top: 4px;
    font-size: 16px;
}

/* Steps Section */
.ext-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.ext-step-card {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    border: 1px dashed #cbd5e0;
    position: relative;
}

.ext-step-num {
    width: 36px;
    height: 36px;
    background-color: #1dd3e3;
    color: #0b1523;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 16px;
}

.ext-step-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a202c;
}

.ext-step-card p {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
}

/* FAQ Accordions using Semantic Details/Summary */
.ext-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.ext-faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.ext-faq-item summary {
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
    transition: background 0.2s ease;
}

.ext-faq-item summary:hover {
    background-color: #f7fafc;
}

.ext-faq-item summary::-webkit-details-marker {
    display: none;
}

.ext-faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #718096;
    transition: transform 0.2s ease;
}

.ext-faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.ext-faq-content {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    border-top: 1px solid #edf2f7;
    margin-top: 0;
}

/* CTA Bottom Panel */
.ext-bottom-cta {
    background: linear-gradient(135deg, #0b1523 0%, #0d283f 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ext-bottom-cta h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
}

.ext-bottom-cta p {
    font-size: 17px;
    color: #a0aec0;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Responsiveness overrides */
@media (max-width: 991px) {
    .ext-showcase-item {
        flex-direction: column !important;
        gap: 30px;
    }
    
    .ext-showcase-img {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .ext-hero-sec {
        padding: 140px 16px 50px;
    }
    .ext-hero-sec h1 {
        font-size: 32px;
    }
    .ext-hero-sec .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .ext-btn {
        width: 100%;
    }
    .ext-section, .ext-section-alt, .ext-bottom-cta {
        padding: 50px 16px;
    }
    .ext-section-title {
        font-size: 24px;
    }
    .ext-showcase-content h3 {
        font-size: 20px;
    }
}
