* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-primary: #6B46C1;
    --purple-dark: #4C1D95;
    --purple-light: #8B5CF6;
    --purple-accent: #A78BFA;
    --bg-dark: #0F0F0F;
    --bg-darker: #050505;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --border-color: #1F1F1F;
    --glow-color: rgba(107, 70, 193, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Text selection/highlight styling */
::selection {
    background: var(--purple-primary);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--purple-primary);
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Grid Overlay - 1984 surveillance aesthetic */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(107, 70, 193, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 70, 193, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .grid-overlay {
        background-size: 30px 30px;
    }
}

@media (max-width: 480px) {
    .grid-overlay {
        background-size: 25px 25px;
    }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.logo {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--purple-light);
    text-shadow: 0 0 20px var(--glow-color);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    font-family: 'Space Mono', monospace;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--purple-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--purple-primary);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Hero Section - Focal Point */
.hero-section {
    text-align: center;
    padding: 4rem 0 3rem;
    margin-bottom: 0;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-title {
    margin-bottom: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.line-1 {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-shadow: 
        0 0 40px var(--glow-color),
        0 0 80px var(--glow-color),
        0 0 120px rgba(107, 70, 193, 0.2);
    margin-bottom: 0.875rem;
    line-height: 1;
    animation: fadeInUp 1s ease-out;
}

.line-2 {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: var(--purple-accent);
    letter-spacing: 0.08em;
    font-style: italic;
    margin-bottom: 0;
    margin-top: 0.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    margin: 3rem 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 2;
}

.subtitle p {
    margin: 0.5rem 0;
}

/* Professional 1984 Quote Styling - Subtle and Supporting */
.quote-section {
    margin: 2.5rem 0 2rem;
    display: flex;
    justify-content: center;
}

.quote-1984 {
    position: relative;
    max-width: 600px;
    padding: 1.125rem 1.5rem;
    border-left: 1px solid var(--purple-primary);
    background: rgba(107, 70, 193, 0.02);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: inset 0 0 15px rgba(107, 70, 193, 0.03);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.quote-mark {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--purple-primary);
    opacity: 0.3;
    line-height: 1;
    margin-top: -0.1rem;
    flex-shrink: 0;
}

.quote-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quote-text {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.01em;
    margin: 0;
    font-style: italic;
}

.quote-source {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0.6;
    text-transform: uppercase;
    margin-top: 0.25rem;
    align-self: flex-end;
    position: relative;
    padding-right: 0.5rem;
}

.quote-source::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    width: 15px;
    height: 1px;
    background: var(--purple-primary);
    opacity: 0.2;
    margin-right: 0.5rem;
}

/* Countdown */
.countdown-section {
    margin: 0 0 3rem;
    padding: 2rem 1.75rem;
    border: 1px solid var(--border-color);
    background: rgba(107, 70, 193, 0.05);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.countdown-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    gap: 0.5rem;
}

.time-unit .number {
    font-family: 'Space Mono', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--purple-light);
    text-shadow: 0 0 20px var(--glow-color);
    line-height: 1;
}

.time-unit .label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-top: 0;
    font-family: 'Space Mono', monospace;
}

.separator {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    color: var(--purple-primary);
    opacity: 0.5;
}

/* Features Section */
.features-section {
    margin: 3rem 0 2rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 0;
}

.feature-item {
    text-align: left;
}

.feature-number {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--purple-primary);
    margin-bottom: 0.875rem;
    letter-spacing: 0.1em;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

/* Article Section */
.article-section {
    margin: 3rem 0;
    padding: 0;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.article-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-title {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-align: left;
}

.article-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--purple-accent);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.article-section p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.article-section p em {
    font-style: italic;
    color: var(--text-primary);
    opacity: 0.9;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.article-list li {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 300;
}

.article-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--purple-primary);
    opacity: 0.6;
    font-weight: 400;
}

.article-conclusion {
    font-size: clamp(1.1rem, 2.2vw, 1.25rem) !important;
    color: var(--text-primary) !important;
    font-weight: 400 !important;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.7 !important;
}

