/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #040404;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(64, 64, 64, 0.3);
}

/* Override any scroll-based background changes */
.navbar.scrolled,
.navbar:hover,
.navbar.active {
    background: rgba(0, 0, 0, 0.9) !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

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

.nav-link {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #888888;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Button Ripple Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Thriller Mode Styles */
.thriller-mode {
    background: 
        linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.8) 100%),
        url('../images/image.png');
    background-size: 45%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.thriller-mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    animation: subtleAtmosphere 15s ease-in-out infinite alternate;
}

@keyframes subtleAtmosphere {
    0% { opacity: 0.4; }
    100% { opacity: 0.6; }
}

.thriller-text-sequence {
    text-align: left;
    max-width: 700px;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.thriller-line {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    color: #e8e8e8;
    margin: 1.5rem 0;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

.thriller-line.fade-in-1,
.thriller-line.fade-in-2,
.thriller-line.fade-in-3,
.thriller-line.fade-in-5,
.thriller-line.fade-in-6 {
    opacity: 0;
    transform: translateY(20px);
}

.thriller-title {
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 4.5rem !important;
    font-weight: 400 !important;
    margin: 2.5rem 0 !important;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.thriller-title.fade-in-4 {
    opacity: 0;
    transform: translateY(20px);
}

.thriller-slogan {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #b8b8b8;
    margin: -3.5rem 0 2rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
}

/* Removed aggressive glitch effect for subtle professional look */

.coming-soon-thriller {
    margin-top: 3rem;
}

.coming-soon-thriller.fade-in-7 {
    opacity: 0;
    transform: translateY(20px);
}

.thriller-coming-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #b8b8b8;
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.thriller-date {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #888888;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Fade in animations */
.fade-in-1 { animation: fadeInUp 1s ease-out 0.5s forwards; }
.fade-in-2 { animation: fadeInUp 1s ease-out 1.5s forwards; }
.fade-in-3 { animation: fadeInUp 1s ease-out 2.5s forwards; }
.fade-in-4 { animation: titleReveal 1.5s ease-out 3.5s forwards; }
.fade-in-5 { animation: fadeInUp 1s ease-out 5s forwards; }
.fade-in-6 { animation: fadeInUp 1s ease-out 6s forwards; }
.fade-in-7 { animation: finalReveal 1.5s ease-out 7s forwards; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes finalReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Thriller Contact Styles */
.thriller-contact {
    background: rgba(25, 25, 25, 0.9) !important;
    border: 1px solid rgba(80, 80, 80, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    max-width: 500px;
    width: 100%;
    opacity: 0.9;
}

.thriller-contact-title {
    color: #d4d4d4 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.thriller-contact-text {
    color: #a8a8a8 !important;
    line-height: 1.6;
    font-size: 1.35rem !important;
    margin-bottom: 1.5rem !important;
}

.limited-spots {
    color: #CC5739 !important;
    font-weight: 600 !important;
}

.thriller-contact .contact-item {
    color: #a8a8a8 !important;
}

.thriller-contact .contact-item i {
    color: #888888 !important;
}

.contact-details-bottom {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(80, 80, 80, 0.2);
}

.contact-item-subtle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666666 !important;
    font-size: 0.85rem;
    justify-content: center;
}

.contact-item-subtle i {
    color: #666666 !important;
    font-size: 0.8rem;
}

.thank-you-message {
    text-align: center;
    padding: 2rem;
    animation: fadeInSuccess 0.8s ease-out;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Override all bright colors in thriller mode */
.thriller-mode .contact-form-container {
    background: rgba(20, 20, 20, 0.9) !important;
    border: 1px solid rgba(60, 60, 60, 0.4) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

.thriller-mode .form-group label {
    color: #b8b8b8 !important;
    font-weight: 500 !important;
}

.thriller-mode .form-group input,
.thriller-mode .form-group select,
.thriller-mode .form-group textarea {
    background: rgba(35, 35, 35, 0.8) !important;
    color: #d4d4d4 !important;
    border: 1px solid rgba(80, 80, 80, 0.4) !important;
    padding: 10px 14px !important;
}

.thriller-mode .form-group input:focus,
.thriller-mode .form-group select:focus,
.thriller-mode .form-group textarea:focus {
    border-color: #888888 !important;
    box-shadow: 0 0 0 2px rgba(136, 136, 136, 0.2) !important;
}

.thriller-mode .btn-primary {
    background: linear-gradient(135deg, #505050, #404040) !important;
    border: 1px solid rgba(80, 80, 80, 0.5) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    color: #d4d4d4 !important;
}

.thriller-mode .btn-primary:hover {
    background: linear-gradient(135deg, #606060, #505050) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* Thriller Footer */
.thriller-footer {
    background: #0a0a0a !important;
    border-top: 1px solid rgba(64, 64, 64, 0.3);
}

.thriller-footer-title {
    color: #a8a8a8 !important;
    font-weight: 600 !important;
}

.thriller-footer-text {
    color: #666666 !important;
    font-style: italic;
    font-size: 0.95rem;
}

.thriller-footer-copyright {
    color: #505050 !important;
    font-size: 0.85rem;
}

.thriller-mode .content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 6rem;
    align-items: start;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.gradient-text {
    background: linear-gradient(135deg, #d4d4d4, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    justify-content: center;
}

.mystery-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mystery-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.mystery-icon {
    font-size: 4rem;
    color: #2563eb;
    animation: pulse 2s infinite;
    z-index: 1;
    position: relative;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.mystery-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e2e8f0;
    z-index: 1;
    position: relative;
}

.flow-node {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    color: white;
    text-align: center;
    min-width: 120px;
}

.flow-node.agent {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.flow-node.database {
    background: linear-gradient(135deg, #10b981, #059669);
}

.flow-node.monitor {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.flow-arrow {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: bold;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.problem-icon i {
    font-size: 2rem;
    color: white;
}

.problem-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.problem-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.feature-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: white;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #64748b;
}

.benefits-list i {
    color: #10b981;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.security-dashboard {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metric:last-child {
    border-bottom: none;
}

.metric-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #64748b;
}

.contact-item i {
    color: #2563eb;
    font-size: 1.2rem;
    width: 20px;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

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

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e2e8f0;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        backdrop-filter: blur(15px);
    }

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

    .thriller-mode .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
        text-align: center;
    }

    .thriller-text-sequence {
        text-align: center;
        max-width: 100%;
    }

    .thriller-title {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    .thriller-line {
        font-size: 1.2rem;
    }

    .thriller-contact {
        max-width: 100%;
        margin: 0 auto;
    }

    .benefits-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .thriller-title {
        font-size: 2rem !important;
    }

    .thriller-line {
        font-size: 1.1rem;
        margin: 1rem 0;
    }

    .thriller-mode .content-wrapper {
        padding: 0 1rem;
        gap: 2rem;
    }

    .thriller-contact {
        padding: 1.5rem;
    }

    .thriller-contact-title {
        font-size: 1.3rem !important;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .benefits-text h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for form submission */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn-primary {
    background: #94a3b8;
}

/* Success message */
.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

/* Error message */
.error-message {
    background: #CC5739;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    display: none;
}

/* Form validation styling */
.form-group input:invalid {
    border-color: #CC5739 !important;
    box-shadow: 0 0 0 2px rgba(204, 87, 57, 0.2) !important;
}

.thriller-mode .form-group input:invalid {
    border-color: #CC5739 !important;
    box-shadow: 0 0 0 2px rgba(204, 87, 57, 0.2) !important;
}
