* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #37FF8B;
    --green-dark: #2ea85a;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --card-hover: #252525;
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.5);
    --border-color: rgba(55, 255, 139, 0.2);
    --border-hover: rgba(55, 255, 139, 0.4);
    --shadow: 0 10px 40px rgba(0,0,0,0.5);
    --shadow-green: 0 10px 40px rgba(55, 255, 139, 0.2);
}

body {
    font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
    font-weight: 500;
    background-color: #0f0f0f;
    background-image: linear-gradient(0deg, transparent 24%, rgba(114, 114, 114, 0.25) 25%, rgba(114, 114, 114, 0.25) 26%, transparent 27%,transparent 74%, rgba(114, 114, 114, 0.25) 75%, rgba(114, 114, 114, 0.25) 76%, transparent 77%,transparent),
        linear-gradient(90deg, transparent 24%, rgba(114, 114, 114, 0.25) 25%, rgba(114, 114, 114, 0.25) 26%, transparent 27%,transparent 74%, rgba(114, 114, 114, 0.25) 75%, rgba(114, 114, 114, 0.25) 76%, transparent 77%,transparent);
    background-size: 55px 55px;
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    scroll-behavior: smooth;
    height: 100vh;
    overflow-y: auto;
}


/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.logo-section .badge {
    background: rgba(55, 255, 139, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 12px;
}

.nav-btn {
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    --border-right: 6px;
    --text-stroke-color: rgba(255,255,255,0.6);
    --animation-color: #37FF8B;
    --fs-size: 1em;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
    overflow: hidden;
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--dark-bg);
    -webkit-text-stroke: none;
    box-shadow: var(--shadow-green);
}

.nav-btn:hover:not(.active) {
    background: rgba(255,255,255,0.05);
    color: var(--green);
}

.nav-btn .actual-text,
.nav-btn .hover-text {
    position: relative;
    z-index: 2;
}

/* Burger Menu */
.menu-btn {
    display: none;
    position: fixed;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 4px;
    background: linear-gradient(45deg, rgb(103, 34, 240) 0%, rgb(85, 0, 182) 100%);
    transition: all .6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    cursor: pointer;
    z-index: 1000;
}

.menu-btn:before, .menu-btn:after {
    content: '';
    position: absolute;
    display: block;
    width: 30px;
    height: 4px;
    left: 0;
    background: linear-gradient(45deg, rgba(103, 34, 240) 0%, rgba(85, 0, 182) 100%);
    transition: all .5s;
}

.menu-btn:before {
    top: -12px;
}

.menu-btn:after {
    top: 12px;
}

.menu-btn.open {
    transform: rotate(225deg);
}

.menu-btn.open:before, .menu-btn.open:after {
    top: 0px;
}

.menu-btn.open:after {
    transform: rotate(90deg);
    width: 40px;
}

/* Main Container */
.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.main-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}


/* Home Section */
.home-section {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.home-hero-card {
    background: rgba(15, 15, 15, 0.4);
    border: 1px solid rgba(55, 255, 139, 0.2);
    border-radius: 30px;
    padding: 80px 60px;
    margin: 0 auto 50px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(55, 255, 139, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.home-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(55, 255, 139, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.home-section .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(55, 255, 139, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
}

.home-section .live-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--green);
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.1);
    }
}

.home-section h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -1px;
}

.home-section p {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.home-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 100px;
    flex-wrap: wrap;
}

