@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
:root {
    --primary-color: #c62828; /* Red primary */
    --primary-hover: #b71c1c; /* Darker red hover */
    --bg-color: #ffffff; /* Universal crisp white background */
    --text-dark: #111827; /* Near black */
    --text-light: #6b7280; /* Gray text */
    --accent-color: #e5e7eb;
    --dark-section: #111827; /* Dark slate */
    --border-color: #e5e7eb;
    
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

/* Background Notes Animation */
.music-notes-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.note {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.3;
    font-size: 2rem;
    animation: floatUp 15s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-20vh) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 12px;
    top: 100%;
    left: -50px;
    overflow: hidden;
    margin-top: 0; /* Removed 15px margin to prevent hover drop-off */
    border: 1px solid var(--border-color);
}

/* Invisible bridge to keep hover active if there's any tiny gap */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a::after {
    display: none; /* remove hover line for dropdown items */
}

.dropdown-content a:hover {
    background-color: rgba(188, 51, 38, 0.05);
    color: var(--primary-color);
    padding-left: 25px; /* slight indent on hover */
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Typography & Buttons */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-color);
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(188, 51, 38, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===================== CSS VINYL TURNTABLE ===================== */
.turntable-scene {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: vinyl-float 5s ease-in-out infinite;
    overflow: visible; /* allow pivot to sit at disc edge */
}

/* --- Main disc --- */
.css-vinyl {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    /* Deep black with subtle 3-D gradient */
    background: radial-gradient(circle at 38% 35%,
        #2a2a2a 0%, #111 40%, #0a0a0a 100%);
    box-shadow:
        0 0 0 6px #1a1a1a,
        0 25px 55px rgba(0,0,0,0.65),
        inset 0 2px 8px rgba(255,255,255,0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: vinyl-spin 6s linear infinite;
    position: relative;
    z-index: 1; /* tonearm (z-index:20) will render above this */
}

/* Conic gloss sheen that spins with the record */
.css-vinyl::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent       0deg,
        rgba(255,255,255,0.055) 30deg,
        transparent       80deg,
        rgba(255,255,255,0.03)  140deg,
        transparent       190deg,
        rgba(255,255,255,0.06)  240deg,
        transparent       300deg,
        rgba(255,255,255,0.04)  340deg,
        transparent       360deg
    );
    pointer-events: none;
}

/* --- Inner groove container --- */
.css-vinyl-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Groove rings --- */
.groove-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.06);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.groove-ring.r1 { width: 340px; height: 340px; border-color: rgba(255,255,255,0.055); }
.groove-ring.r2 { width: 305px; height: 305px; border-color: rgba(255,255,255,0.05);  }
.groove-ring.r3 { width: 268px; height: 268px; border-color: rgba(255,255,255,0.045); }
.groove-ring.r4 { width: 230px; height: 230px; border-color: rgba(255,255,255,0.04);  }
.groove-ring.r5 { width: 190px; height: 190px; border-color: rgba(255,255,255,0.035); }
.groove-ring.r6 { width: 158px; height: 158px; border-color: rgba(255,255,255,0.03);  }
.groove-ring.r7 { width: 128px; height: 128px; border-color: rgba(255,255,255,0.025); }

/* --- Center label --- */
.css-label {
    position: relative;
    z-index: 3;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 0 0 4px #1a1a1a,
        inset 0 2px 6px rgba(0,0,0,0.15);
    overflow: hidden;
}

.css-label img {
    width: 72%;
    height: auto;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}

/* Spindle hole */
.css-label::after {
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #888, #333);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
}

/* --- Tonearm: pivot at top-right, arm sweeps over the disc --- */
.css-tonearm {
    position: absolute;
    top: 12px;
    right: -2px;
    z-index: 20;
    overflow: visible;
}

/* Pivot ball */
.css-arm-pivot {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 28%, #f5f5f5, #888);
    box-shadow:
        0 6px 15px rgba(0,0,0,0.6),
        inset 0 2px 4px rgba(255,255,255,0.8),
        inset 0 -2px 6px rgba(0,0,0,0.35);
    display: flex;
    justify-content: center;
    overflow: visible;
}

/* Screw detail on pivot */
.css-arm-pivot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #e0e0e0, #555);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.6);
    z-index: 2;
}

