/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Stringify Brand Colors - From Header Image */
    --brand-orange: #e48005;
    --brand-brown: #8a3300;
    --brand-teal: #14cc97;
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e48005;
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --background-light: #f7fafc;
    --background-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-brand: linear-gradient(45deg, #e48005 0%, #8a3300 50%, #14cc97 100%);
    --gradient-brand-reverse: linear-gradient(45deg, #14cc97 0%, #8a3300 50%, #e48005 100%);
    --gradient-accent: linear-gradient(45deg, #e48005 0%, #8a3300 100%);
    --shadow-soft: 0 4px 20px rgba(228, 128, 5, 0.1);
    --shadow-medium: 0 8px 30px rgba(228, 128, 5, 0.15);
    --shadow-strong: 0 20px 40px rgba(228, 128, 5, 0.2);
    
    /* Just A Metronome Colors - Purple & Green */
    --jam-purple: #9b59b6;
    --jam-green: #14cc97;
    --jam-gradient: linear-gradient(45deg, #9b59b6 0%, #14cc97 100%);
    
    /* Metronome Mapper Colors - Purple/Blue & Orange */
    --mm-purple-blue: #667eea;
    --mm-orange: #f6ad55;
    --mm-gradient: linear-gradient(45deg, #667eea 0%, #f6ad55 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

/* Scroll animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Desktop: landscape banner style */
@media (min-width: 769px) {
    .header {
        height: auto;
        min-height: auto;
    }
}

/* Mobile: full viewport height */
@media (max-width: 768px) {
    .header {
        height: 100vh;
        height: 100svh;
        min-height: 500px;
        background-color: var(--primary-color);
    }
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Desktop landscape image */
.header-image-desktop {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
}

/* Mobile portrait image */
.header-image-mobile {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Desktop: hide mobile elements */
@media (min-width: 769px) {
    .header-image-desktop {
        display: block !important;
    }
    
    .header-image-mobile {
        display: none !important;
    }
    
    .header-overlay-mobile {
        display: none !important;
    }
    
    .mobile-subtitle-section {
        display: none !important;
    }
}

/* Mobile Portrait: hide desktop elements, show mobile elements */
@media (max-width: 768px) and (orientation: portrait) {
    .header-image-desktop {
        display: none !important;
    }
    
    .header-image-mobile {
        display: block !important;
        width: 100vw !important;
        min-width: 100% !important;
        height: 100% !important;
    }
    
    .desktop-hero-section {
        display: none !important;
    }
    
    /* Hide mobile subtitle - no duplicate text needed */
    .mobile-subtitle-section {
        display: none !important;
    }
}

/* Mobile Landscape: use desktop layout */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        height: auto !important;
        min-height: auto !important;
    }
    
    .header-image-desktop {
        display: block !important;
        position: relative !important;
    }
    
    .header-image-mobile {
        display: none !important;
    }
    
    .header-overlay-mobile {
        display: none !important;
    }
    
    .desktop-hero-section {
        display: block !important;
        padding: 2.5rem 0 3rem 0;
    }
    
    .hero-title-desktop {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-desktop {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .mobile-subtitle-section {
        display: none !important;
    }
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.4) 0%, rgba(22, 33, 62, 0.3) 50%, rgba(15, 52, 96, 0.6) 100%);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8vh;
}

/* Desktop hero section - below banner image */
.desktop-hero-section {
    display: block;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.9) 100%
    );
    padding: 4rem 0 5rem 0;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 -10px 40px rgba(26, 26, 46, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.desktop-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    box-shadow: 0 0 20px rgba(228, 128, 5, 0.5);
}

.desktop-hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
}

.hero-title-desktop {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(
        45deg, 
        #e48005 0%, 
        #8a3300 25%,
        #14cc97 50%,
        #8a3300 75%,
        #e48005 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    filter: drop-shadow(0 4px 8px rgba(228, 128, 5, 0.15));
}

.hero-subtitle-desktop {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta-desktop {
    margin-top: 2rem;
}

/* Mobile subtitle section - hidden by default, shown on mobile */
.mobile-subtitle-section {
    display: none;
    background: linear-gradient(180deg, var(--background-white) 0%, var(--background-light) 100%);
    padding: 2.5rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.03);
}

.mobile-subtitle-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 0 0 3px 3px;
}

.mobile-subtitle-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    padding: 0 1rem;
}

/* Hero Text within Header */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 2rem 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-cta {
    margin-top: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--text-primary);
    border: 2px solid rgba(233, 69, 96, 0.3);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 3px 10px rgba(233, 69, 96, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 10;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--gradient-brand);
    color: white;
    border-color: var(--highlight-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(228, 128, 5, 0.35),
        0 5px 15px rgba(20, 204, 151, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Apps Section */
.apps-section {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(228, 128, 5, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(20, 204, 151, 0.04) 0%, transparent 50%),
        var(--background-white);
    position: relative;
    overflow: hidden;
}

.apps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
    box-shadow: 0 0 20px rgba(228, 128, 5, 0.4);
}

.apps-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 204, 151, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.section-title {
    font-size: 4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    color: var(--text-primary);
    background: linear-gradient(
        45deg, 
        #e48005 0%, 
        #8a3300 25%,
        #14cc97 50%,
        #8a3300 75%,
        #e48005 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(228, 128, 5, 0.2);
    filter: drop-shadow(0 4px 8px rgba(228, 128, 5, 0.15));
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle,
        rgba(228, 128, 5, 0.15) 0%,
        rgba(20, 204, 151, 0.08) 50%,
        transparent 70%
    );
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient-brand);
    border-radius: 3px;
    box-shadow: 
        0 2px 15px rgba(228, 128, 5, 0.5),
        0 0 30px rgba(20, 204, 151, 0.3);
}

.section-subtitle {
    text-align: center;
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.9) 100%);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 20px 60px rgba(26, 26, 46, 0.12),
        0 8px 25px rgba(26, 26, 46, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(26, 26, 46, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    animation: subtleFloat 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

.app-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg);
    }
    50% {
        transform: translateY(-8px) rotateX(1deg);
    }
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(228, 128, 5, 0.1) 0%,
        rgba(20, 204, 151, 0.05) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 2rem;
}

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

