/* Toptech Developers - EXE Download Site Theme Settings */

:root {
    /* Color Palette */
    --primary: #0066ff;
    --primary-hover: #0052cc;
    --primary-light: rgba(0, 102, 255, 0.06);
    --primary-light-hover: rgba(0, 102, 255, 0.12);
    --secondary: #00d1ff;
    --success: #10b981;
    --success-light: #ecfdf5;
    
    /* Backgrounds */
    --bg-page: #f4f7fc;
    --bg-gradient: linear-gradient(135deg, #f4f7fc 0%, #e2ebf6 100%);
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(255, 255, 255, 0.6);
    
    /* Typography */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-title: 'Outfit', system-ui, -apple-system, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(0, 102, 255, 0.12), 0 15px 25px -10px rgba(0, 0, 0, 0.04);
    --shadow-inset: inset 0 2px 4px 0 rgba(255, 255, 255, 0.8);
    
    /* Borders & Rads */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Reset and Core Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
}

html, body {
    width: 100%;
    min-height: 100vh;
    color: var(--text-main);
    background: var(--bg-gradient);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.5;
}

/* Loading Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

.loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-size: 1rem;
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Decorative Background Blobs */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, rgba(0, 209, 255, 0.05) 70%);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.15) 0%, rgba(0, 102, 255, 0.05) 70%);
}

/* Layout Utilities */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation Header */
.site-header {
    padding: 24px 0;
    width: 100%;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 6px rgba(0, 102, 255, 0.15));
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-text-bold {
    font-weight: 700;
    color: var(--primary);
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--success);
    animation: ping-pulse 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0 100px;
}

.download-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero-intro {
    text-align: center;
    max-width: 650px;
    margin-bottom: 48px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
}

/* Software Showcase Card */
.download-card-container {
    width: 100%;
    max-width: 480px;
    margin-bottom: 60px;
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg), var(--shadow-inset);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 102, 255, 0.18), var(--shadow-inset);
}

/* Card Header App Info */
.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    border-bottom: 1px dashed rgba(0, 102, 255, 0.15);
    padding-bottom: 24px;
}

.software-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: 0 8px 16px rgba(0, 102, 255, 0.2);
}

.software-icon {
    width: 32px;
    height: 32px;
}

.software-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.software-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(0, 102, 255, 0.08);
    padding: 4px 10px;
    border-radius: 50px;
    width: fit-content;
}

.software-title {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* Tech Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
}

/* Download Action Button Section */
.download-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0055dd 100%);
    color: var(--text-white);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    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 ease;
}

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

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 102, 255, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-download:hover .btn-icon {
    transform: translateY(2px);
}

.download-help-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Feature grid section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--card-border);
    padding: 24px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background: var(--primary);
    color: var(--text-white);
    transform: scale(1.08);
}

.feature-icon {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Site Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(0, 102, 255, 0.08);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.site-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.separator {
    color: rgba(0, 102, 255, 0.15);
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes ping-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.animate-bounce {
    animation: bounce-slow 2s infinite;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-4px);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Entry Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

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

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: #ffffff;
    border-left: 4px solid var(--success);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards, toastOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards 4s;
    pointer-events: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.toast-icon {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

@keyframes toastIn {
    from {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
        visibility: hidden;
    }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 40px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 20px;
    }
    
    .download-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 16px 0;
    }
    
    .header-badge {
        display: none; /* Hide secure badge on very small screens to save space */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .download-card {
        padding: 24px 20px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 28px;
    }
    
    .toast-container {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    .toast {
        width: 100%;
    }
}
