/* AI.css - Aligned with landing page style */
:root {
    --gold: #D4AF37;
    --cream: #F5F5F0;
    --black: #1A1A1A;
    --dark-gray: #333333;
    --light-gray: #E5E5E5;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* General Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Button Styles */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.primary-cta {
    background-color: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(212,175,55,0.4);
}

.primary-cta:hover {
    background-color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.secondary-cta {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.secondary-cta:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translateY(-3px);
}


/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    text-decoration: none;
}

.logo-highlight {
    color: var(--gold);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 100px;
    margin-top: 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: var(--gold);
    font-size: 2rem;
    opacity: 0.3;
    animation: float 8s infinite ease-in-out;
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 60%; left: 5%; animation-delay: 1s; }
.floating-icon:nth-child(3) { top: 30%; right: 10%; animation-delay: 2s; }
.floating-icon:nth-child(4) { top: 70%; right: 15%; animation-delay: 3s; }
.floating-icon:nth-child(5) { top: 15%; right: 25%; animation-delay: 4s; }
.floating-icon:nth-child(6) { bottom: 20%; left: 20%; animation-delay: 5s; }


@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--black);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
}

/* Features Section */
.features-section {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.feature-card h3 i {
    color: var(--gold);
    margin-right: 0.5rem;
    font-size: 1.8rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--dark-gray);
}

/* Centered feature card */
.features-grid .feature-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 450px;
}


/* Setup Guide */
.setup-guide {
    background-color: var(--cream);
}

.setup-guide .step {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.setup-guide .step:last-child {
    margin-bottom: 0;
}

.setup-guide .step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-image {
    flex: 1;
    max-width: 500px;
}

.step-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--dark-gray);
}

/* Demo Section */
.demo-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    padding: 80px 0;
}

.video-embed-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--light-gray);
    font-size: 4rem;
    color: var(--light-gray);
}

.video-placeholder p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--dark-gray);
    font-size: 1.5rem;
}

/* Use Cases Section */
.use-cases-section {
    background-color: var(--white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background: linear-gradient(135deg, #fafafa 0%, var(--white) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.15);
    border-color: var(--gold);
}

.use-case-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: inline-block;
}

.use-case-card h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 600;
}

.flow-example {
    background-color: var(--white);
    padding: 1rem;
    border-left: 4px solid var(--gold);
    margin: 1rem 0;
    border-radius: 4px;
}

.flow-example p {
    margin: 0.5rem 0;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.flow-example strong {
    color: var(--black);
}

.savings {
    color: var(--gold);
    font-weight: 600;
    margin-top: 0.5rem;
}

.use-case-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* CTA Section - Download Section Redesign */
.cta-section {
    background: linear-gradient(135deg, var(--gold) 0%, #c9a227 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section .section-header {
    margin-bottom: 3rem;
}

.cta-section .section-title {
    color: var(--white);
    font-size: 3rem;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 700px;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-section .primary-cta {
    background-color: var(--white);
    color: var(--gold);
    font-size: 1.1rem;
    padding: 18px 40px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .primary-cta:hover {
    background-color: var(--black);
    color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.cta-secondary-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

/* Download Section */
.download-section {
    background-color: var(--white);
}

.download-options-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--light-gray);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--light-gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-section .contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.2rem;
    color: var(--white);
    background-color: var(--dark-gray);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--dark-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

.footer-legal-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Pop-up Styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
}

#pro-request-form {
    margin-top: 1.5rem;
}

.popup-content {
    background-color: var(--white);
    margin: auto;
    padding: 40px;
    border: none;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    color: var(--black);
}

.close-button {
    color: var(--dark-gray);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-button:hover, .close-button:focus {
    color: var(--gold);
}

.popup-content h2 {
    color: var(--black);
    text-align: center;
    margin-bottom: 2rem;
}

.policy-text {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 2rem;
    padding-right: 1rem;
    color: var(--dark-gray);
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#accept-download {
    display: block;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    .logo-text {
        font-size: 1.4rem;
    }
    .nav-list {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.9rem;
    }
    .hero {
        margin-top: 65px;
        padding: 80px 0 60px;
    }
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .setup-guide .step, .setup-guide .step:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
    }
    .download-options-container {
        flex-direction: column;
        align-items: center;
    }
    .video-placeholder {
        aspect-ratio: 16 / 9;
        min-height: 250px;
    }
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    .use-case-card {
        padding: 1.5rem;
    }
    .cta-section .section-title {
        font-size: 2rem;
    }
    .cta-section .section-subtitle {
        font-size: 1rem;
    }
    .cta-container {
        gap: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Bundle Promo Section */
.bundle-promo-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    padding: 80px 0;
}

.bundle-promo-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.bundle-promo-content {
    padding: 3rem;
}

.bundle-promo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.bundle-promo-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.bundle-features {
    margin-bottom: 2rem;
}

.bundle-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.bundle-feature-item i {
    color: var(--gold);
}

.bundle-price-container {
    margin-bottom: 2rem;
}

.bundle-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
}

.bundle-price-desc {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-left: 10px;
}

.bundle-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .bundle-promo-card {
        grid-template-columns: 1fr;
    }

    .bundle-promo-image {
        order: -1;
    }
}

/* AI Extension Article Styles */
.ai-extension-article {
    max-width: 1100px;
    margin: 0 auto;
}

.article-intro {
    margin-bottom: 4rem;
    text-align: center;
}

.article-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-intro-text {
    font-size: 1.15rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article-step {
    margin-bottom: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.article-step.step-2 {
    grid-template-columns: 1fr 1fr;
}

.article-step.step-2 .step-content {
    grid-column: 1;
}

.article-step.step-2 .step-image {
    grid-column: 2;
}

.article-step.step-4 {
    grid-template-columns: 1fr 1fr;
}

.article-step.step-4 .step-content {
    grid-column: 1;
}

.article-step.step-4 .step-image {
    grid-column: 2;
}

.step-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}



.step-content > p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.step-content p strong {
    color: var(--black);
    font-weight: 700;
}

.step-content > p:first-of-type {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--black);
}

.article-step-full {
    margin-bottom: 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--cream) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 12px;
    border-left: 5px solid var(--gold);
}

.article-step-full .step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-step-full > p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.article-step-full > p:first-of-type {
    font-weight: 500;
    color: var(--black);
}

.article-impact {
    margin: 4rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 3rem;
    border-radius: 12px;
}

.impact-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: 2.5rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.impact-item {
    text-align: center;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.article-closing {
    margin-top: 3rem;
    padding: 2.5rem;
    background-color: var(--white);
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    text-align: center;
}

.article-closing p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article-closing p:last-child {
    margin-bottom: 0;
}

.workflow-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.workflow-list li {
    font-size: 1.05rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.workflow-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 800;
    font-size: 1.2rem;
}

/* Responsive Article */
@media (max-width: 768px) {
    .article-subtitle {
        font-size: 1.4rem;
    }

    .article-intro-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .article-step {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .article-step.step-2 .step-content,
    .article-step.step-2 .step-image,
    .article-step.step-4 .step-content,
    .article-step.step-4 .step-image {
        grid-column: auto;
    }

    .step-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .step-content > p {
        font-size: 0.95rem;
    }

    .step-image {
        margin-bottom: 1rem;
    }

    .article-step-full {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .article-step-full .step-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .workflow-list li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .article-impact {
        padding: 2rem;
        margin: 3rem 0;
    }

    .impact-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .impact-number {
        font-size: 1.8rem;
    }

    .article-closing {
        padding: 2rem;
        border-left: 4px solid var(--gold);
    }

    .article-closing p {
        font-size: 1rem;
    }
}
