:root {
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --accent-green: #10b981;
    --dark-bg: #0a0a0f;
    --dark-secondary: #12121a;
    --dark-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border-color: rgba(139, 92, 246, 0.3);
    --glow-purple: 0 10px 40px rgba(139, 92, 246, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.ant-emoji {
    font-size: 2rem;
}

.logo-text {
    color: var(--primary-purple);
    font-family: 'Orbitron', sans-serif;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.7rem 1.8rem;
    background: var(--primary-purple);
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--glow-purple);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.8);
}

.main-content {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.video-generator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.generator-card,
.preview-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 2.5rem;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.icon-wrapper {
    display: inline-block;
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
}

.generator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

textarea,
select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 0.9rem;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
    width: 100%;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
    cursor: pointer;
}

select option {
    background: var(--dark-secondary);
    color: var(--text-primary);
    padding: 0.5rem;
}

textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

textarea::placeholder {
    color: var(--text-secondary);
}

.char-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: right;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-purple);
}

.btn-generate {
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: 'Poppins', sans-serif;
}

.btn-generate:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
}

.btn-generate:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.3rem;
}

.preview-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.preview-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.status-badge {
    background: var(--accent-green);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.preview-area {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(139, 92, 246, 0.3);
}

.preview-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.preview-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-purple);
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-secondary);
    border: 2px solid var(--primary-purple);
    border-radius: 25px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s infinite ease-in-out;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.modal-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-close {
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-close:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-purple);
}

/* MAC Holder CTA */
.mac-holder-cta {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding: 3rem 0;
    margin-top: 4rem;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-text h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.cta-text p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.btn-buy-mac {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    border: 2px solid var(--primary-purple);
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    white-space: nowrap;
}

.btn-buy-mac:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
    border-color: var(--accent-green);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: 4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: var(--primary-purple);
    font-family: 'Orbitron', sans-serif;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .video-generator {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(139, 92, 246, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav-cta {
        display: none;
    }

    .main-content {
        padding-top: 90px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .generator-card,
    .preview-card {
        padding: 1.5rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text h3 {
        font-size: 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .page-header {
        margin-bottom: 2rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .generator-card,
    .preview-card {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    textarea,
    select {
        padding: 0.875rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    select {
        background-size: 18px;
        padding-right: 2.5rem;
    }

    .char-count {
        font-size: 0.8rem;
    }

    .generate-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .info-icon {
        font-size: 2rem;
    }

    .info-content h4 {
        font-size: 1rem;
    }

    .info-content p {
        font-size: 0.85rem;
    }

    .modal-content {
        margin: 0.5rem;
        padding: 1.5rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-content p {
        font-size: 0.95rem;
    }

    .mac-holder-cta {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .cta-text h3 {
        font-size: 1.3rem;
    }

    .cta-text p {
        font-size: 0.9rem;
    }

    .btn-buy-mac {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 2rem;
    }

    .footer-top {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-column a {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}