/*
  Arm rod — nested inside pivot, rotated from pivot center (top: 22px = half of 44px).
  rotate(-45deg) swings the bottom of the rod LEFT and DOWN,
  placing the stylus tip on the outer vinyl groove.
  Height 130px = stylus lands ~120px from disc center = outer groove area.
*/
.css-arm-rod {
    position: absolute;
    top: 22px;        /* vertical center of the 44px pivot */
    left: 50%;
    margin-left: -6px; /* center the 12px rod over pivot center */
    width: 12px;
    height: 130px;
    background: linear-gradient(to right,
        #c0c0c0 0%, #eee 35%, #b8b8b8 65%, #ddd 100%);
    border-radius: 6px 6px 3px 3px;
    transform-origin: top center;
    transform: rotate(-45deg);
    box-shadow:
        2px 3px 12px rgba(0,0,0,0.5),
        inset 1px 0 2px rgba(255,255,255,0.55);
    overflow: visible;
}

/* Head shell / cartridge at stylus end */
.css-arm-head {
    position: absolute;
    bottom: -6px;
    left: -18px;
    width: 48px;
    height: 24px;
    background: linear-gradient(135deg, #d8d8d8, #888 55%, #c8c8c8);
    border-radius: 5px 5px 10px 10px;
    box-shadow:
        0 5px 12px rgba(0,0,0,0.6),
        inset 0 1px 3px rgba(255,255,255,0.45);
}

/* Stylus needle */
.css-arm-head::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 14px;
    background: linear-gradient(to bottom, #ccc, #333);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.55);
}

/* --- Animations --- */
@keyframes vinyl-spin {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}

@keyframes vinyl-float {
    0%, 100% { transform: translateY(0);     }
    50%       { transform: translateY(-16px); }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.divider.center {
    margin: 0 auto;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
}

/* Releases Section */
.dark-section {
    background-color: var(--dark-section);
    color: white;
}

.dark-section h2 {
    color: white;
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.release-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.release-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: var(--primary-color);
}

.release-cover {
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), #2d2a26);
    position: relative;
}

.release-info {
    padding: 25px;
}

.release-info h3 {
    color: white;
    margin-bottom: 5px;
}

.release-info p {
    color: #aaa;
    margin-bottom: 20px;
}

.play-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.play-btn:hover {
    color: white;
}

/* Footer */
.footer {
    background-color: #111;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-logo p {
    color: #888;
}

.footer-links h3, .footer-social h3 {
    color: white;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #888;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }
    
    .about-grid, .about-grid.grid-3 {
        grid-template-columns: 1fr;
    }
    
    .turntable-scene {
        transform: scale(0.7);
        width: 100%;
        height: auto;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .dropdown-content {
        position: relative;
        min-width: 100%;
        box-shadow: none;
        margin-top: 0;
        left: 0;
        background-color: rgba(0,0,0,0.02);
        border: none;
        border-radius: 0;
        display: none; /* Hidden by default on mobile until clicked/hovered */
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown:active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        text-align: center;
        padding: 12px 20px;
    }
    
    .dropdown-content a:hover {
        padding-left: 20px;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
        margin-bottom: 15px;
    }
    
    .hero-image-placeholder {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        height: auto;
        max-height: 280px;
        width: 100%;
        margin-top: 20px;
    }

    .turntable-scene {
        transform: scale(0.4);
        transform-origin: top center;
        margin: 0;
    }
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    background-color: var(--dark-section);
    color: white;
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card.popular .pricing-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.pricing-card.popular h3 {
    color: white;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
}

.price span {
    font-size: 1.5rem;
    margin-right: 5px;
    color: var(--text-dark);
}

.pricing-card.popular .price span {
    color: white;
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 5px;
    font-weight: normal;
}

.pricing-card.popular .price .period {
    color: #aaa;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary-color);
}

.pricing-features li.disabled {
    color: var(--text-light);
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: #ccc;
}

.pricing-card.popular .pricing-features li.disabled {
    color: #666;
}

.pricing-card.popular .pricing-features li.disabled i {
    color: #444;
}

.outline-btn {
    background: transparent;
    color: var(--primary-color);
}

.outline-btn:hover {
    background: var(--primary-color);
    color: white;
}

.pricing-card .btn {
    text-align: center;
    width: 100%;
}

/* Infinite Marquee */
.marquee-section {
    padding: 60px 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 4rem; /* Increased gap */
    mask-image: linear-gradient(to right, hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 15%, hsl(0 0% 0% / 1) 85%, hsl(0 0% 0% / 0));
    -webkit-mask-image: linear-gradient(to right, hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 15%, hsl(0 0% 0% / 1) 85%, hsl(0 0% 0% / 0));
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 4rem; /* Matching gap */
    animation: scroll 30s linear infinite; /* Slower scroll for readability */
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between icon and text */
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.marquee-item i {
    font-size: 3.5rem;
}

.marquee-item span {
    font-size: 1.5rem;
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--text-dark);
}

.marquee-item:hover {
    transform: scale(1.05);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 4rem));
    }
}

/* Digital Distro Page Specifics & Mobile Adjustments */
.distro-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
}

