/* ============================================
   REDCON License Management System
   Modern Dark Theme
   ============================================ */

:root {
    /* Redcon Dark Theme Colors */
    --redcon-primary: #dc2626;
    --redcon-primary-light: #ef4444;
    --redcon-primary-dark: #991b1b;
    
    --redcon-dark: #0a0a0a;
    --redcon-dark-light: #1a1a1a;
    --redcon-dark-lighter: #2a2a2a;
    
    --redcon-accent: #3b82f6;
    --redcon-accent-green: #10b981;
    --redcon-accent-purple: #8b5cf6;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Gradients */
    --gradient-redcon: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-red: 0 20px 40px -8px rgba(220, 38, 38, 0.4);
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.3);
    
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-300);
    background-color: var(--redcon-dark);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    font-family: var(--font-heading);
}

.navbar-brand i {
    color: var(--redcon-primary);
    font-size: 1.75rem;
}

.brand-text {
    font-family: var(--font-heading);
    color: var(--white);
    letter-spacing: 2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--redcon-primary);
}

.btn-outline-light {
    border: 2px solid var(--redcon-primary);
    color: var(--redcon-primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--redcon-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--redcon-primary);
    color: var(--white);
    border: none;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background: var(--redcon-primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION - REDCON
   ============================================ */

.hero-section-redcon {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background-redcon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    z-index: 1;
}

.animated-grid-redcon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(220, 38, 38, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 38, 38, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

.gradient-orb-redcon {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: float 8s ease-in-out infinite;
}

.gradient-orb-redcon.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #dc2626 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.gradient-orb-redcon.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.hero-section-redcon .container {
    position: relative;
    z-index: 2;
}

.redcon-logo-container {
    position: relative;
}

.redcon-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-redcon);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-red);
    animation: iconPulse 3s ease-in-out infinite;
}

.redcon-icon i {
    font-size: 4rem;
    color: var(--white);
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: var(--shadow-red);
        transform: scale(1);
    }
    50% {
        box-shadow: var(--shadow-glow);
        transform: scale(1.05);
    }
}

/* Navbar Logo */
.navbar-logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2));
}

.navbar-logo:hover {
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 45px;
    }
}

.redcon-tagline {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--gray-400);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0;
    animation: fadeInUp 1s ease 0.2s both;
}

.redcon-hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    animation: fadeInUp 1s ease 0.4s both;
}

.redcon-hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-400);
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-redcon-primary {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    background: var(--gradient-redcon);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-red);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-redcon-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    color: var(--white);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator-redcon {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray-500);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator-redcon:hover {
    color: var(--redcon-primary);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator-redcon p {
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.mouse-redcon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    position: relative;
    transition: border-color 0.3s ease;
}

.scroll-indicator-redcon:hover .mouse-redcon {
    border-color: var(--redcon-primary);
}

.mouse-redcon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gray-500);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0.5;
        top: 16px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ============================================
   CONTACT SECTION - REDCON
   ============================================ */

.contact-section-redcon {
    padding: 6rem 0;
    background: var(--redcon-dark-light);
    position: relative;
}

.section-title-redcon {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-description-redcon {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.8;
}

.contact-card-redcon {
    background: var(--redcon-dark);
    border: 2px solid var(--redcon-dark-lighter);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card-redcon:hover {
    transform: translateY(-10px);
    border-color: var(--redcon-primary);
    box-shadow: var(--shadow-red);
}

.contact-icon-redcon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-icon-redcon.email {
    background: var(--gradient-redcon);
    box-shadow: var(--shadow-red);
}

.contact-card-redcon:hover .contact-icon-redcon {
    transform: scale(1.1) rotate(5deg);
}

.contact-title-redcon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-description-redcon {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link-redcon {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--redcon-primary);
    display: block;
    margin-bottom: 1rem;
}

.contact-link-redcon:hover {
    color: var(--redcon-primary-light);
}

.contact-meta-redcon {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50px;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ============================================
   REQUEST SECTION - REDCON
   ============================================ */

.request-section-redcon {
    padding: 8rem 0 6rem;
    background: var(--redcon-dark);
    min-height: 100vh;
}

.request-header-redcon {
    margin-bottom: 3rem;
}

.redcon-icon-badge {
    width: 100px;
    height: 100px;
    background: var(--gradient-redcon);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-red);
    margin-bottom: 1.5rem;
}

.redcon-icon-badge i {
    font-size: 3rem;
}

.request-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.request-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.8;
}

.request-form-card {
    background: var(--redcon-dark-light);
    border: 2px solid var(--redcon-dark-lighter);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-group-redcon {
    margin-bottom: 1.5rem;
}

.form-label-redcon {
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.form-label-redcon i {
    color: var(--redcon-primary);
}

.form-input-redcon {
    width: 100%;
    border: 2px solid var(--redcon-dark-lighter);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--redcon-dark);
    color: var(--white);
}

.form-input-redcon::placeholder {
    color: var(--gray-600);
}

.form-input-redcon:focus {
    outline: none;
    border-color: var(--redcon-primary);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.btn-redcon-submit {
    background: var(--gradient-redcon);
    color: var(--white);
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-red);
}

.btn-redcon-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.alert-redcon {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.alert-redcon.success {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    color: #34d399;
}

.alert-redcon.danger {
    background: rgba(220, 38, 38, 0.1);
    border: 2px solid var(--redcon-primary);
    color: var(--redcon-primary-light);
}

.alternative-contact-redcon {
    padding: 1.5rem;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 16px;
}

.quick-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--redcon-dark-light);
    border: 2px solid var(--redcon-dark-lighter);
    border-radius: 10px;
    color: var(--gray-300);
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-contact-btn:hover {
    border-color: var(--redcon-primary);
    color: var(--redcon-primary);
    transform: translateY(-2px);
}

.back-link-redcon {
    color: var(--gray-400);
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link-redcon:hover {
    color: var(--redcon-primary);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--redcon-dark-light);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid var(--redcon-dark-lighter);
}

.footer-brand h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 60px;
    max-width: 250px;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.3));
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.5));
    transform: translateY(-2px);
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--redcon-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
    border: 2px solid var(--redcon-dark-lighter);
}

.social-link:hover {
    background: var(--redcon-primary);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--redcon-primary);
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--redcon-primary);
    padding-left: 5px;
}

.footer-divider {
    border-color: var(--redcon-dark-lighter);
    margin: 2rem 0;
}

.footer-copyright,
.footer-credit {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-redcon);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-red);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
    .hero-section-redcon {
        padding: 6rem 0 3rem;
    }
    
    .contact-section-redcon {
        padding: 4rem 0;
    }
}

@media (max-width: 767px) {
    .hero-section-redcon {
        padding: 5rem 0 3rem;
    }
    
    .redcon-icon {
        width: 90px;
        height: 90px;
        border-radius: 20px;
    }
    
    .redcon-icon i {
        font-size: 3rem;
    }
    
    .redcon-brand-name {
        letter-spacing: 4px;
    }
    
    .redcon-tagline {
        letter-spacing: 2px;
    }
    
    .btn-redcon-primary {
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
    }
    
    .contact-card-redcon {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-icon-redcon {
        width: 80px;
        height: 80px;
    }
    
    .contact-icon-redcon i {
        font-size: 2rem;
    }
    
    .request-section-redcon {
        padding: 5rem 0 3rem;
    }
    
    .request-form-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .request-form-card {
        padding: 1.5rem 1rem;
    }
    
    .scroll-indicator-redcon {
        display: none;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-logo-container {
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 45px;
        max-width: 180px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-copyright,
    .footer-credit {
        text-align: center !important;
    }
}
