/* TriPulse Promo Website - Dark Theme with Amber Accents */

:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --bg-card: #1c2128;
    --accent-amber: #f5a623;
    --accent-amber-hover: #e6951a;
    --accent-amber-glow: rgba(245, 166, 35, 0.25);
    --accent-green: #4caf50;
    --accent-green-glow: rgba(76, 175, 80, 0.25);
    --accent-red: #e74c3c;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --border-color: #30363d;
    --border-subtle: #21262d;
    --nav-height: 64px;
    --transition-speed: 0.3s;
}

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

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

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

a {
    color: var(--accent-amber);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-amber-hover);
}

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

/* ==================== NAVIGATION ==================== */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.nav-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-hover));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    line-height: 1;
}

.nav-hamburger:hover {
    background: var(--bg-tertiary);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.mobile-nav-overlay.open {
    display: block;
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 12px 16px;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-menu.open {
    display: flex;
}

.mobile-nav-menu a {
    display: block;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

/* ==================== HERO SECTION ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-amber-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-green-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 6px 16px 6px 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-amber), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.hero-stat {
    text-align: left;
}

.hero-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero device mockup */
.hero-device {
    flex-shrink: 0;
    position: relative;
    width: 300px;
}

.device-frame {
    position: relative;
    background: #000;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 0 0 2px var(--border-color), 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px var(--accent-amber-glow);
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    z-index: 2;
}

.device-frame img {
    width: 100%;
    border-radius: 24px;
    display: block;
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-hover));
    color: #000;
    box-shadow: 0 4px 20px var(--accent-amber-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 166, 35, 0.4);
    color: #000;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-green {
    background: linear-gradient(135deg, var(--accent-green), #43a047);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-green-glow);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.4);
    color: #fff;
}

/* ==================== SECTIONS ==================== */

.section {
    padding: 80px 24px;
    position: relative;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

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

.section-divider {
    height: 1px;
    background: var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== FEATURES ==================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all var(--transition-speed) ease;
    text-align: left;
}

.feature-card:hover {
    border-color: var(--accent-amber);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* ==================== SCREENSHOTS CAROUSEL ==================== */

.screenshots-section {
    padding: 80px 24px;
    overflow: hidden;
}

.screenshot-carousel-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.screenshot-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-height: 420px;
}

.carousel-viewport {
    width: 240px;
    flex-shrink: 0;
    position: relative;
}

.carousel-device-frame {
    background: #000;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 0 0 0 2px var(--border-color), 0 12px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.carousel-device-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    z-index: 2;
}

.carousel-slides {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    display: block;
    border-radius: 20px;
    filter: blur(5px);
    transition: filter 0.4s ease;
}

.carousel-slide img.loaded {
    filter: blur(0);
}

/* Carousel controls */
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--accent-amber);
    border-color: var(--accent-amber);
    color: #000;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent-amber);
    width: 24px;
    border-radius: 4px;
}

/* ==================== DISCIPLINES ==================== */

.disciplines-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.discipline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.discipline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.discipline-card .disc-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.discipline-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.discipline-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.discipline-card .disc-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 0 16px 0 100px;
    opacity: 0.1;
}

/* ==================== CTA ==================== */

.cta-section {
    padding: 80px 24px;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--accent-amber-glow) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 24px 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

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

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==================== CONTENT PAGES (Privacy, Terms, Contact) ==================== */

.page-content {
    padding: calc(var(--nav-height) + 48px) 24px 80px;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-container h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.page-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-container h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.page-container p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

.page-container ul, .page-container ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.page-container li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.page-container a {
    color: var(--accent-amber);
}

/* ==================== CONTACT FORM ==================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    text-align: left;
}

.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 0;
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-item-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.contact-item-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-amber);
    box-shadow: 0 0 0 3px var(--accent-amber-glow);
}

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

.form-group input[type="file"] {
    padding: 10px 16px;
    cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 6px;
    margin-right: 12px;
    cursor: pointer;
    font-size: 0.85rem;
}

.form-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-hover));
    color: #000;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-amber-glow);
}

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
}

.form-success .success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==================== PRIVACY ACCEPT BUTTON ==================== */

.privacy-accept-wrapper {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 24px;
    background: linear-gradient(to top, var(--bg-primary), rgba(13, 17, 23, 0.95));
    border-top: 1px solid var(--border-color);
}

.privacy-accept-wrapper.visible {
    display: block;
}

.privacy-accept-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-amber-hover));
    color: #000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 20px var(--accent-amber-glow);
}

.privacy-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 166, 35, 0.5);
}

/* ==================== LIGHTBOX ==================== */

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-device {
        width: 240px;
    }

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

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

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

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 32px) 20px 48px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    .hero-device {
        width: 200px;
    }

    .section {
        padding: 56px 20px;
    }

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

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

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

    .carousel-viewport {
        width: 200px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .screenshot-carousel {
        gap: 16px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        gap: 24px;
        flex-wrap: wrap;
    }

    .page-container h1 {
        font-size: 1.75rem;
    }

    .contact-form-card {
        padding: 24px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-stat .stat-label {
        font-size: 0.9rem;
    }

    .hero-device {
        width: 180px;
    }

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

    .disciplines-row {
        grid-template-columns: 1fr;
    }

    .carousel-viewport {
        width: 180px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Orientation change */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 20px);
        padding-bottom: 20px;
    }

    .hero-inner {
        flex-direction: row;
    }

    .hero-device {
        width: 160px;
    }

    .section {
        padding: 40px 20px;
    }
}