.home-btn {
    padding: 18px 40px;
    border-radius: 12px;
    border: 2px solid var(--green);
    background: transparent;
    color: var(--green);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-btn:hover {
    background: var(--green);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

/* Feature Cards */
.features-grid-wrapper {
    margin-top: 80px;
    width: 100%;
    overflow: hidden;
    position: relative;
    min-height: 500px;
}

.features-grid {
    display: flex;
    gap: 100px;
    padding: 20px 0;
    will-change: transform;
    transform: translateX(0);
    transition: transform 0.3s ease-out;
}

.feature-card {
    padding: 10px;
    cursor: pointer;
    flex-shrink: 0;
    width: 500px;
    position: relative;
}

.feature-card--background {
    position: relative;
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .feature-card {
        width: 380px;
    }
    
    .feature-card__content {
        padding: 35px 25px;
        min-height: 380px;
    }
    
    .feature-card__title {
        font-size: 22px;
    }
    
    .feature-card__description {
        font-size: 14px;
    }
    
    .feature-card__icon {
        font-size: 50px;
    }
    
    .feature-card__badge {
        font-size: 10px;
        padding: 5px 12px;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

.feature-card__content {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: var(--shadow);
    background: var(--card-bg);
    border-radius: 24px;
    padding: 45px 40px;
    width: 100%;
    min-height: 420px;
    will-change: transform;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.feature-card__content:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

.feature-card__title {
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.feature-card__description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 15px;
    flex-grow: 1;
}

.feature-card__badge {
    background: rgba(55, 255, 139, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.feature-card__icon {
    font-size: 64px;
    margin: 20px 0;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(55, 255, 139, 0.3));
}

.feature-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.feature-tag {
    background: rgba(55, 255, 139, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(55, 255, 139, 0.2);
    color: var(--green);
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(55, 255, 139, 0.2);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.feature-card__gloss {
    opacity: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(55, 255, 139, 0.4) 0%,
        rgba(55, 255, 139, 0) 50%,
        rgba(55, 255, 139, 0) 100%
    );
    position: absolute;
    will-change: opacity;
    pointer-events: none;
}

.feature-card__gloss--animatable {
    transition: 0.3s opacity ease-out;
}

/* Section Styles */
.section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
}

.section-content-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

/* Main Platform - Glassmorphism */
.main-platform {
    background: rgba(15, 15, 15, 0.4);
    border: 1px solid rgba(55, 255, 139, 0.2);
    border-radius: 30px;
    padding: 60px 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(55, 255, 139, 0.1);
    position: relative;
    overflow: hidden;
}

.main-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(55, 255, 139, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header.left {
    text-align: left;
}

.section-label {
    display: inline-block;
    background: rgba(55, 255, 139, 0.15);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-description {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.8;
}

/* Two Column Layout */
.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 968px) {
    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-platform {
        padding: 40px 30px;
    }
    
    .home-hero-card {
        padding: 60px 40px;
    }
}




.input-section {
    background: rgba(26, 26, 26, 0.3);
    padding: 45px;
    border-radius: 25px;
    border: 1px solid rgba(55, 255, 139, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.input-group {
    margin-bottom: 30px;
}

.input-label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.input-field {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.6);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-field:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 25px rgba(55, 255, 139, 0.3);
    background: rgba(10, 10, 10, 0.8);
}

.input-field::placeholder {
    color: var(--text-muted);
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.quick-btn {
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(55, 255, 139, 0.1);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: rgba(55, 255, 139, 0.2);
    border-color: var(--green);
    transform: translateY(-2px);
}

.quick-btn.primary {
    background: rgba(55, 255, 139, 0.25);
    border-color: var(--green);
    color: var(--green);
}

/* Preview Section */
.preview-section {
    background: rgba(26, 26, 26, 0.3);
    padding: 45px;
    border-radius: 25px;
    border: 1px solid rgba(55, 255, 139, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
}

.preview-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.qr-preview {
    background: white;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.qr-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(55, 255, 139, 0.3);
}

.qr-preview canvas {
    max-width: 100% !important;
    width: 300px !important;
    height: 300px !important;
    border-radius: 10px;
    display: block !important;
    background: white !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
}

.qr-preview > div {
    color: #666 !important;
    font-size: 14px !important;
    text-align: center !important;
    width: 100% !important;
}

.preview-instructions {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

.download-btn {
    margin-top: 25px;
    padding: 16px 40px;
    border-radius: 12px;
    border: 2px solid var(--green);
    background: var(--green);
    color: var(--dark-bg);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
    background: var(--green-dark);
}

.download-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Video Player */
.video-preview {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-preview iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: none;
}

/* Audio Card */
.audio-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.audio-card-header {
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.audio-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    backdrop-filter: blur(10px);
}

.audio-card-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: 100%;
    line-height: 1.3;
}

.audio-card-desc {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 400;
}

/* Message */
.message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
}

.message.success {
    background: rgba(55, 255, 139, 0.15);
    border: 1px solid var(--green);
    color: var(--green);
}

.message.error {
    background: rgba(255, 68, 68, 0.15);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.message.info {
    background: rgba(68, 136, 255, 0.15);
    border: 1px solid #4488ff;
    color: #4488ff;
}

/* Loading */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.loader-wrapper.active {
    display: flex;
}

.loader-wrapper .loader {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    font-family: "Inter", sans-serif;
    font-size: 1.4em;
    font-weight: 500;
    color: white;
    border-radius: 50%;
    background-color: transparent;
    user-select: none;
}

.loader-wrapper .loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: transparent;
    animation: loader-rotate 2s linear infinite;
    z-index: 0;
    box-shadow:
        0 10px 20px 0 #fff inset,
        0 20px 30px 0 #ad5fff inset,
        0 60px 60px 0 #471eec inset;
}

@keyframes loader-rotate {
    0% {
        transform: rotate(90deg);
        box-shadow:
            0 10px 20px 0 #fff inset,
            0 20px 30px 0 #ad5fff inset,
            0 60px 60px 0 #471eec inset;
    }
    50% {
        transform: rotate(270deg);
        box-shadow:
            0 10px 20px 0 #fff inset,
            0 20px 10px 0 #d60a47 inset,
            0 40px 60px 0 #311e80 inset;
    }
    100% {
        transform: rotate(450deg);
        box-shadow:
            0 10px 20px 0 #fff inset,
            0 20px 30px 0 #ad5fff inset,
            0 60px 60px 0 #471eec inset;
    }
}

.loader-letter {
    display: inline-block;
    opacity: 0.4;
    transform: translateY(0);
    animation: loader-letter-anim 2s infinite;
    z-index: 1;
    border-radius: 50ch;
    border: none;
    font-weight: 600;
}

.loader-letter:nth-child(1) { animation-delay: 0s; }
.loader-letter:nth-child(2) { animation-delay: 0.1s; }
.loader-letter:nth-child(3) { animation-delay: 0.2s; }
.loader-letter:nth-child(4) { animation-delay: 0.3s; }
.loader-letter:nth-child(5) { animation-delay: 0.4s; }
.loader-letter:nth-child(6) { animation-delay: 0.5s; }
.loader-letter:nth-child(7) { animation-delay: 0.6s; }
.loader-letter:nth-child(8) { animation-delay: 0.7s; }
.loader-letter:nth-child(9) { animation-delay: 0.8s; }
.loader-letter:nth-child(10) { animation-delay: 0.9s; }
.loader-letter:nth-child(11) { animation-delay: 1.0s; }

@keyframes loader-letter-anim {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0);
    }
    20% {
        opacity: 1;
        transform: scale(1.2);
    }
    40% {
        opacity: 0.7;
        transform: translateY(0);
    }
}

/* Progress Circle */
.progress-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    outline: 1px solid var(--green);
    outline-offset: -1px;
    margin: 20px auto;
}

.progress-circle::after, .progress-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.progress-circle::after {
    content: '';
    width: 110px;
    height: 110px;
    border-radius: inherit;
    outline: inherit;
}

.circle-svg {
    stroke-dasharray: 410;
    stroke-dashoffset: 410;
    transform: rotate(-90deg);
    animation: bar-fill 8s linear forwards;
    animation-iteration-count: infinite;
}

@keyframes bar-fill {
    100% {
        stroke-dashoffset: 0;
    }
}

.progress-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--green);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .logo-section h1 {
        font-size: 24px;
    }

    nav {
        display: none;
        position: fixed;
        top: 80px;
        right: 20px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        padding: 20px;
        border-radius: 15px;
        z-index: 999;
        border: 1px solid var(--border-color);
        backdrop-filter: blur(10px);
    }

    nav.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-section h1 {
        font-size: 36px;
    }

    .home-section p {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }


    .input-section,
    .preview-section {
        padding: 30px;
    }
}

/* ChatGPT Section */
.chatgpt-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.chatgpt-card {
    width: 100%;
    max-width: 700px;
    background: rgba(26, 26, 26, 0.5);
    padding: 60px 50px;
    border-radius: 25px;
    border: 1px solid rgba(55, 255, 139, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.chatgpt-card:hover {
    border-color: rgba(55, 255, 139, 0.4);
    box-shadow: 0 20px 80px rgba(55, 255, 139, 0.1);
    transform: translateY(-5px);
}

.chatgpt-icon {
    font-size: 80px;
    margin-bottom: 30px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.chatgpt-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--green), #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chatgpt-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.chatgpt-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.chatgpt-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(55, 255, 139, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(55, 255, 139, 0.1);
    transition: all 0.3s ease;
}

.chatgpt-feature:hover {
    background: rgba(55, 255, 139, 0.1);
    border-color: rgba(55, 255, 139, 0.3);
    transform: translateX(5px);
}

.chatgpt-feature .feature-icon {
    font-size: 24px;
}

.chatgpt-feature span:last-child {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.chatgpt-open-btn {
    width: 100%;
    max-width: 400px;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: none;
    border-radius: 15px;
    color: var(--dark-bg);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(55, 255, 139, 0.3);
}

.chatgpt-open-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(55, 255, 139, 0.4);
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.chatgpt-open-btn:active {
    transform: translateY(-1px);
}

.chatgpt-open-btn .btn-icon {
    font-size: 24px;
}

.chatgpt-open-btn .btn-text {
    font-weight: 700;
}

.chatgpt-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 20px;
}

/* ChatGPT Modal */
.chatgpt-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.chatgpt-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.chatgpt-modal-content {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    max-height: 900px;
    background: rgba(15, 15, 15, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(55, 255, 139, 0.3);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatgpt-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(55, 255, 139, 0.2);
    background: rgba(26, 26, 26, 0.5);
    flex-shrink: 0;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(55, 255, 139, 0.3);
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-status {
    font-size: 12px;
    color: var(--green);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: scale(1.1);
}

.modal-btn.close-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
    color: #ff4444;
}

.chatgpt-modal-body {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
}

.chatgpt-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* AI Chat Interface */
.ai-chat-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(55, 255, 139, 0.3);
    border-radius: 3px;
}

.ai-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(55, 255, 139, 0.5);
}

.ai-message {
    display: flex;
    gap: 12px;
    animation: messageSlide 0.3s ease;
}

.ai-message-user {
    flex-direction: row-reverse;
}

.ai-message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: rgba(55, 255, 139, 0.2);
}

.ai-message-user .ai-message-avatar {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.ai-message-content {
    max-width: 70%;
    padding: 15px 20px;
    border-radius: 18px;
    line-height: 1.6;
    word-wrap: break-word;
    background: rgba(55, 255, 139, 0.1);
    border: 1px solid rgba(55, 255, 139, 0.2);
    color: var(--text-primary);
}

.ai-message-user .ai-message-content {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--dark-bg);
    border: none;
}

.ai-message-content p {
    margin: 0;
    font-size: 15px;
}

.ai-typing-indicator {
    display: flex;
    gap: 6px;
    padding: 15px 20px;
}

.ai-typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.ai-typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.ai-chat-input-area {
    padding: 20px 25px;
    border-top: 1px solid rgba(55, 255, 139, 0.1);
    background: rgba(26, 26, 26, 0.5);
}

.ai-chat-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ai-chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(55, 255, 139, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.ai-chat-input:focus {
    border-color: rgba(55, 255, 139, 0.4);
    box-shadow: 0 0 0 3px rgba(55, 255, 139, 0.1);
}

.ai-chat-input::placeholder {
    color: var(--text-muted);
}

.ai-chat-send-btn {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: none;
    color: var(--dark-bg);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(55, 255, 139, 0.3);
}

.ai-chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 255, 139, 0.4);
}

.ai-chat-send-btn:active {
    transform: translateY(0);
}

.ai-chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.ai-chat-status {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    min-height: 16px;
}

/* AI Chat Widget (Fixed Position) */
.ai-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-height: 600px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid rgba(55, 255, 139, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(55, 255, 139, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.ai-chat-widget.collapsed {
    max-height: 60px;
}

.ai-chat-widget.collapsed .ai-chat-widget-body {
    display: none;
}

.ai-chat-widget-header {
    padding: 15px 18px;
    background: rgba(55, 255, 139, 0.1);
    border-bottom: 1px solid rgba(55, 255, 139, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-chat-widget-header:hover {
    background: rgba(55, 255, 139, 0.15);
}

.widget-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.widget-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(55, 255, 139, 0.3);
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.widget-status {
    font-size: 11px;
    color: var(--green);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.widget-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.widget-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.widget-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-btn:hover {
    background: rgba(55, 255, 139, 0.2);
    border-color: rgba(55, 255, 139, 0.4);
    color: var(--green);
    transform: scale(1.1);
}

.ai-chat-widget-body {
    display: flex;
    flex-direction: column;
    height: 540px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.ai-chat-widget-content {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.blackbox-iframe {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(55, 255, 139, 0.3);
    border-radius: 12px;
    display: block;
    box-shadow: 0 0 20px rgba(55, 255, 139, 0.2), inset 0 0 20px rgba(55, 255, 139, 0.05);
}

.iframe-fallback-widget {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 10;
    padding: 20px;
}

.iframe-fallback-widget.show {
    display: flex;
}

.widget-info {
    max-width: 100%;
}

.widget-info-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.widget-info-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.widget-info-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.widget-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.widget-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(55, 255, 139, 0.1);
    border: 1px solid rgba(55, 255, 139, 0.2);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-primary);
}

.widget-feature .feature-icon {
    font-size: 16px;
}

.widget-open-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: none;
    border-radius: 12px;
    color: var(--dark-bg);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(55, 255, 139, 0.3);
    margin-top: 10px;
}

.widget-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 255, 139, 0.4);
}

.widget-open-btn:active {
    transform: translateY(0);
}

.widget-open-btn .btn-icon {
    font-size: 18px;
}

.widget-open-btn .btn-text {
    letter-spacing: 0.5px;
}

.ai-chat-messages-widget {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.ai-chat-messages-widget::-webkit-scrollbar {
    width: 4px;
}

.ai-chat-messages-widget::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.ai-chat-messages-widget::-webkit-scrollbar-thumb {
    background: rgba(55, 255, 139, 0.3);
    border-radius: 2px;
}

.ai-chat-messages-widget::-webkit-scrollbar-thumb:hover {
    background: rgba(55, 255, 139, 0.5);
}

.ai-chat-messages-widget .ai-message {
    gap: 8px;
}

.ai-chat-messages-widget .ai-message-avatar {
    width: 32px;
    height: 32px;
    font-size: 16px;
}

.ai-chat-messages-widget .ai-message-content {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
}

.ai-chat-messages-widget .ai-message-content p {
    font-size: 13px;
    line-height: 1.5;
}

.ai-chat-input-area-widget {
    padding: 12px 15px;
    border-top: 1px solid rgba(55, 255, 139, 0.1);
    background: rgba(26, 26, 26, 0.5);
}

.ai-chat-form-widget {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ai-chat-input-widget {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(55, 255, 139, 0.2);
    border-radius: 12px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.ai-chat-input-widget:focus {
    border-color: rgba(55, 255, 139, 0.4);
    box-shadow: 0 0 0 2px rgba(55, 255, 139, 0.1);
}

.ai-chat-input-widget::placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.ai-chat-send-btn-widget {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: none;
    color: var(--dark-bg);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(55, 255, 139, 0.3);
}

.ai-chat-send-btn-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(55, 255, 139, 0.4);
}

.ai-chat-send-btn-widget:active {
    transform: translateY(0);
}

.ai-chat-send-btn-widget:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.ai-chat-status-widget {
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    min-height: 14px;
}

.ai-chat-messages-widget .ai-typing-indicator {
    padding: 10px 14px;
    gap: 4px;
}

.ai-chat-messages-widget .ai-typing-indicator span {
    width: 6px;
    height: 6px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* AI Platform Section */
#ai .section-content {
    grid-template-columns: 1fr;
    gap: 0;
}

#ai .main-platform {
    padding: 40px;
}

.ai-platform-container {
    width: 100%;
    max-width: 100%;
    height: 700px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid rgba(55, 255, 139, 0.3);
    box-shadow: 0 0 30px rgba(55, 255, 139, 0.2), inset 0 0 30px rgba(55, 255, 139, 0.05);
}

.blackbox-platform-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.iframe-fallback-platform {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 10;
    padding: 40px;
}

.iframe-fallback-platform.show {
    display: flex;
}

.platform-fallback-content {
    text-align: center;
    max-width: 500px;
}

.platform-fallback-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.platform-fallback-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}

.platform-fallback-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.platform-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: none;
    border-radius: 12px;
    color: var(--dark-bg);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(55, 255, 139, 0.3);
}

.platform-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 255, 139, 0.4);
}

.platform-open-btn:active {
    transform: translateY(0);
}

.platform-open-btn .btn-icon {
    font-size: 20px;
}

.platform-open-btn .btn-text {
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-chat-widget {
        width: calc(100% - 40px);
        max-width: 380px;
        bottom: 10px;
        right: 10px;
        left: 10px;
        margin: 0 auto;
    }
    
    .ai-chat-widget-body {
        height: 400px;
    }
    
    .ai-platform-container {
        height: 500px;
    }
    
    #ai .main-platform {
        padding: 30px 20px;
    }
    
    .platform-fallback-icon {
        font-size: 48px;
    }
    
    .platform-fallback-title {
        font-size: 22px;
    }
    
    .platform-fallback-description {
        font-size: 14px;
    }
}

