/* 
  TechCrafters - Minimalist Community Landing Page
  Theme: Dark, Premium, Tech-focused
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;

    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;

    --accent-primary: #f59e0b;
    /* Tech Orange */
    --accent-glow: rgba(245, 158, 11, 0.5);
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);

    --border-color: #27272a;

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    /* Hammer Cursor */
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='%23F97316' stroke='white' stroke-width='1.5'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/></svg>") 2 2, auto;
}

/* Restore cursor for interactive elements */
a,
button,
.btn,
select,
label {
    cursor: pointer;
}

input,
textarea {
    cursor: text;
}

#tech-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
    color: var(--text-primary);
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: #ea580c;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    background: var(--bg-secondary);
}

.btn-white {
    background: #ffffff;
    color: var(--bg-primary);
    font-weight: 600;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-white:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    /* backdrop-filter: blur(12px); - Removed to avoid hard edge */
    /* -webkit-backdrop-filter: blur(12px); */
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 100%);
    border-bottom: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sub-logo {
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.cursor {
    display: inline-block;
    width: 8px;
    background-color: var(--accent-primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.btn-primary {
    color: white;
}

/* Language Toggle */
.lang-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Space Grotesk', monospace;
}

.lang-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(245, 158, 11, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-primary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
}

.reveal-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: reveal 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
}

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

.hero-action {
    display: inline-block;
    font-size: 1.3em;
    /* Larger than surrounding text */
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    animation: action-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.6s;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.3));
    white-space: nowrap;
    background-clip: text;
}

@keyframes action-pop {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* Manifesto Specifics */
.manifesto-hero {
    padding: 200px 0 120px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Blue gradient effect like home */
.manifesto-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.manifesto-hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.manifesto-intro {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 1rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.manifesto-motto {
    display: inline-block;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.4));
}

.manifesto-subtitle {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
    display: block;
}

/* Manifesto Sections */
.manifesto-section {
    padding: 100px 0;
    position: relative;
}

.manifesto-origin {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.6) 0%, rgba(16, 16, 16, 0.4) 100%);
    border: none;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.manifesto-origin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    box-shadow: 0 0 20px var(--accent-glow);
}

.manifesto-origin h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

.manifesto-text {
    font-size: 1.15rem;
    line-height: 2;
    margin-top: 1rem;
    color: var(--text-secondary);
    padding-left: 2rem;
}

.manifesto-text strong {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
}

.manifesto-grid-spacer {
    margin-top: 4rem;
}

.center-text-limited {
    max-width: 750px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Scroll Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Features / Grid */
.features {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.9) 0%, rgba(16, 16, 16, 0.7) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px -10px rgba(245, 158, 11, 0.2),
        0 0 40px -10px rgba(245, 158, 11, 0.1);
}

.window-header {
    background: linear-gradient(180deg, #2a2a2a 0%, #27272a 100%);
    padding: 0.9rem 1.2rem;
    display: flex;
    gap: 7px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.card:hover .window-header {
    background: linear-gradient(180deg, #2f2f2f 0%, #2a2a2a 100%);
    border-bottom-color: rgba(245, 158, 11, 0.3);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.card:hover .dot {
    box-shadow: 0 0 8px currentColor;
}

.dot.red {
    background-color: #ef4444;
}

.dot.yellow {
    background-color: #eab308;
}

.dot.green {
    background-color: #22c55e;
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    flex: 1;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta-box {
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.8) 0%, rgba(16, 16, 16, 0.6) 100%);
    border: 2px solid var(--border-color);
    border-radius: 32px;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.cta-box:hover::before {
    opacity: 1;
}

.cta-box:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 30px 80px -20px rgba(245, 158, 11, 0.2);
    transform: translateY(-5px);
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.cta-box .btn {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Footer */
footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.social-icon:hover {
    color: #E1306C;
    /* Instagram Brand Color */
    background: rgba(225, 48, 108, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.2);
}

/* Join Form - Retro Window */
.retro-window {
    max-width: 600px;
    margin: 2rem auto 0;
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    font-family: 'Space Grotesk', monospace;
    position: relative;
    z-index: 2;
}

.window-header {
    background: #1a1a1a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    position: relative;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 0.85rem;
    font-family: 'Inter', monospace;
}

.window-content {
    padding: 2rem;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    color: #22c55e;
    /* Terminal Green */
    font-family: 'Space Grotesk', monospace;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #444;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.1);
}



.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First
   ============================================ */

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {

    /* Typography Scaling */
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .manifesto-hero h1 {
        font-size: 2.5rem;
    }

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

    .manifesto-intro {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    .card p {
        font-size: 0.95rem;
    }

    .manifesto-origin h2 {
        font-size: 2rem;
    }

    .manifesto-text {
        font-size: 1rem;
        padding-left: 1rem;
    }

    /* Layout & Spacing */
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .manifesto-hero {
        padding: 120px 0 60px;
        min-height: 50vh;
    }

    .manifesto-hero::before {
        width: 600px;
        height: 600px;
    }

    .manifesto-origin {
        padding: 2rem 1.5rem !important;
        margin-top: 60px !important;
    }

    .features,
    .manifesto-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    /* Grid - Single Column */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cards */
    .card {
        padding: 1.5rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    /* Navigation */
    header {
        padding: 1rem 0;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 2rem;
    }

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

    .nav-links a {
        display: block;
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .nav-links a:hover {
        color: var(--accent-primary);
    }

    .nav-links .btn {
        width: auto;
        display: inline-flex;
    }

    .hamburger {
        display: flex;
    }

    .lang-toggle {
        margin-top: 1rem;
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .sub-logo {
        font-size: 0.7rem;
    }

    /* Buttons */
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Forms */
    .retro-window {
        margin: 1.5rem 0 0;
    }

    .window-content {
        padding: 1.5rem;
    }

    .window-title {
        font-size: 0.75rem;
    }

    /* Canvas */
    #tech-canvas {
        opacity: 0.3;
    }

    /* Manifesto Specific */
    .manifesto-origin::before {
        width: 3px;
    }
}

/* Small Tablets (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .manifesto-hero h1 {
        font-size: 3.5rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .manifesto-hero {
        padding: 140px 0 80px;
    }

    .features,
    .manifesto-section {
        padding: 80px 0;
    }

    .container {
        padding: 0 1.5rem;
    }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .manifesto-hero h1 {
        font-size: 4rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .hero {
        padding: 160px 0 90px;
    }

    .manifesto-hero {
        padding: 160px 0 90px;
    }

    .container {
        padding: 0 2rem;
    }

    .features,
    .manifesto-section {
        padding: 100px 0;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Large Desktop (1025px+) */
@media (min-width: 1025px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra Small Devices (max-width: 375px) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .manifesto-hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .card {
        padding: 1.25rem;
    }

    .manifesto-origin {
        padding: 1.5rem 1rem !important;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {

    .hero,
    .manifesto-hero {
        padding: 80px 0 40px;
        min-height: auto;
    }

    .hero::before,
    .manifesto-hero::before {
        display: none;
    }
}