/* MODERN STYLE - EPIC TECH SOUNDTRACKS */

/* CSS Variables */
:root {
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Manrope', sans-serif; /* For headings if we want a different one */

    --color-bg-deep: #0D0D0D;
    --color-bg-content: #1A1A1A;
    --color-bg-content-hover: #242424;
    --color-border-subtle: #303030;
    
    --color-text-primary: #E0E0E0;
    --color-text-headings: #FFFFFF;
    --color-text-muted: #A0A0A0;

    --color-accent-purple: #bb86fc;
    --color-accent-purple-dark: #8A4FFF;
    --color-accent-teal: #00adb5;
    --color-accent-teal-dark: #008b91;
    --color-accent-pink: #ff6f61; /* For Suno button */

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;

    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.4);

    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s ease-in-out;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

/* Global Resets & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary); /* Using Manrope for headings */
    color: var(--color-text-headings);
    line-height: 1.3;
    margin-bottom: 1rem; /* Default bottom margin */
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-accent-purple); /* Default H2 to purple accent */
    padding-bottom: 0.75rem;
    position: relative;
}

/* Modern underline for H2 */
h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 70px; /* Increased width */
    background: linear-gradient(90deg, var(--color-accent-purple), var(--color-accent-teal));
    border-radius: 2px;
    opacity: 0.8;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-headings);
}

/* Paragraphs & Links */
p {
    margin-bottom: 1.25rem;
    color: var(--color-text-primary);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-accent-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-teal-dark);
    text-decoration: underline;
}

/* Utility Classes (can be expanded) */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }


/* Main Container */
.container {
    width: 90%;
    max-width: 1120px; /* Slightly wider max-width */
    margin: 2.5rem 0; /* 40px */
    padding: 2.5rem; /* 40px */
    background-color: transparent; /* Will be styled by sections/cards */
    border-radius: 0; /* Remove container radius, apply to inner cards */
    box-shadow: none; /* Remove container shadow, apply to inner cards */
}

/* Section Styling */
section {
    padding: 3rem 0; /* Increased padding */
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border-subtle);
    opacity: 0; /* For scroll animations */
    transform: translateY(30px); /* For scroll animations */
    transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Card-like styling for content blocks within sections if needed */
.content-card {
    background-color: var(--color-bg-content);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-subtle);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.content-card:hover {
    transform: translateY(-8px); /* Slightly more lift */
    box-shadow: 0 16px 32px rgba(0,0,0,0.35); /* More pronounced shadow */
}

/* Header / Hero Section */
header {
    width: 100%;
    padding: 6rem 1.5rem; /* Increased padding */
    text-align: center;
    position: relative; /* For pseudo-elements and absolute positioning */
    overflow: hidden; /* Keep animations contained */
    color: var(--color-text-headings);
    background-color: var(--color-bg-deep); /* Fallback */
    /* border-bottom: 1px solid var(--color-border-subtle); */
}

header::before { /* Animated Gradient Background */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        -45deg, 
        var(--color-accent-purple-dark), 
        var(--color-accent-teal), 
        #3700b3, /* Darker purple from original feature icon */
        var(--color-accent-pink)
    );
    background-size: 400% 400%;
    animation: animateHeaderBg 15s linear infinite;
    z-index: 0; /* Behind content */
    opacity: 0.15; /* More subtle */
}

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

header .container, header > h1, header > p { /* Ensure content is above the pseudo-element */
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3.8rem; /* Even larger */
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* Enhanced shadow */
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
}

header p {
    font-size: 1.3rem; /* Larger subtitle */
    color: var(--color-text-primary);
    font-style: normal; /* Removing italic for a cleaner look */
    font-family: var(--font-primary);
    font-weight: 400;
    max-width: 700px; /* Constrain width for readability */
    margin: 0 auto 1.5rem auto; /* Center and add bottom margin */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

/* Keyframe animations for header text */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Styling for Feature Sections (as they are also in .content-card) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; /* Spacing between feature cards */
    margin-top: 2rem;
}

.feature.content-card { /* Features are now cards */
    display: flex;
    flex-direction: column; /* Stack icon and content vertically */
    align-items: center; /* Center icon */
    text-align: center;
}