.app-card:hover::after {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.app-card:hover {
    box-shadow: 
        0 40px 80px rgba(26, 26, 46, 0.2),
        0 20px 40px rgba(228, 128, 5, 0.2),
        0 10px 30px rgba(20, 204, 151, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 2px rgba(228, 128, 5, 0.15);
    border-color: rgba(228, 128, 5, 0.3);
    animation: none;
}

/* Just A Metronome - Purple & Green Theme */
.app-card:nth-child(1)::before {
    background: radial-gradient(
        circle at 50% 0%,
        rgba(155, 89, 182, 0.12) 0%,
        rgba(20, 204, 151, 0.08) 50%,
        transparent 100%
    );
}

.app-card:nth-child(1):hover {
    box-shadow: 
        0 40px 80px rgba(26, 26, 46, 0.2),
        0 20px 40px rgba(155, 89, 182, 0.25),
        0 10px 30px rgba(20, 204, 151, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 2px rgba(155, 89, 182, 0.2);
    border-color: rgba(155, 89, 182, 0.3);
}

.app-card:nth-child(1) .app-icon::before {
    background: radial-gradient(
        circle,
        rgba(155, 89, 182, 0.25) 0%,
        rgba(20, 204, 151, 0.15) 50%, 
        transparent 100%
    );
}

.app-card:nth-child(1):hover .app-icon-image {
    filter: 
        drop-shadow(0 20px 40px rgba(155, 89, 182, 0.4))
        drop-shadow(0 10px 20px rgba(20, 204, 151, 0.3));
}

.app-card:nth-child(1) .feature-tag {
    background: linear-gradient(45deg, 
        rgba(155, 89, 182, 0.95) 0%, 
        rgba(20, 204, 151, 0.9) 100%);
    box-shadow: 
        0 4px 12px rgba(155, 89, 182, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-card:nth-child(1) .feature-tag:hover {
    box-shadow: 
        0 6px 20px rgba(155, 89, 182, 0.35),
        0 3px 8px rgba(20, 204, 151, 0.3);
}

/* Metronome Mapper - Purple/Blue & Orange Theme */
.app-card:nth-child(2)::before {
    background: radial-gradient(
        circle at 50% 0%,
        rgba(102, 126, 234, 0.12) 0%,
        rgba(246, 173, 85, 0.08) 50%,
        transparent 100%
    );
}

.app-card:nth-child(2):hover {
    box-shadow: 
        0 40px 80px rgba(26, 26, 46, 0.2),
        0 20px 40px rgba(102, 126, 234, 0.25),
        0 10px 30px rgba(246, 173, 85, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 2px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.app-card:nth-child(2) .app-icon::before {
    background: radial-gradient(
        circle,
        rgba(102, 126, 234, 0.25) 0%,
        rgba(246, 173, 85, 0.15) 50%, 
        transparent 100%
    );
}

.app-card:nth-child(2):hover .app-icon-image {
    filter: 
        drop-shadow(0 20px 40px rgba(102, 126, 234, 0.4))
        drop-shadow(0 10px 20px rgba(246, 173, 85, 0.3));
}

.app-card:nth-child(2) .feature-tag {
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.95) 0%, 
        rgba(246, 173, 85, 0.9) 100%);
    box-shadow: 
        0 4px 12px rgba(102, 126, 234, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-card:nth-child(2) .feature-tag:hover {
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.35),
        0 3px 8px rgba(246, 173, 85, 0.3);
}

/* App-specific button colors */
.app-card:nth-child(1) .btn-secondary:hover {
    background: var(--jam-gradient);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(155, 89, 182, 0.35),
        0 5px 15px rgba(20, 204, 151, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(155, 89, 182, 0.4);
}

.app-card:nth-child(2) .btn-secondary:hover {
    background: var(--mm-gradient);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(102, 126, 234, 0.35),
        0 5px 15px rgba(246, 173, 85, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.app-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.app-icon::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(
        circle,
        rgba(228, 128, 5, 0.2) 0%,
        rgba(20, 204, 151, 0.12) 50%, 
        transparent 100%
    );
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.app-card:hover .app-icon::before {
    opacity: 1;
    transform: scale(1.3);
    animation: none;
}

.app-icon-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 1.5rem;
    filter: 
        drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15))
        drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.app-card:hover .app-icon-image {
    transform: scale(1.2) rotate(8deg) translateY(-5px);
    filter: 
        drop-shadow(0 20px 40px rgba(228, 128, 5, 0.35))
        drop-shadow(0 10px 20px rgba(20, 204, 151, 0.25));
}

.app-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.app-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.feature-tag {
    background: linear-gradient(45deg, 
        rgba(228, 128, 5, 0.95) 0%, 
        rgba(138, 51, 0, 0.95) 50%, 
        rgba(20, 204, 151, 0.9) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 
        0 4px 12px rgba(228, 128, 5, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.feature-tag:hover::before {
    left: 100%;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(228, 128, 5, 0.3),
        0 3px 8px rgba(20, 204, 151, 0.25);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--background-light);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 30px rgba(26, 26, 46, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 0 0 3px 3px;
}

.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(26, 26, 46, 0.12),
        0 10px 25px rgba(228, 128, 5, 0.12),
        0 5px 15px rgba(20, 204, 151, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(228, 128, 5, 0.2);
}

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

.feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 100vh;
        height: 100svh; /* Use small viewport height for better mobile support */
        min-height: 500px;
        background-color: var(--primary-color);
    }
    
    .header-overlay {
        padding-bottom: 2vh;
        padding-bottom: 2svh;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.2) 0%, rgba(22, 33, 62, 0.15) 50%, rgba(15, 52, 96, 0.3) 100%);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Hide subtitle on mobile - no duplicate text */
    .hero-subtitle {
        display: none !important;
    }
    
    .hero-cta {
        margin-top: 0.5rem;
    }
    
    .hero-text {
        padding: 0.25rem 20px 0.25rem 20px;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.75rem;
        margin-bottom: 2rem;
    }
    
    .section-title::before {
        width: 80px;
        height: 80px;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        height: 100vh;
        height: 100svh; /* Use small viewport height for better mobile browser support */
        min-height: 450px;
        background-color: var(--primary-color);
    }
    
    .header-overlay {
        padding-bottom: 1.5vh;
        padding-bottom: 1.5svh;
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.15) 0%, rgba(22, 33, 62, 0.1) 50%, rgba(15, 52, 96, 0.25) 100%);
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    /* Hide subtitle on mobile - no duplicate text */
    .hero-subtitle {
        display: none !important;
    }
    
    .hero-cta {
        margin-top: 0.25rem;
    }
    
    .hero-text {
        padding: 0.25rem 15px 0.25rem 15px;
    }
    
    .app-card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title::before {
        width: 60px;
        height: 60px;
    }
    
    .section-title::after {
        width: 80px;
        height: 4px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .hero-title-desktop {
        font-size: 2.25rem;
    }
    
    .hero-subtitle-desktop {
        font-size: 1rem;
    }
}

/* Medium desktop adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title-desktop {
        font-size: 3.25rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}