.distro-subtitle {
    font-size: 1.5rem;
    color: #aaa;
    font-weight: normal;
    font-family: var(--font-main);
}

.intro-quote {
    font-size: 1.8rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-style: italic;
}

.feature-list {
    margin-top: 15px;
    padding-left: 20px;
    color: var(--text-light);
}

.feature-list li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .marquee-section {
        padding: 40px 0;
    }
    .marquee-wrapper {
        gap: 2.5rem;
    }
    .marquee-content {
        gap: 2.5rem;
        animation-duration: 20s;
    }
    .marquee-item i {
        font-size: 2.5rem;
    }
    .marquee-item span {
        font-size: 1.2rem;
    }
    .distro-title {
        font-size: 2.8rem;
    }
    .distro-subtitle {
        font-size: 1.2rem;
    }
    .intro-quote {
        font-size: 1.4rem;
        padding: 0 15px;
    }
}

/* Animated Feature Icons (Open Source FontAwesome) */
.icon-anim-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(188, 51, 38, 0.05); /* very light primary color */
}

.icon-anim-container i {
    font-size: 4rem;
    color: var(--primary-color);
    z-index: 2;
}

/* Specific Animations */
.anim-spin-slow i {
    animation: spinSlow 15s linear infinite;
}

.anim-pulse-glow i {
    animation: pulseGlow 3s infinite ease-in-out;
}

.anim-float-up i {
    animation: floatUp 4s infinite ease-in-out;
}

.anim-bounce-soft i {
    animation: bounceSoft 2.5s infinite ease-in-out;
}

.anim-flip-slow i {
    animation: flipSlow 8s infinite ease-in-out;
}

.anim-radar i {
    animation: radarPulse 3s infinite linear;
}

@keyframes spinSlow {
    100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(188,51,38,0)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 15px rgba(188,51,38,0.5)); }
}

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

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

@keyframes flipSlow {
    0%, 100% { transform: perspective(400px) rotateY(0); }
    50% { transform: perspective(400px) rotateY(180deg); }
}

@keyframes radarPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Animated Gradient Hero Background */
.animated-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, #111111, #2d2a26, #bc3326, #111111);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.7;
    z-index: 0;
}

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

/* Custom CSS Vinyl Builder */
.css-vinyl-record {
    width: 280px;
    height: 280px;
    background-color: #111; /* Default black */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease;
    margin: 0 auto;
}

.vinyl-grooves {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        transparent,
        transparent 4px,
        rgba(255,255,255,0.05) 5px,
        transparent 6px
    );
    pointer-events: none;
    z-index: 1;
}