.iframe-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 10;
}

.iframe-fallback.show {
    display: flex;
}

.fallback-content {
    text-align: center;
    padding: 50px 40px;
    max-width: 550px;
}

.fallback-icon {
    font-size: 80px;
    margin-bottom: 25px;
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.fallback-content h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.fallback-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 35px;
}

.fallback-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.fallback-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fallback-btn.primary {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--dark-bg);
    box-shadow: 0 5px 20px rgba(55, 255, 139, 0.3);
}

.fallback-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(55, 255, 139, 0.4);
}

.fallback-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fallback-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.fallback-btn span {
    font-size: 18px;
}

@media (max-width: 768px) {
    .chatgpt-modal-content {
        height: 95vh;
        max-height: none;
        border-radius: 15px;
    }
    
    .chatgpt-modal-header {
        padding: 15px 20px;
    }
    
    .modal-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .modal-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

.chatgpt-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(55, 255, 139, 0.1);
    background: rgba(26, 26, 26, 0.3);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(55, 255, 139, 0.3);
}

.chat-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.chat-status {
    font-size: 13px;
    color: var(--green);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chat-clear-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 16px;
}

.chat-clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.chatgpt-messages {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
}

.chatgpt-messages::-webkit-scrollbar {
    width: 6px;
}

.chatgpt-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.chatgpt-messages::-webkit-scrollbar-thumb {
    background: rgba(55, 255, 139, 0.3);
    border-radius: 3px;
}

