/* ============================================
   THINLINE RADIO WEBSITE
   Modern Professional Design
   ============================================ */

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

:root {
    /* Color Palette */
    --primary-color: #bd0e0b;
    --primary-light: #e63946;
    --primary-dark: #8b0a08;
    --secondary-color: #1a1a2e;
    --secondary-light: #2d2d44;
    --accent-color: #0ea5e9;
    --accent-light: #38bdf8;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --success-color: #10b981;
    --border-color: #e2e8f0;
    --border-dark: #cbd5e1;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 25px -5px rgba(189, 14, 11, 0.3);
    
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    font-size: 1.125rem;
}

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

.navbar {
    background: var(--secondary-color);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-base);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-base);
    filter: drop-shadow(0 2px 8px rgba(189, 14, 11, 0.3));
}

.logo a:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(189, 14, 11, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: #ffffff;
    border-bottom-color: var(--primary-color);
}

.nav-menu a.active {
    color: #ffffff;
    border-bottom-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

.hero {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    color: #ffffff;
    padding: 3rem 2rem 8rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(189, 14, 11, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing-xl);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .intro-text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    margin-top: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(189, 14, 11, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

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

main {
    flex: 1;
}

.content-section {
    padding: var(--spacing-2xl) 2rem;
    background: var(--bg-color);
}

.content-section:nth-child(even) {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-light) 100%);
}

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

.content-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: var(--radius-full);
}

.content-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.content-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition-base);
}

.content-section a:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary-light);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   MOBILE APP SECTION
   ============================================ */

.mobile-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #ffffff;
}

.mobile-section h2,
.mobile-section p {
    color: #ffffff;
}

.mobile-apps {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin: var(--spacing-xl) 0;
}

.app-badge {
    display: inline-block;
    transition: var(--transition-base);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.app-badge:hover {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.app-badge img {
    height: 60px;
    width: auto;
    display: block;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

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

.about-content h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.recorder-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    list-style: none;
    margin: var(--spacing-lg) 0;
    padding: 0;
}

.recorder-list li {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    color: var(--text-color);
    font-weight: 500;
}

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

.cta-box {
    text-align: center;
    margin: var(--spacing-2xl) 0;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 1.5rem 3.5rem;
    border-radius: var(--radius-xl);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition-base);
    border: 3px solid #ffffff;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    z-index: 0;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
    background: var(--primary-light);
    border-color: #ffffff;
}

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

footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
    color: #ffffff;
    padding: var(--spacing-2xl) 2rem;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-base);
    font-weight: 500;
}

.footer-content a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-content p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

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

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 2rem 1rem 4rem;
        min-height: 70vh;
    }

    .hero-logo-img {
        max-width: 400px;
    }

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

    .hero .intro-text {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .content-section {
        padding: var(--spacing-xl) 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .mobile-apps {
        flex-direction: column;
        align-items: center;
    }

    .app-badge img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        max-width: 300px;
    }

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

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