.article-conclusion:last-child {
    margin-bottom: 0 !important;
    font-style: italic;
    color: var(--purple-accent) !important;
    opacity: 0.95;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 2rem 0 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-quote {
    font-style: italic;
    color: var(--purple-accent);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        padding: 1.25rem 0;
        margin-bottom: 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .status-indicator {
        font-size: 0.65rem;
    }

    .hero-section {
        padding: 3rem 0 2rem;
        margin-bottom: 0;
        min-height: 50vh;
    }

    .line-1 {
        font-size: clamp(2.5rem, 15vw, 5rem);
        letter-spacing: 0.1em;
        margin-bottom: 0.75rem;
    }

    .line-2 {
        font-size: clamp(1.2rem, 5vw, 2rem);
        margin-top: 0.375rem;
    }

    .subtitle {
        margin: 2rem 0;
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }

    .quote-section {
        margin: 2rem 0 1.75rem;
    }

    .quote-1984 {
        padding: 1rem 1.25rem;
        gap: 0.875rem;
        max-width: 100%;
    }

    .quote-mark {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .quote-text {
        font-size: clamp(0.9rem, 3.5vw, 1.05rem);
        line-height: 1.5;
    }

    .quote-source {
        font-size: 0.65rem;
    }

    .countdown-section {
        margin: 0 0 2.5rem;
        padding: 1.75rem 1.25rem;
    }

    .countdown-label {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .countdown-timer {
        gap: 0.3rem;
        flex-wrap: wrap;
    }

    .time-unit {
        min-width: 50px;
        flex: 1 1 auto;
    }

    .time-unit .number {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .time-unit .label {
        font-size: 0.6rem;
        margin-top: 0.3rem;
    }

    .separator {
        font-size: 1.2rem;
        margin: 0 0.2rem;
    }

    .article-section {
        margin: 2.5rem 0;
    }

    .article-container {
        padding: 0 1rem;
    }

    .article-title {
        margin-bottom: 1.5rem;
    }

    .article-subtitle {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .article-section p {
        margin-bottom: 1.25rem;
    }

    .article-list {
        margin: 1.25rem 0 1.5rem;
    }

    .article-list li {
        margin-bottom: 0.75rem;
        padding-left: 1.25rem;
    }

    .article-conclusion {
        margin-top: 1.75rem !important;
    }

    .features-section {
        margin: 2.5rem 0 1.75rem;
        padding: 2.5rem 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 0;
    }

    .feature-item h3 {
        font-size: 1.3rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }

    footer {
        padding: 1.75rem 0 1.75rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }

    .logo {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    .status-indicator {
        font-size: 0.6rem;
    }

    .hero-section {
        padding: 3rem 0 2rem;
        min-height: 40vh;
    }

    .line-1 {
        font-size: clamp(2.5rem, 18vw, 4.5rem);
        letter-spacing: 0.08em;
        margin-bottom: 0.75rem;
    }

    .line-2 {
        font-size: clamp(1.1rem, 6vw, 1.8rem);
        margin-top: 0.25rem;
    }

    .quote-section {
        margin: 2.5rem 0 2rem;
    }

    .quote-1984 {
        padding: 1.125rem 1.25rem;
        gap: 0.875rem;
        border-left-width: 1px;
    }

    .quote-mark {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .quote-text {
        font-size: clamp(0.85rem, 4vw, 1rem);
        line-height: 1.5;
    }

    .quote-source {
        font-size: 0.6rem;
        margin-top: 0.25rem;
    }

    .quote-source::before {
        width: 12px;
        margin-right: 0.4rem;
    }

    .countdown-section {
        margin: 0 0 2rem;
        padding: 1.5rem 1.125rem;
    }

    .countdown-timer {
        gap: 0.2rem;
    }

    .time-unit {
        min-width: 45px;
    }

    .time-unit .number {
        font-size: clamp(1.2rem, 10vw, 2rem);
    }

    .time-unit .label {
        font-size: 0.55rem;
    }

    .separator {
        font-size: 1rem;
        margin: 0 0.1rem;
    }

    .article-section {
        margin: 1.75rem 0;
    }

    .article-container {
        padding: 0 0.5rem;
    }

    .article-title {
        margin-bottom: 1.125rem;
    }

    .article-subtitle {
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .article-section p {
        margin-bottom: 1rem;
    }

    .article-list {
        margin: 1rem 0 1.125rem;
    }

    .article-list li {
        margin-bottom: 0.5rem;
        padding-left: 0.875rem;
    }

    .article-conclusion {
        margin-top: 1.25rem !important;
    }

    .features-section {
        margin: 2rem 0 1.5rem;
        padding: 2rem 0;
    }

    .feature-grid {
        gap: 1.75rem;
    }

    .feature-number {
        font-size: 0.8rem;
    }

    .feature-item h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .feature-item p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    footer {
        padding: 1.5rem 0 1.5rem;
    }

    .footer-content {
        gap: 0.75rem;
    }

    footer p {
        font-size: 0.75rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .countdown-section {
        margin: 1.5rem 0;
    }
}

