/* ========================================
   MidiBro Homepage - Main Styles
   ======================================== */

/* ========================================
   CSS Variables - Design System
   ======================================== */
:root {
    /* Primary Colors */
    --primary-blue: #3d85c6;
    --primary-blue-light: #5da3e8;
    --primary-blue-dark: #2a6ba8;

    /* Background Colors */
    --bg-dark: #232323;
    --bg-darker: #1a1a1a;
    --bg-lighter: #2a2a2a;
    --bg-card: #2f2f2f;

    /* Text Colors */
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --text-white: #ffffff;

    /* Accent Colors */
    --accent-cyan: #4dd0e1;
    --accent-purple: #9c27b0;
    --accent-green: #4caf50;
    --accent-orange: #ff9800;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1a1a1a 0%, #2a4858 50%, #3d85c6 100%);
    --gradient-section: linear-gradient(90deg, rgba(61, 133, 198, 0.1) 0%, transparent 100%);
    --gradient-button: linear-gradient(135deg, #3d85c6 0%, #5da3e8 100%);
    --gradient-card: linear-gradient(145deg, #2f2f2f 0%, #252525 100%);

    /* Font Sizes */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */

    /* Font Weights */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Spacing */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(61, 133, 198, 0.3);
    --shadow-glow-orange: 0 0 20px rgba(255, 152, 0, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* Layout */
    --container-max-width: 1400px;
    --navbar-height: 80px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--primary-blue-light);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-bold);
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--text-white);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: var(--text-white);
}

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

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

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Download Buttons with Icons */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    justify-content: center;
    white-space: nowrap;
}

.download-btn .btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.download-btn:hover .btn-icon {
    transform: scale(1.1);
    transition: transform var(--transition-fast);
}

/* ========================================
   Navigation Bar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    transition: opacity var(--transition-base);
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-logo {
    width: 32px;
    height: 32px;
}

.navbar-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--text-white);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: var(--weight-medium);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-cta {
    margin-left: var(--space-4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-2);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 2000;
    transition: right var(--transition-slow);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu {
    position: relative;
    width: 100%;
    height: 100%;
    padding: var(--space-8);
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    font-size: 3rem;
    color: var(--text-white);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-24);
}

.mobile-nav-link {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
    color: var(--text-white);
    padding: var(--space-4) 0;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-container {
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-8);
    filter: drop-shadow(var(--shadow-glow));
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: var(--weight-bold);
    color: var(--text-white);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--text-3xl);
    font-weight: var(--weight-semibold);
    color: var(--accent-cyan);
    margin-bottom: var(--space-6);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-12);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
}

.hero-video {
    max-width: 800px;
    margin: 0 auto var(--space-4);
    padding: 0 var(--space-4);
}

.hero-video video {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    display: block;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    margin-top: var(--space-4);
    padding-bottom: var(--space-4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.scroll-text {
    font-size: var(--text-sm);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
}

/* ========================================
   Overview Section
   ======================================== */
.overview {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.overview-card {
    perspective: 1000px;
    cursor: pointer;
    height: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.overview-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: var(--gradient-card);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-front {
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.overview-card:hover .card-front {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.card-back {
    transform: rotateY(180deg);
    padding: var(--space-6);
    justify-content: flex-start;
}

.overview-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-6);
    color: var(--primary-blue);
}

.overview-card-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-4);
    color: var(--text-white);
}

.overview-card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-back-list {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0;
    text-align: left;
}

.card-back-list li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-back-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.card-back-note {
    margin-top: auto;
    padding-top: var(--space-4);
    color: var(--accent-cyan);
    font-size: var(--text-sm);
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: var(--space-24) 0;
    background: var(--bg-darker);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-24);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item-reverse {
    direction: rtl;
}

.feature-item-reverse > * {
    direction: ltr;
}

.feature-image {
    width: 100%;
}

.feature-image img.gallery-item {
    cursor: pointer;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.feature-image img.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-glow-orange);
    border-color: var(--accent-orange);
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px dashed rgba(61, 133, 198, 0.3);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
}

.placeholder-text {
    padding: var(--space-4);
    text-align: center;
}

.feature-content {
    padding: var(--space-6);
}

.feature-title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-6);
    color: var(--text-white);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.feature-list li strong {
    color: var(--text-white);
}

.feature-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.panel-description h4 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-3);
    color: var(--primary-blue-light);
}

.panel-description ul {
    list-style: disc;
    padding-left: var(--space-5);
}

.panel-description li {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.daw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.daw-item {
    padding: var(--space-3) var(--space-4);
    background: rgba(61, 133, 198, 0.1);
    border: 1px solid var(--primary-blue);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-white);
}

.workflow-steps h4 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-4);
    color: var(--primary-blue-light);
}

.workflow-steps ol {
    list-style: decimal;
    padding-left: var(--space-6);
}

