/* Movements Shotokan Karate - Spotify-Inspired Redesign */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #ffffff;
}

:root {
    --primary-blue: #2c5aa0;
    --accent-blue: #4a90e2;
    --dark-text: #2c2c2c;
    --body-text: #555555;
    --light-bg: #fafafa;
    --border-color: #e5e5e5;
    --dark-header: #2c2c2c;
    --white: #ffffff;
}

/* Header */
header {
    background: var(--dark-header);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
}

.nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    font-weight: 500;
}

.nav a:hover {
    color: white;
}

.nav a.active {
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c2c2c 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="80" height="80" patternUnits="userSpaceOnUse"><path d="M 80 0 L 0 0 0 80" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%231a1a2e"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #e0e0e0;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Hero Icon */
.hero-icon {
    display: flex;
    justify-content: center;
    margin: 30px 0 20px 0;
}

.hero-icon img {
    height: 80px;
    width: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-icon img:hover {
    transform: scale(1.05);
}

.badge-link {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.badge-link:hover {
    transform: scale(1.05);
}

.badge-link img {
    display: block;
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.btn {
    padding: 14px 40px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    font-family: Georgia, serif;
    font-size: 42px;
    color: var(--dark-text);
    margin-bottom: 60px;
    font-weight: 700;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.feature-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
    position: relative;
    overflow: hidden;
}

.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 220"><defs><pattern id="dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="400" height="220" fill="url(%23dots)"/></svg>');
}

.feature-icon {
    font-size: 60px;
    position: relative;
    z-index: 1;
}

.feature-content {
    padding: 28px;
}

.feature-content h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    color: var(--dark-text);
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-content p {
    color: var(--body-text);
    font-size: 14px;
    line-height: 1.7;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c2c2c 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

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

.page-header h1 {
    font-family: Georgia, serif;
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.8;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-intro p {
    font-size: 15px;
    color: var(--body-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.card h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    color: var(--dark-text);
    margin-bottom: 12px;
    font-weight: 600;
}

.card p {
    font-size: 14px;
    color: var(--body-text);
    line-height: 1.8;
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--body-text);
}

.badge {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.badge.intermediate {
    background: #7a9fd0;
}

.badge.advanced {
    background: #5a7fa0;
}

/* Category Sections */
.category-section {
    margin-bottom: 80px;
}

.category-section:nth-child(even) {
    background: var(--light-bg);
    padding: 60px 30px;
    border-radius: 8px;
    margin-left: -30px;
    margin-right: -30px;
    padding-left: calc(30px + 2vw);
    padding-right: calc(30px + 2vw);
}

.category-title {
    font-family: Georgia, serif;
    font-size: 28px;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent-blue);
    display: inline-block;
}

.category-description {
    color: var(--body-text);
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.8;
}

/* List Grid */
.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.list-item {
    background: white;
    padding: 16px 18px;
    border-radius: 6px;
    border-left: 3px solid var(--accent-blue);
    font-size: 14px;
    color: var(--dark-text);
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.category-section:nth-child(even) .list-item {
    background: white;
}

.list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Learn Section */
.learn-section {
    background: var(--light-bg);
    padding: 80px 20px;
}

.learn-section h2 {
    font-family: Georgia, serif;
    font-size: 42px;
    color: var(--dark-text);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.learn-section p {
    text-align: center;
    color: var(--body-text);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.learn-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.learn-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.learn-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.learn-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    position: relative;
    overflow: hidden;
}

.learn-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><defs><pattern id="pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="25" r="3" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="400" height="200" fill="url(%23pattern)"/></svg>');
}

.learn-card-icon {
    position: relative;
    z-index: 1;
    color: white;
}

.learn-card-content {
    padding: 28px;
}

.learn-card h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--dark-text);
    font-weight: 700;
}

.learn-card p {
    color: var(--body-text);
    font-size: 14px;
    line-height: 1.7;
}

/* Download Section */
.download-section {
    background: white;
    color: var(--dark-text);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.download-section h2 {
    font-family: Georgia, serif;
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.download-section p {
    color: var(--body-text);
    margin-bottom: 40px;
}

.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.store-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: none;
    background: none;
    padding: 0;
}

.store-btn img {
    display: block;
    transition: transform 0.3s, filter 0.3s;
    max-height: 50px;
}

.store-btn:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Footer */
footer {
    background: white;
    color: var(--body-text);
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

footer p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 20px;
    margin-right: 12px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.cta-button:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* Floating Banner */
.floating-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    color: var(--dark-text);
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    max-width: 340px;
    z-index: 50;
    animation: slideUp 0.5s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
}

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

.banner-content {
    flex: 1;
}

.banner-title {
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    color: var(--dark-text);
}

.banner-text {
    font-size: 13px;
    color: var(--body-text);
    line-height: 1.5;
}

.banner-buttons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.banner-btn {
    font-size: 12px;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.banner-btn-app {
    background: var(--accent-blue);
    color: white;
}

.banner-btn-app:hover {
    background: var(--primary-blue);
    transform: scale(1.05);
}

.banner-btn-play {
    background: var(--light-bg);
    color: var(--dark-text);
    border: 1px solid var(--border-color);
}

.banner-btn-play:hover {
    background: var(--border-color);
    transform: scale(1.05);
}

/* Banner Badges */
.banner-badges {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.banner-badge-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s;
}

.banner-badge-link:hover {
    transform: scale(1.05);
}

.banner-badge-link img {
    display: block;
    height: 35px;
    width: auto;
}

.banner-close {
    background: none;
    border: none;
    color: var(--body-text);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.banner-close:hover {
    color: var(--dark-text);
    transform: rotate(90deg);
}

.banner-hidden {
    display: none !important;
}

/* App Showcase Section */
.app-showcase {
    background: var(--light-bg);
    padding: 80px 20px;
}

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

.showcase-title {
    font-family: Georgia, serif;
    font-size: 42px;
    color: var(--dark-text);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.showcase-subtitle {
    text-align: center;
    color: var(--body-text);
    margin-bottom: 60px;
    font-size: 16px;
}

.showcase-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    border: 8px solid #000;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: #000;
    border-radius: 0 0 30px 30px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 0.5s ease;
}

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

.phone-home {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

/* Carousel Controls */
.showcase-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--accent-blue);
    width: 28px;
    border-radius: 5px;
}

.dot:hover {
    background: var(--body-text);
}

/* Showcase Description */
.showcase-description {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.showcase-description h3 {
    font-family: Georgia, serif;
    font-size: 28px;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.showcase-description p {
    color: var(--body-text);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .showcase-content {
        gap: 30px;
    }

    .phone-frame {
        width: 240px;
        height: 500px;
    }

    .showcase-title {
        font-size: 32px;
    }

    .showcase-description {
        text-align: center;
    }

    .showcase-description h3 {
        font-size: 22px;
    }

    .showcase-description p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .showcase-content {
        gap: 20px;
    }

    .phone-frame {
        width: 200px;
        height: 420px;
    }

    .showcase-title {
        font-size: 24px;
    }

    .showcase-subtitle {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .nav {
        gap: 12px;
        font-size: 12px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .card {
        padding: 24px;
    }

    .container {
        padding: 60px 20px;
    }

    .category-section:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .floating-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
        flex-direction: column;
        align-items: flex-start;
    }

    .banner-buttons {
        width: 100%;
    }

    .banner-btn {
        flex: 1;
        text-align: center;
    }

    .cta-button {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        text-align: center;
    }

    .section-title {
        font-size: 32px;
    }

    .learn-section h2 {
        font-size: 32px;
    }

    .download-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .section-intro h2 {
        font-size: 24px;
    }

    .card {
        padding: 20px;
    }

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

    .feature-image {
        height: 160px;
        font-size: 50px;
    }

    .learn-card-image {
        height: 150px;
        font-size: 48px;
    }
}