.vinyl-label {
    width: 95px;
    height: 95px;
    background-color: #f4f4f4; /* Label color */
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.vinyl-hole {
    width: 15px;
    height: 15px;
    background-color: #fdfbf7; /* Match section bg */
    border-radius: 50%;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    z-index: 3;
}

/* Make swatches a bit rounder */
.swatch-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.swatch:hover .swatch-circle {
    transform: scale(1.1);
}

.swatch-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.step-directions h3 {
    margin-bottom: 10px;
}

/* --- GLOBAL MOBILE RESPONSIVENESS OVERRIDES --- */
@media (max-width: 768px) {
    /* Override inline sizes for hero titles on all new pages */
    h1.distro-title, h1[style*="font-size: 4.5rem"], h1[style*="font-size: 4rem"], h1[style*="font-size: 3.5rem"] {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    h2.section-title, h2[style*="font-size: 3.5rem"], h2[style*="font-size: 3rem"] {
        font-size: 2.2rem !important;
    }
    
    /* Hero Subtitles */
    p[style*="font-size: 1.5rem"], p[style*="font-size: 1.2rem"] {
        font-size: 1.1rem !important;
        padding: 0 10px !important;
    }
    
    /* Section Padding Adjustments */
    .section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    .section[style*="padding-top: 150px"] {
        padding-top: 100px !important;
        min-height: auto !important;
    }
    
    /* Force grids to single column */
    .grid-3, .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Contact Form Responsive Stacking */
    form div[style*="display: flex; gap: 20px"] {
        flex-direction: column !important;
        gap: 10px !important;
    }
    form div[style*="flex: 1"] {
        width: 100% !important;
    }
    
    /* Distribution Agreement container */
    .container[style*="max-width: 800px"] {
        padding: 0 15px !important;
    }
    
    /* Carousel Adjustments */
    .custom-slide {
        flex-direction: column !important;
    }
    .custom-slide > div {
        flex: 1 1 100% !important;
        padding: 20px 10px !important;
        text-align: center !important;
    }
    .carousel-controls {
        justify-content: center !important;
        padding-right: 0 !important;
        margin-top: 20px !important;
    }
    
    /* Sync Image inside carousel */
    .custom-slide img {
        max-height: 250px !important;
    }
}

/* Trusted Logos & Marquee */
.trusted-logos-container { width: 100%; overflow: hidden; }
.trusted-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; padding: 20px 0; }
.trusted-logos img { height: 45px; max-width: 180px; object-fit: contain; filter: grayscale(100%) opacity(60%); transition: filter 0.3s ease; }
.trusted-logos img:hover { filter: none; }
.marquee-dup { display: none; }

@media (max-width: 768px) {
    .trusted-logos { 
        flex-wrap: nowrap; 
        justify-content: flex-start; 
        align-items: center; /* Center aligned vertically */
        width: max-content; 
        animation: marquee 20s linear infinite; 
        gap: 40px; 
        padding: 10px 0; 
    }
    .trusted-logos img { 
        height: auto; 
        max-height: 40px; /* Better for varying aspect ratios */
        width: auto;
        max-width: 140px; 
    }
    .marquee-dup { display: block; } /* Show duplicates for loop */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Video Feature Section */
.video-feature-section { position: relative; padding: 120px 0; overflow: hidden; display: flex; justify-content: center; align-items: center; color: white; }
.feature-video-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); z-index: 1; object-fit: cover; }
.video-overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.65); z-index: 2; }
.video-content { position: relative; z-index: 3; }
.video-title { font-size: 3.5rem; color: white !important; margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.video-subtitle { font-size: 1.2rem; color: #e5e7eb; max-width: 600px; margin: 0 auto 35px; line-height: 1.6; }
@media (max-width: 768px) {
    .video-feature-section { padding: 80px 0; }
    .video-title { font-size: 2.2rem; }
    .video-subtitle { font-size: 1.05rem; }
}

/* Venice-style Scroll Animations */
.venice-animate { opacity: 0; transform: translate3d(0px, 3rem, 0px); transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1); will-change: transform, opacity; }
.venice-animate.is-visible { opacity: 1; transform: translate3d(0px, 0px, 0px); }
.feature-video-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.feature-video-bg-container.venice-animate { transform: translate3d(0px, 0px, 0px) scale(1.1); }
.feature-video-bg-container.venice-animate.is-visible { transform: translate3d(0px, 0px, 0px) scale(1); }
/* New Venice Layout Styles */
.feature-grid-3col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card-dark { background: #111; color: white; border-radius: 15px; padding: 40px; border: 1px solid #222; transition: transform 0.3s ease; }
.feature-card-dark:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.feature-card-light { background: #1a1a1a; color: white; border-radius: 15px; padding: 40px; text-align: center; border: 1px solid #333; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card-light:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(188, 51, 38, 0.1); border-color: rgba(188, 51, 38, 0.5); }
.feature-grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
@media (max-width: 768px) { .feature-grid-2col { grid-template-columns: 1fr; } }

.pricing-split-layout { display: flex; gap: 60px; align-items: center; flex-wrap: wrap; color: white; }
.pricing-info { flex: 1; min-width: 300px; }
.pricing-cards-container { flex: 1.5; min-width: 350px; display: flex; gap: 20px; align-items: stretch; }
.pricing-card-venice { flex: 1; background: #111; color: white; border: 1px solid #333; border-radius: 15px; padding: 40px; position: relative; }
.pricing-card-venice.is-featured { background: linear-gradient(180deg, #1a1a1a, #0a0a0a); border-color: var(--primary-color); transform: scale(1.05); z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.plan-badge { background: rgba(188, 51, 38, 0.1); color: var(--primary-color); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; border: 1px solid rgba(188, 51, 38, 0.3); display: inline-block; }

.tab-btn { background: transparent; color: var(--text-light); border: 1px solid #333; padding: 12px 25px; border-radius: 30px; cursor: pointer; font-size: 1rem; transition: all 0.3s ease; }
.tab-btn:hover { color: white; border-color: #666; }
.tab-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.workshop-card { border-radius: 10px; overflow: hidden; background: var(--dark-section); color: white; transition: transform 0.3s ease; border: 1px solid #222; display: flex; flex-direction: column; }
.workshop-card:hover { transform: translateY(-5px); border-color: #444; }

@media (max-width: 900px) {
    .pricing-split-layout { flex-direction: column; }
    .pricing-cards-container { flex-direction: column; width: 100%; gap: 40px; }
    .pricing-card-venice.is-featured { transform: scale(1); }
    .cta-banner { justify-content: center; text-align: center; padding: 40px 20px; }
}

/* Override dark cards text visibility */
.feature-card-dark h3, .feature-card-dark p,
.feature-card-light h3, .feature-card-light p {
    color: white !important;
}

/* Ensure Pricing cards text visibility */
.pricing-card {
    color: var(--text-dark) !important;
}
.pricing-card h3, .pricing-card .price {
    color: var(--text-dark) !important;
}
.pricing-card.popular, .pricing-card.popular h3, .pricing-card.popular .price {
    color: white !important;
}

/* Secretnote Premium Pricing Box */
.sn-pricing-box {
    display: flex;
    background: #0a0a0a;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(188, 51, 38, 0.15);
    border: 1px solid rgba(188, 51, 38, 0.3);
    color: white;
}

.sn-pricing-left {
    flex: 1.2;
    padding: 60px;
}

.sn-plan-tag {
    background: rgba(188, 51, 38, 0.2);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
}

.sn-pricing-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 40px;
    color: white !important;
}

.sn-pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.sn-pricing-features li {
    font-size: 1.1rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    color: #e5e7eb;
}

.sn-pricing-features li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.sn-deciding {
    color: #9ca3af;
    font-size: 1.05rem;
}

.sn-deciding a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sn-deciding a:hover {
    color: #ff4d4d;
}

.sn-pricing-right {
    flex: 1;
    background: linear-gradient(135deg, rgba(188, 51, 38, 0.15) 0%, rgba(10, 10, 10, 1) 100%);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.sn-pricing-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(188, 51, 38, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 0% 100%, rgba(188, 51, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.sn-pricing-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(188, 51, 38, 0.3);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.sn-plan-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.sn-price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.sn-price-amount .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 2px;
}

.sn-price-amount .period {
    font-size: 1rem;
    color: #9ca3af;
    font-weight: normal;
}

.sn-billed-text {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.sn-save-text {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 900px) {
    .sn-pricing-box {
        flex-direction: column;
    }
    .sn-pricing-left, .sn-pricing-right {
        padding: 40px 20px;
    }
    .sn-pricing-heading {
        font-size: 2rem;
    }
}

.sn-pricing-right::before {
    background: url('/assets/images/venice-waves.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

/* Animated Floating Music Notes Background (Universal) */
.floating-notes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-notes i {
    position: absolute;
    color: rgba(188, 51, 38, 0.05);
    font-size: 2rem;
    animation: floatUp 15s linear infinite;
    bottom: -100px;
}

.floating-notes .note-1 { left: 10%; animation-duration: 25s; font-size: 3rem; }
.floating-notes .note-2 { left: 30%; animation-duration: 20s; animation-delay: 5s; font-size: 2.5rem; }
.floating-notes .note-3 { left: 55%; animation-duration: 22s; font-size: 4rem; animation-delay: 2s; }
.floating-notes .note-4 { left: 75%; animation-duration: 18s; animation-delay: 8s; font-size: 3.5rem; }
.floating-notes .note-5 { left: 90%; animation-duration: 28s; animation-delay: 3s; font-size: 4.5rem; }
.floating-notes .note-6 { left: 20%; animation-duration: 24s; animation-delay: 10s; font-size: 2.5rem; }

@keyframes floatUp {
    0% { transform: translateY(100px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-1200px) rotate(360deg); opacity: 0; }
}

/* Wavy Background Pan Animation */
@keyframes wavePan {
    0% { background-position: 0% center; }
    100% { background-position: 100% center; }
}

.sn-pricing-right::before {
    animation: wavePan 60s linear infinite;
}

.nav-links {
    align-items: center;
}

.nav-links a.btn::after {
    display: none !important;
}

@media (max-width: 768px) {
    .floating-notes .note-5 {
        font-size: 2.5rem;
        left: 80%; /* Bring it slightly inward so it doesn't clip the edge */
    }
    .floating-notes i {
        transform: scale(0.6); /* Scale down all notes slightly on mobile for better proportions */
    }
}

/* Newsletter Section */
.newsletter-box {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-input-group {
    display: flex;
    width: 100%;
    max-width: 420px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.newsletter-input-group input:focus {
    border-color: var(--primary-color);
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 0;
    }
    .newsletter-input-group input {
        border-radius: 30px !important;
        margin-bottom: 10px;
    }
    .newsletter-input-group button {
        border-radius: 30px !important;
    }
}