.workflow-steps li {
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
    line-height: 1.6;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    padding: var(--space-24) 0;
    background: var(--bg-lighter);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.gallery-item {
    cursor: pointer;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.gallery-item .placeholder-image {
    aspect-ratio: 16 / 10;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-white);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-close {
    top: var(--space-8);
    right: var(--space-8);
}

.lightbox-prev {
    left: var(--space-8);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: var(--space-8);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.lightbox-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
    color: var(--text-white);
    text-align: center;
    margin: 0;
    padding: var(--space-4);
}

.lightbox-content img {
    max-width: 85vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.lightbox-content img.lightbox-large {
    max-width: 95vw;
    max-height: 85vh;
}

/* ========================================
   Video Section
   ======================================== */
.video-section {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, rgba(61, 133, 198, 0.1) 0%, transparent 100%);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    border: 2px dashed rgba(61, 133, 198, 0.3);
}

.video-icon {
    width: 80px;
    height: 80px;
    color: var(--primary-blue);
}

.video-placeholder p {
    color: var(--text-secondary);
    font-size: var(--text-lg);
}

.video-placeholder-note {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.testimonial-card {
    background: var(--gradient-card);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 133, 198, 0.2);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-blue);
}

.testimonial-quote {
    margin-bottom: var(--space-6);
}

.testimonial-quote p {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-weight: var(--weight-bold);
    color: var(--text-white);
    margin-bottom: var(--space-1);
}

.author-role {
    font-size: var(--text-sm);
    color: var(--primary-blue-light);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, rgba(77, 208, 225, 0.1) 0%, rgba(61, 133, 198, 0.1) 100%);
}

.pricing-subtitle {
    text-align: center;
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-12);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto var(--space-16);
    background: var(--gradient-card);
    padding: var(--space-12);
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.pricing-title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-6);
    color: var(--text-white);
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.price-currency {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--primary-blue-light);
    margin-top: var(--space-2);
}

.price-amount {
    font-size: 5rem;
    font-weight: var(--weight-bold);
    color: var(--text-white);
    line-height: 1;
}

.price-period {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-top: var(--space-4);
}

.price-original {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    opacity: 0.6;
    position: relative;
}

.price-original .price-amount {
    font-size: 3rem;
}

.discount-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--accent-green);
    color: var(--bg-dark);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
}

.price-discount {
    display: flex;
    align-items: center;
}

.price-discount .price-amount {
    font-size: 5rem;
    color: var(--accent-green);
}

.price-label {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--accent-green);
    margin-bottom: var(--space-6);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-8);
    text-align: left;
}

.pricing-features li {
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
    font-size: var(--text-lg);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: var(--text-xl);
}

.pricing-buttons {
    display: flex;
    flex-direction: row;
    gap: var(--space-4);
    justify-content: center;
}

.system-requirements {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
}

.system-requirements h4 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    text-align: center;
    margin-bottom: var(--space-6);
    color: var(--text-white);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    justify-items: center;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    justify-content: center;
}

.requirement-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.requirement-item strong {
    display: block;
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--text-white);
}

.requirement-item p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* ========================================
   Story Section
   ======================================== */
.story {
    padding: var(--space-24) 0;
    background: var(--bg-darker);
}

.story .section-subtitle {
    text-align: center;
    font-size: var(--text-2xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-12);
    font-weight: var(--weight-semibold);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-12);
    align-items: center;
    margin-top: var(--space-12);
}

.story-image-wrapper {
    position: relative;
}

.story-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--primary-blue);
    transition: transform var(--transition-base);
}

.story-image:hover {
    transform: scale(1.02);
}

.story-text {
    color: var(--text-secondary);
}

.story-intro {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
}

.story-subheading {
    font-size: var(--text-xl);
    font-weight: var(--weight-semibold);
    color: var(--primary-blue-light);
    margin-bottom: var(--space-4);
    margin-top: var(--space-6);
}

.story-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-6);
}

.story-list li {
    position: relative;
    padding-left: var(--space-8);
    margin-bottom: var(--space-3);
    line-height: 1.8;
    font-size: var(--text-base);
}

.story-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
    font-size: var(--text-lg);
}

.story-closing {
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    color: var(--text-secondary);
}

.story-final {
    font-size: var(--text-lg);
    color: var(--primary-blue-light);
    margin-top: var(--space-6);
    line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: var(--space-24) 0;
    background: var(--bg-dark);
}

.contact-subtitle {
    text-align: center;
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-12);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
    color: var(--text-white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    background: var(--bg-lighter);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-family: inherit;
    font-size: var(--text-base);
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-error {
    display: block;
    color: var(--accent-orange);
    font-size: var(--text-sm);
    margin-top: var(--space-2);
}

.form-message {
    margin-top: var(--space-6);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    display: block;
}

.form-message.error {
    background: rgba(255, 152, 0, 0.2);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-darker);
    padding: var(--space-16) 0 var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-12);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--text-white);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.footer-column h4 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-4);
    color: var(--text-white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-3);
}

.footer-column a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-blue-light);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin: 0;
}

.developer-credit {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.developer-logo {
    width: 200px;
    height: 200px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.developer-logo:hover {
    opacity: 1;
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
