/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: #1a202c;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== ALERT BAR ===== */
.alert-bar {
    background: linear-gradient(90deg, #0069B4, #0088ff);
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 105, 180, 0.2);
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-bar.hidden {
    transform: translateY(-100%);
}

.alert-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.alert-icon {
    font-size: 1.5rem;
    opacity: 0.9;
}

.alert-content span {
    flex: 1;
    font-weight: 500;
    font-size: 1.05rem;
}

.alert-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.alert-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* ===== MAIN WRAPPER ===== */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    min-height: calc(100vh - 400px);
}

@media (max-width: 768px) {
    .main-wrapper {
        padding: 40px 20px;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    margin-bottom: 80px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.logo-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0069B4, #00a8ff);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 105, 180, 0.3);
    transform: rotate(-5deg);
    animation: float 6s ease-in-out infinite;
}

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

.main-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: #0069B4;
    -webkit-text-fill-color: #0069B4;
}

.tagline {
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 400;
    letter-spacing: 1px;
}

/* ===== SWITCHER ===== */
.switcher-container {
    background: white;
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

.switcher-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.2rem;
}

.label-active {
    color: #0069B4;
}

.label-inactive {
    color: #94a3b8;
}

.toggle-wrapper {
    position: relative;
    height: 100px;
    margin: 30px 0;
}

.toggle-checkbox {
    display: none;
}

.toggle-slider {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.toggle-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    transform: translateY(-50%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toggle-checkbox:checked ~ .toggle-slider .toggle-track {
    background: linear-gradient(90deg, #0069B4, #00a8ff);
}

.toggle-knob {
    position: absolute;
    top: 50%;
    left: 0;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 0 4px white;
    transform: translateY(-50%);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0069B4;
    overflow: hidden;
}

.toggle-knob::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0069B4, #00a8ff);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50%;
}

.toggle-checkbox:checked ~ .toggle-slider .toggle-knob::before {
    opacity: 0.1;
}

.toggle-checkbox:checked ~ .toggle-slider .toggle-knob {
    left: calc(100% - 80px);
    color: #00a8ff;
}

.toggle-knob i {
    position: absolute;
    transition: all 0.4s;
}

#iconLeft {
    left: 50%;
    transform: translateX(-50%);
}

#iconRight {
    right: 50%;
    transform: translateX(50%) scale(0);
}

.toggle-checkbox:checked ~ .toggle-slider #iconLeft {
    transform: translateX(-50%) scale(0);
}

.toggle-checkbox:checked ~ .toggle-slider #iconRight {
    transform: translateX(50%) scale(1);
}

.switcher-subtitle {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

/* ===== CARDS SECTION ===== */
.cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 1100px) {
    .cards-section {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto 60px;
    }
}

@media (max-width: 600px) {
    .cards-section {
        min-width: 100%;
    }
}

.company-card {
    background: white;
    border-radius: 28px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    transform: scale(0.95);
}

.company-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: #0069B4;
    box-shadow: 0 30px 60px -12px rgba(0, 105, 180, 0.25);
}

.card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 105, 180, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.card-header {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0069B4, #00a8ff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.card-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a202c;
}

.card-title p {
    color: #64748b;
    font-size: 1.1rem;
}

.card-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .card-features {
        grid-template-columns: 1fr;
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-2px);
    background: #f1f5f9;
}

.feature i {
    color: #0069B4;
    font-size: 1.3rem;
    width: 30px;
}

.feature span {
    font-weight: 500;
    color: #334155;
}

.card-actions {
    display: flex;
    gap: 15px;
}

@media (max-width: 600px) {
    .card-actions {
        flex-direction: column;
    }
}

.btn {
    padding: 18px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    flex: 1;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0069B4, #00a8ff);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 105, 180, 0.3);
}

.btn-outline {
    background: transparent;
    color: #0069B4;
    border: 2px solid #cbd5e0;
}

.btn-outline:hover {
    border-color: #0069B4;
    background: #f0f9ff;
    transform: translateY(-3px);
}

/* ===== INFO PANEL ===== */
.info-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    max-width: 1000px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    color: #0069B4;
    font-size: 1.5rem;
    margin-top: 4px;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #1a202c;
}

.info-item p {
    color: #64748b;
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 80px 40px 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* Social Section */
.social-section {
    text-align: center;
    margin-bottom: 60px;
}

.social-title {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #cbd5e0;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: #0069B4;
    color: white;
    transform: translateY(-5px) scale(1.1);
    border-color: #0069B4;
}

/* Links Section */
.links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.link-column h3 {
    color: #0069B4;
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.link-column a {
    display: block;
    color: #cbd5e0;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.link-column a:hover {
    color: white;
    transform: translateX(5px);
}

/* Copyright Section */
.copyright-section {
    padding-top: 40px;
}

.copyright-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

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

.copyright-logo i {
    color: #0069B4;
    font-size: 2rem;
}

.copyright-text p {
    color: #94a3b8;
    line-height: 1.6;
}

.copyright-sub {
    font-size: 0.95rem;
    margin-top: 5px;
    color: #64748b !important;
}

.badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(0, 105, 180, 0.15);
    color: #38bdf8;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 105, 180, 0.3);
}

/* ===== CONFIG HINT ===== */
.config-hint {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a202c;
    color: white;
    padding: 15px 20px;
    border-radius: 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: pulse 2s infinite;
    border: 1px solid #2d3748;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 10px 30px rgba(0, 105, 180, 0.4); }
}

.config-hint i {
    color: #0069B4;
}

.config-hint code {
    background: #2d3748;
    padding: 3px 8px;
    border-radius: 6px;
    color: #38bdf8;
    font-family: 'Courier New', monospace;
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .switcher-container {
        padding: 30px 20px;
    }
    
    .toggle-wrapper {
        height: 80px;
    }
    
    .toggle-knob {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }
    
    .toggle-checkbox:checked ~ .toggle-slider .toggle-knob {
        left: calc(100% - 65px);
    }
    
    .company-card {
        padding: 30px;
    }
    
    .card-title h2 {
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 60px 20px 30px;
    }
    
    .links-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .copyright-content {
        flex-direction: column;
        text-align: center;
    }
    
    .config-hint {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
    }
}