.feature-icon {
    width: 60px; /* Slightly smaller */
    height: 60px;
    margin-right: 0; /* Removed as it's centered now */
    margin-bottom: 1.5rem; /* Space below icon */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg); /* More rounded */
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-teal));
    color: var(--color-text-headings);
    font-size: 1.8rem; /* 28px */
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.feature.content-card:hover .feature-icon {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.feature-icon svg {
    width: 32px; /* Control SVG size within icon */
    height: 32px;
}

.feature-content h3 {
    margin-top: 0;
    color: var(--color-text-headings);
    font-weight: 700; /* Bolder feature titles */
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: var(--color-text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Player Sections */
.player-section h3 {
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-muted);
}
.player-section p {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.iframe-container {
    background-color: #000; /* Black background for the iframe itself */
    border-radius: var(--border-radius-md);
    padding: 8px; /* Small padding around iframe */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.iframe-container iframe {
    display: block; /* Remove extra space below iframe */
    border-radius: calc(var(--border-radius-md) - 4px); /* Match container rounding */
}

/* Suno Button Specific Style */
.suno-button {
    background-color: var(--color-accent-pink);
    color: var(--color-text-headings);
    box-shadow: 0 4px 6px rgba(255, 111, 97, 0.2);
}
.suno-button:hover {
    background-color: #e65c50; /* Darker pink */
    box-shadow: 0 6px 12px rgba(255, 111, 97, 0.3);
    color: var(--color-text-headings);
}
.suno-button::before {
    background-color: rgba(255, 255, 255, 0.15);
}


/* CTA Section Specifics */
.cta-card {
    /* background: linear-gradient(135deg, rgba(var(--color-accent-purple-rgb),0.1), rgba(var(--color-accent-teal-rgb),0.1)), var(--color-bg-content); */ /* Subtle gradient bg */
    /* Need to define --color-accent-purple-rgb and --color-accent-teal-rgb if using this */
    /* For now, let's use a simpler approach or define those vars */
    /* background-color: #222; */ /* Slightly different bg for CTA card */
    padding: 2.5rem;
}

.cta-card h2 { /* If h2 is inside cta-card */
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.cta-button {
    padding: 1rem 2.5rem; /* Larger CTA button */
    font-size: 1.15rem;
}

/* Basic Button Styling (will be enhanced) */
.button-primary {
    display: inline-block;
    padding: 0.9rem 1.8rem; /* 14px 30px */
    background-color: var(--color-accent-teal);
    color: var(--color-bg-deep); /* Dark text on light button */
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
    font-weight: 600; /* Bolder */
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 173, 181, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button-primary::before { /* For hover effects */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: width var(--transition-smooth);
    z-index: -1;
}

.button-primary:hover {
    background-color: var(--color-accent-teal-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 173, 181, 0.3);
    text-decoration: none;
    color: #FFFFFF; /* Lighter text on hover */
}

.button-primary:hover::before {
    width: 100%;
}

.button-primary.pulse {
    animation: pulse-bg-modern 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-bg-modern {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 173, 181, 0.4), 0 4px 6px rgba(0, 173, 181, 0.2);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(0, 173, 181, 0), 0 6px 12px rgba(0, 173, 181, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 173, 181, 0), 0 4px 6px rgba(0, 173, 181, 0.2);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--color-accent-purple);
    color: var(--color-text-headings);
    border: none;
    padding: 0.75rem 1rem; /* 12px 16px */
    border-radius: var(--border-radius-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth), transform var(--transition-smooth);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background-color: var(--color-accent-purple-dark);
    transform: scale(1.1);
}

.back-to-top svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* Lists within sections */
section ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

section ul li {
    padding-left: 30px; /* Increased padding */
    position: relative;
    margin-bottom: 0.8rem; /* 12px */
    font-size: 1.05rem; /* Slightly larger list item text */
}

section ul li::before {
    content: '✨'; /* Changed to a sparkle for a bit more flair */
    color: var(--color-accent-teal);
    position: absolute;
    left: 0;
    top: 2px; /* Adjust vertical alignment */
    font-size: 1.2em;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0; /* Increased padding */
    color: var(--color-text-muted);
    width: 100%;
    background-color: var(--color-bg-content); /* Footer with a slight bg */
    margin-top: auto; /* Pushes footer to bottom if content is short */
    border-top: 1px solid var(--color-border-subtle);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem; /* 15px */
    color: var(--color-accent-purple); /* Changed to purple */
    font-size: 1.6em; /* Increased size */
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
    color: var(--color-accent-purple-dark);
    transform: translateY(-3px) scale(1.1);
}

.contact-info-footer .footer-contact-link {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}
.contact-info-footer .footer-contact-link:hover {
    color: var(--color-accent-teal);
    text-decoration: underline;
}

.social-links a span { /* Style for the text next to social icon */
    font-size: 0.9rem;
    margin-left: 0.5rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}
.social-links a:hover span {
    color: var(--color-accent-purple-dark);
}

/* Responsive Design */
@media (max-width: 992px) { /* Tablet */
    header h1 {
        font-size: 3rem;
    }
    header p {
        font-size: 1.15rem;
    }
    h2 {
        font-size: 2rem;
    }
    .container {
        width: 95%;
        padding: 2rem;
    }
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .content-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) { /* Mobile */
    html {
        font-size: 15px; /* Slightly reduce base font for mobile */
    }
    header {
        padding: 4rem 1rem;
    }
    header h1 {
        font-size: 2.5rem;
    }
    header p {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h2::after {
        width: 50px;
    }
    section {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    .feature-grid {
        grid-template-columns: 1fr; /* Stack features */
    }
    .button-primary, .suno-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1.05rem;
    }
    .iframe-container iframe {
        height: 300px; /* Adjust iframe height for smaller screens */
    }
    footer {
        padding: 2rem 0;
    }
    .social-links a {
        font-size: 1.4em;
        margin: 0 0.8rem;
    }
}

@media (max-width: 480px) { /* Small Mobile */
    html {
        font-size: 14px;
    }
    header {
        padding: 3rem 1rem;
    }
    header h1 {
        font-size: 2rem;
    }
    header p {
        font-size: 1rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .content-card {
        padding: 1.2rem;
    }
    .back-to-top {
        padding: 0.6rem 0.8rem;
        bottom: 15px;
        right: 15px;
    }
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}
