/* ================================
   VORTEX WATCH - LIGHT MODERN THEME
   ================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Light Color Palette */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F1F3F5;

    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-light: #a0aec0;

    /* Vortex Purple Accents */
    --primary: #7c3aed;
    --primary-light: #a855f7;
    --primary-lighter: #c084fc;
    --primary-dark: #6d28d9;
    --primary-darker: #5b21b6;

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(124, 58, 237, 0.1);
    --glass-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Space Grotesk', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.nav-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===== HERO SECTION WITH CLOCK ===== */
.hero {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(124, 58, 237, 0.05) 0%,
        rgba(168, 85, 247, 0.05) 50%,
        rgba(192, 132, 252, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: var(--glass-shadow);
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* ===== ANALOG CLOCK (THE STAR FEATURE!) ===== */
.clock-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
}

.clock {
    position: relative;
    width: 240px;
    height: 240px;
}

.clock-face {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 3px solid var(--glass-border);
    box-shadow: var(--glass-shadow),
                0 0 0 8px rgba(124, 58, 237, 0.05),
                inset 0 0 20px rgba(124, 58, 237, 0.05);
}

.clock-number {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    transform: rotate(calc(var(--i) * 30deg));
}

.clock-number span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(var(--i) * -30deg));
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    white-space: nowrap;
}

.clock-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    border-radius: 50px;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.hour-hand {
    width: 6px;
    height: 60px;
    margin-left: -3px;
    z-index: 3;
}

.minute-hand {
    width: 4px;
    height: 85px;
    margin-left: -2px;
    z-index: 2;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.second-hand {
    width: 2px;
    height: 95px;
    margin-left: -1px;
    z-index: 4;
    background: var(--error);
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    box-shadow: 0 0 0 3px var(--bg-primary),
                0 0 8px rgba(124, 58, 237, 0.4);
}

.digital-time {
    text-align: center;
}

.digital-display {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.time-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--section-padding);
}

.section-light {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== GLASS CARDS ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.2);
}

/* ===== INTRO GRID ===== */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.intro-card {
    text-align: center;
}

.intro-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.intro-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.intro-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.intro-card a {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.intro-card a:hover {
    border-bottom-color: var(--primary);
}

/* ===== CRYPTO PRICES GRID ===== */
.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.crypto-card {
    padding: 24px;
}

.crypto-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.crypto-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.crypto-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.crypto-icon-svg {
    width: 100%;
    height: 100%;
}

.crypto-info {
    flex: 1;
}

.crypto-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.crypto-symbol {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.crypto-price {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.crypto-change {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.crypto-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.crypto-change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.crypto-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.stat-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-accent);
}

.crypto-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--info);
    border-radius: var(--radius-md);
}

.crypto-note svg {
    flex-shrink: 0;
    color: var(--info);
    margin-top: 2px;
}

.crypto-note p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.crypto-note a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.content-card img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px solid var(--glass-border);
}

.content-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.content-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-card a {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.content-card a:hover {
    border-bottom-color: var(--primary);
}

/* ===== PASSWORD & VERIFICATION CONTENT ===== */
.password-content,
.opsec-content {
    max-width: 900px;
    margin: 0 auto;
}

.verification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

/* ===== RESOURCES GRID ===== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.resource-category h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--glass-border);
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-list li {
    position: relative;
    padding-left: 24px;
}

.resource-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.resource-list a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.resource-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* ===== PLATFORM NAVIGATION GRID ===== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.platform-card {
    text-align: center;
    padding: 40px 32px;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.platform-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.platform-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.platform-link:hover {
    gap: 12px;
}

/* ===== PAGE FRESHNESS ===== */
.page-freshness {
    padding: 24px 0;
    background: var(--bg-tertiary);
}

.page-freshness .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-freshness svg {
    color: var(--primary);
    flex-shrink: 0;
}

.page-freshness p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.page-freshness strong {
    color: var(--text-primary);
}

#last-updated {
    font-family: var(--font-accent);
    color: var(--primary);
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-primary);
    color: var(--bg-secondary);
    padding: 60px 0 24px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-lighter);
    margin-bottom: 16px;
}

.footer-col p {
    color: var(--bg-tertiary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: var(--bg-tertiary);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-lighter);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--bg-tertiary);
    font-size: 0.875rem;
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: var(--bg-tertiary);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--primary-lighter);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 72px);
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
        gap: 24px;
        border-left: 1px solid var(--glass-border);
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
        transition: var(--transition-normal);
    }

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

    .nav-toggle {
        display: flex;
    }

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

    .clock-container {
        flex-direction: column;
        gap: 32px;
    }

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

    .verification-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-description {
        font-size: 1rem;
    }

    .clock {
        width: 200px;
        height: 200px;
    }

    .clock-number span {
        font-size: 0.75rem;
    }

    .digital-display {
        font-size: 2rem;
    }

    .intro-grid,
    .crypto-grid,
    .platform-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
