/* AI Integration Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0091ff;
    --dark: #000000;
    --light: #ffffff;
    --gray: #666;
    --card-bg: #fafafa;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter Tight', sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    background: var(--dark);
}

/* Hero Section */
.ai-hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    background-image: 
        radial-gradient(circle at center, transparent 0%, var(--dark) 70%),
        linear-gradient(rgba(41, 43, 41, 0.7) .1em, transparent .1em), 
        linear-gradient(90deg, rgba(40, 43, 40, 0.7) .1em, transparent .1em);
    background-size: 100% 100%, 3em 3em, 3em 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}

.ai-hero-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.ai-hero-header {
    text-align: center;
    max-width: 900px;
}

.ai-hero-subtitle {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.ai-hero-title {
    font-size: 5rem;
    font-weight: 400;
    color: var(--light);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.ai-hero-subtext {
    font-size: 1.3rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.ai-hero-subtext span {
    font-weight: 600;
    color: var(--primary);
}

.ai-hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.ai-cta {
    background: var(--light);
    color: var(--dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-cta:hover {
    transform: scale(1.05);
}

.ai-learn-more {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 1s ease;
    overflow: hidden;
    will-change: transform;
    cursor: pointer;
}

.ai-learn-more::before {
    content: '';
    inset: 0;
    height: 100%;
    width: 100%;
    background: white;
    position: absolute;
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 1s ease;
    z-index: -1;
    will-change: clip-path;
}

.ai-learn-more:hover::before {
    clip-path: circle(100% at 50% 50%);
}

.ai-learn-more:hover {
    color: black;
}

/* Responsive */
@media (max-width: 943px) {
    .ai-hero {
        padding: 8rem 5% 4rem;
        min-height: auto;
    }

    .ai-hero-title {
        font-size: 3rem;
    }

    .ai-hero-subtext {
        font-size: 1.1rem;
    }

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

    .ai-cta,
    .ai-learn-more {
        width: 100%;
        text-align: center;
    }
}


@media (max-width: 576px) {
    .ai-hero-title {
        font-size: 2rem;
    }
}

.main {
         min-height: 100vh;
        width: 100%;
        display: grid;
        place-items: center;
        background:rgb(9,9,9);
        position: relative;
    }
    .ai-dashboard {
           height:850px;
            width:1200px;
            border-radius: 30px;
            background: black;
            /* background-image: 
                radial-gradient(circle at center, transparent 0%, var(--dark) 95%),
                linear-gradient(#080a0a .1em, transparent .1em), 
                linear-gradient(90deg, #0e1012 .1em, transparent .1em); */
            background-size: 100% 100%, 3em 3em, 3em 3em;
            border:1px solid rgb(20,20,20);
            display: flex;
            overflow: hidden;
            z-index: 100;
            position: relative;
            filter: blur(10px);
            opacity: 0.5;
    }
    .user {
        position: absolute;
        top:50px;
        right:100px;
        width:auto;
        background:rgb(255,255,255,0.05);
        height:45px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: 'Inter Tight', sans-serif;
        gap:10px;
        padding-inline: 10px;
        border-radius: 7px;
        cursor: pointer;
        transition: background 0.3s ease;
        z-index: 100;
    }
    .user:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    .user p {
        color:white;
        font-size: 1rem;
        font-family: 'Bebas Neue', sans-serif;
        margin: 0;
    }
    .user-arrow {
        fill: rgba(255, 255, 255, 0.6);
        transition: transform 0.3s ease;
    }
    .user.active .user-arrow {
        transform: rotate(180deg);
    }
    .user-dropdown {
        position: absolute;
        top: 105px;
        right: 100px;
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.98));
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 8px;
        min-width: 200px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 99;
        backdrop-filter: blur(10px);
    }
    .user-dropdown.active {
        opacity: 1;
        visibility: visible;
    }
    .user-dropdown-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
    }

    .user-dropdown-item svg {
        fill: rgba(255, 255, 255, 0.6);
        transition: fill 0.2s ease;
    }
   
    .user-dropdown-item:hover {
        background: rgba(255,255,255,0.1)
    }

    .user-dropdown-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 8px 0;
    }
    .user svg {
        cursor: pointer;
    }
    .line-1 {
        height:1px;
        width: 100%;
        position: absolute;
        top:25%;
        background:rgb(43, 43, 43);
        z-index: 0;
    }
    .line-2 {
        height:100%;
        width: 1px;
        position: absolute;
        left:10%;
        background:rgb(43, 43, 43);
    }
    .line-3 {
        height:100%;
        width: 1px;
        position: absolute;
        right:10%;
        background:rgb(43, 43, 43);
    }
    .toolbar {
        height:100%;
        width:105px;
        background:black;
        border-right:1px solid #20292d;
        display:flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding-block: 50px;
        background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgb(3, 3, 3) 45%, #232e32 100%);
    }
    .toolbar > img, .toolbar > .toolbar-options > svg, .toolbar > .user-options > svg {
        cursor: pointer;
    }
    .toolbar > svg {
        cursor: pointer;
    }
    .logo img {
        object-fit: cover;
    }
    .toolbar-options {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 100px;
    }
    .user-options {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .user-options img {
        clip-path: circle();
    }
    .ai-content {
        margin-top: 100px;
        height:calc(100% - 100px);
        width: 100%;
        display: flex; flex-direction: column; gap:20px;
        padding: 50px 100px;
    }
    .ai-generated-content {
        width: 100%;
        height: auto;
        transition: height 500ms ease-in-out;
        display: flex;
        flex: 2;
        flex-direction: column;
    }
    .ai-chat-suggestions{
        width: 100%;
        height:150px;
        flex:1;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding:5px;
    }
    .ai-chat-suggestions div {
        width: 100%;
    }
    .first {
        background: linear-gradient(-45deg, rgb(0, 0, 0) 0%, rgb(3, 3, 3) 45%, #382435 100%);
        border:2px solid #382435;
        border-radius: 14px;
        padding:10px;
        display: flex; flex-direction: column; gap:10px;
        
    }
    .chip-one {
        background:#ff55e6;
        padding:5px;
        border-radius: 4px;
        display: inline !important;
        color: white;
        font-weight: 700;
    }
    .second {
         background: linear-gradient(-45deg, rgb(0, 0, 0) 0%, rgb(3, 3, 3) 45%, #2f2438 100%);
        border:2px solid #2f2438 ;
        border-radius: 14px;
        padding:10px;
        display: flex; flex-direction: column; gap:10px;
    }
    .chip-two {
         background:#b253ff ;   
        padding:5px;
        border-radius: 4px;
        display: inline;
        color: white;
        font-weight: 700;
    }
        .third {
         background: linear-gradient(-45deg, rgb(0, 0, 0) 0%, rgb(3, 3, 3) 45%, #243238 100%);
        border:2px solid #243238 ;
        border-radius: 14px;
        padding:10px;
        display: flex; flex-direction: column; gap:10px;
    }
    .chip-three {
         background:#38c3ff ;   
        padding:5px;
        border-radius: 4px;
        display: inline;
        color: white;
        font-weight: 700;
    }
    .ai-greeting {
        flex:2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-inline:5px;
    }
    .ai-greeting h2 {
        color: white;
        font-size: 4rem;
        text-align: center;
    }
    .ai-greeting p {
        color:rgb(122, 122, 122);
       text-align: center;
    }
    .ai-chat-suggestions p {
        color: rgb(122, 122, 122);
        text-wrap: wrap;
        max-width: 200px;
        font-size: 0.8rem;
        line-height: 1.6rem;
    }
    .ai-chat-box{
        width: 100%;
        height:100%;
        background: linear-gradient(-45deg, rgb(0, 0, 0) 0%, rgb(3, 3, 3) 55%, #39505a 100%);
        display: flex; flex-direction: column;justify-content: space-between;
        box-shadow: inset 5px 5px 0px #000000,
            inset -5px -5px 0px #254a59;
        flex:1;
        border-radius: 24px;
        overflow: hidden;
        padding: 25px;
        position: relative;
    }
    .ai-chat-box > .synth {
        position: absolute;
        top:25px;
        right:25px;
    }

    .ai-chat-box > .plus-btn {
        position: absolute;
        left:25px;
        top: 20px;
    }

    .ai-chat-box input{
        width: 100%;
        background:transparent;
        border:none;
        outline: none;
        resize: none;
        color: rgb(218, 218, 218);
        padding-bottom: 25px;
        border-bottom: 2px solid #4787a3;
        padding-left: 55px;
    }
    .chatbot-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .chatbot-options button {
        background:transparent;
        border:none;
        outline: none;
        cursor: pointer;
    }
    .ai-chat-box > .chatbot-options > .submit-btn {
        background:#4787a3;
        height:40px;
        width: 40px;
        border-radius: 6px;
        display: grid;
        place-content: center;
        cursor: pointer;
    }
    .option-1 {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .ai-suggestions-two {
        width: 100%;
        display: flex;
        gap: 20px;
        justify-content: space-between;
    }

    .ai-suggestions-two > div {
        padding:10px;
        background:rgba(255,255,255,0.05);
        border-radius: 8px;
        border:rgba(255,255,255,0.1)
    }

/* AI Features Section */
.ai-features-section {
    background: var(--light);
    padding: 8rem 5%;
}

.ai-features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.ai-features-content h2 {
    font-size: 4rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ai-features-content p {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.ai-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-feature-item {
    font-size: 1.05rem;
    color: var(--dark);
    padding-left: 2rem;
    position: relative;
}

.ai-feature-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.ai-features-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ai-features-image {
    position: relative;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow:  5px 5px 10px #bebebe,
    -5px -5px 10px #ffffff;
}

.ai-features-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform;
    transition: transform 400ms ease;
    display: block;
}

.ai-features-image:hover img {
    transform: scale(1.05);
}

/* FAQ Section */
.ai-faq-section {
    background: var(--light);
    padding: 8rem 5%;
    position: relative;
    min-height: 110vh;
}

.ai-faq-heading {
    font-size: 4rem;
    font-weight: 500;
    color: var(--dark);
    text-align: center;
    margin-bottom: 4rem;
    line-height: 1.2;
}

.ai-faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.ai-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid #e0e0e0;
}

.ai-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ai-faq-question {
    width: 100%;
    padding: 1.5rem 2rem 0.5rem 2rem;
    background: transparent;
    border: none;
    text-align: left;
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.ai-faq-answer {
    max-height: none;
    opacity: 1;
}

.ai-faq-item.active .ai-faq-answer {
    max-height: none;
    opacity: 1;
}

.ai-faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
    margin: 0;
    padding: 0 2rem 1.5rem 2rem;
}

/* Responsive for Features and FAQ */
@media (max-width: 943px) {
    .ai-features-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ai-features-content h2 {
        font-size: 2.5rem;
    }

    .ai-faq-heading {
        font-size: 2.5rem;
    }

    .ai-faq-section {
        padding: 4rem 5%;
    }

    .ai-faq-heading {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .ai-faq-question {
        padding: 1.2rem 1.5rem 0.4rem 1.5rem;
        font-size: 1rem;
    }

    .ai-faq-answer p {
        font-size: 0.95rem;
        padding: 0 1.5rem 1.2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .ai-faq-heading {
        font-size: 2rem;
    }

    .ai-faq-question {
        padding: 1rem 1.2rem 0.3rem 1.2rem;
        font-size: 0.95rem;
    }

    .ai-faq-answer p {
        font-size: 0.9rem;
        padding: 0 1.2rem 1rem 1.2rem;
    }
}