.chatgpt-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(55, 255, 139, 0.5);
}

.message {
    display: flex;
    gap: 12px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--dark-bg);
}

.bot-message .message-content {
    background: rgba(55, 255, 139, 0.1);
    border: 1px solid rgba(55, 255, 139, 0.2);
    color: var(--text-primary);
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.bot-message .message-avatar {
    background: rgba(55, 255, 139, 0.2);
}

.message-content {
    max-width: 70%;
    padding: 15px 20px;
    border-radius: 18px;
    line-height: 1.6;
    word-wrap: break-word;
}

.message-content p {
    margin: 0;
    font-size: 15px;
}

.message-typing {
    display: flex;
    gap: 6px;
    padding: 15px 20px;
}

.message-typing span {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.message-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.message-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatgpt-input-area {
    padding: 20px 25px;
    border-top: 1px solid rgba(55, 255, 139, 0.1);
    background: rgba(26, 26, 26, 0.3);
}

.chat-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(55, 255, 139, 0.2);
    border-radius: 15px;
    padding: 12px;
    transition: all 0.3s ease;
}

.chat-input-wrapper:focus-within {
    border-color: rgba(55, 255, 139, 0.4);
    box-shadow: 0 0 0 3px rgba(55, 255, 139, 0.1);
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    resize: none;
    max-height: 120px;
    overflow-y: auto;
    padding: 8px;
    outline: none;
}

.chat-input::placeholder {
    color: var(--text-muted);
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: none;
    color: var(--dark-bg);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(55, 255, 139, 0.3);
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(55, 255, 139, 0.4);
}

.chat-send-btn:active {
    transform: translateY(0);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .chatgpt-chat-wrapper {
        height: 600px;
    }
    
    .chatgpt-chat-header {
        padding: 15px 20px;
    }
    
    .chat-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .chat-title {
        font-size: 16px;
    }
    
    .chatgpt-messages {
        padding: 20px;
    }
    
    .message-content {
        max-width: 85%;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .chatgpt-input-area {
        padding: 15px 20px;
    }
}

