@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    /* Color Palette */
    --bg-dark: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-card-hover: rgba(251, 113, 133, 0.08);
    --border-color: #FFB1BC;
    --border-hover: #FB7185;
    
    --primary: #FB7185;
    --primary-glow: rgba(251, 113, 133, 0.15);
    --secondary: #73162B;
    --secondary-glow: rgba(115, 22, 43, 0.15);
    --accent: #73162B;
    --accent-glow: rgba(115, 22, 43, 0.15);
    
    --text-main: #370008;
    --text-muted: #73565B;
    --text-dark: #370008;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #FB7185 0%, #73162B 100%);
    --grad-secondary: linear-gradient(135deg, #73162B 0%, #370008 100%);
    --grad-accent: linear-gradient(135deg, #FB7185 0%, #FFB1BC 100%);
    --grad-glow: linear-gradient(90deg, #FB7185, #73162B, #FFB1BC, #FB7185);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Layout Details */
    --max-width: 1200px;
    --border-radius: 24px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(251, 113, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(115, 22, 43, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Typography elements */
h1, .hero-title, .section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* --- HEADER / NAVIGATION --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(250, 250, 250, 0.8);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.04em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad-secondary);
    display: inline-block;
    animation: pulse 2s infinite;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-main);
}

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

.nav-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    background: var(--grad-primary);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 58, 74, 0.4);
}

/* --- HERO SECTION --- */
.hero {
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: var(--primary-glow);
    border: 1px solid rgba(155, 58, 74, 0.25);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--bg-dark);
    box-shadow: 0 8px 30px rgba(155, 58, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(155, 58, 74, 0.5);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glassmorphism Graphic Window */
.graphic-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    width: 100%;
    aspect-ratio: 1.1;
    box-shadow: 0 30px 60px rgba(115, 22, 43, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* --- ORB INTERACTIVE GRAPHIC --- */
.orb-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-blur {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--grad-primary);
    filter: blur(40px);
    opacity: 0.5;
    animation: rotate 10s linear infinite;
}

.orb-core {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 60%), var(--grad-secondary);
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.4);
    z-index: 2;
    animation: floatOrb 6s ease-in-out infinite;
}

.orb-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.orb-svg circle {
    fill: none;
    stroke: rgba(115, 22, 43, 0.1);
    stroke-width: 1.5;
    transform-origin: center;
}

.svg-ring-1 {
    stroke-dasharray: 200 100;
    animation: rotateRing 15s linear infinite;
}

.svg-ring-2 {
    stroke-dasharray: 100 80;
    animation: rotateRingRev 12s linear infinite;
}

.svg-ring-3 {
    stroke-dasharray: 40 40;
    animation: rotateRing 8s linear infinite;
}

.svg-wave-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    opacity: 0.7;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawWave 4s ease-in-out infinite alternate;
}

/* --- GRID & CARD COMPONENT SYSTEM --- */
.section {
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.section-tag {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Glass Card Definition */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(115, 22, 43, 0.05);
    display: flex;
    flex-direction: column;
}

/* Social Media Card specifics */
.social-card {
    border-color: var(--border-color);
    cursor: pointer;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.social-card .card-icon {
    margin-bottom: 0;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), var(--accent-glow), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.social-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: var(--bg-card-hover);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(115, 22, 43, 0.1), 0 0 30px var(--accent-glow);
}

.social-card * {
    z-index: 2;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: var(--transition);
}

.social-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px var(--accent-glow);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.social-card p {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-top: auto;
}

.card-link svg {
    transition: var(--transition);
}

.social-card:hover .card-link svg {
    transform: translateX(6px);
}

/* --- CHANNELS GRID --- */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.channels-grid.minimal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.channels-grid.minimal .social-card {
    aspect-ratio: auto;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.channels-grid.minimal .card-icon {
    width: 100%;
    height: 100%;
    background: transparent !important;
    margin: 0;
}

/* --- BENTO GRID SYSTEM --- */
.bento-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 4rem 2rem 6rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 2rem;
    width: 100%;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(115, 22, 43, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(115, 22, 43, 0.06);
}

/* Spanning classes */
.col-span-2 {
    grid-column: span 2;
}

.row-span-2 {
    grid-row: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

/* Interactive link cards inside bento cell */
.bento-link-card {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-link-card h4 {
    color: var(--text-main);
    transition: var(--transition);
}

.bento-link-card:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--border-hover) !important;
    transform: translateY(-2px);
}

.bento-link-card:hover h4 {
    color: var(--primary);
}

/* Inner links sub-grid */
.dashboard-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
}

.badge-coming-soon {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--secondary-glow);
    color: var(--secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid var(--border-color);
    margin-left: 0.5rem;
    vertical-align: middle;
}

@media (max-width: 1024px) {
    .dashboard-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dashboard-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive grid layouts */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .col-span-2, .col-span-3 {
        grid-column: span 2;
    }
    
    .row-span-2 {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .col-span-2, .col-span-3, .row-span-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .bento-card {
        padding: 2rem;
    }
}



@media (max-width: 1024px) {
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 640px) {
    .channels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}



/* --- FOOTER --- */
footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    background: rgba(250, 250, 250, 0.9);
    padding: 5rem 2rem 3rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 280px;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.2);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 12px 6px rgba(244, 114, 182, 0.35);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

@keyframes rotateRing {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateRingRev {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes drawWave {
    to {
        stroke-dashoffset: 0;
        transform: translateY(-5px);
    }
}

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

.floating {
    animation: float 4.5s ease-in-out infinite;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1.25rem 1.5rem;
    }
    .nav-menu {
        gap: 1.25rem;
    }
    .nav-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .section {
        padding: 4.5rem 1.5rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 2rem;
    }
    
    .hero {
        padding: 6rem 1.5rem 4rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .graphic-box {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* --- DARK MODE SYSTEM & MANUAL OVERRIDES --- */
:root.dark {
    --bg-dark: #0B0405;
    --bg-card: rgba(28, 8, 11, 0.65);
    --bg-card-hover: rgba(251, 113, 133, 0.12);
    --border-color: rgba(251, 113, 133, 0.15);
    --border-hover: rgba(251, 113, 133, 0.35);
    
    --primary: #FB7185;
    --secondary: #E25C73;
    --accent: #E25C73;
    
    --text-main: #FCEAEB;
    --text-muted: #A88F93;
    --text-dark: #0B0405;
    
    --grad-primary: linear-gradient(135deg, #FB7185 0%, #E25C73 100%);
    --grad-secondary: linear-gradient(135deg, #E25C73 0%, #370008 100%);
    --grad-accent: linear-gradient(135deg, #FB7185 0%, #FFB1BC 100%);
}

@media (prefers-color-scheme: dark) {
    :root:not(.light) {
        --bg-dark: #0B0405;
        --bg-card: rgba(28, 8, 11, 0.65);
        --bg-card-hover: rgba(251, 113, 133, 0.12);
        --border-color: rgba(251, 113, 133, 0.15);
        --border-hover: rgba(251, 113, 133, 0.35);
        
        --primary: #FB7185;
        --secondary: #E25C73;
        --accent: #E25C73;
        
        --text-main: #FCEAEB;
        --text-muted: #A88F93;
        --text-dark: #0B0405;
        
        --grad-primary: linear-gradient(135deg, #FB7185 0%, #E25C73 100%);
        --grad-secondary: linear-gradient(135deg, #E25C73 0%, #370008 100%);
        --grad-accent: linear-gradient(135deg, #FB7185 0%, #FFB1BC 100%);
    }
}

/* Dark mode specific component overrides */
:root.dark body,
@media (prefers-color-scheme: dark) {
    :root:not(.light) body {
        background-image: 
            radial-gradient(circle at 10% 20%, rgba(251, 113, 133, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(115, 22, 43, 0.15) 0%, transparent 50%);
    }
    
    :root:not(.light) .navbar {
        background: rgba(11, 4, 5, 0.85);
    }
    
    :root:not(.light) footer {
        background: rgba(11, 4, 5, 0.95);
    }
    
    :root:not(.light) .card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }
    
    :root:not(.light) .graphic-box {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
    }
    
    :root:not(.light) .orb-svg circle {
        stroke: rgba(255, 255, 255, 0.08);
    }
}

:root.dark .navbar {
    background: rgba(11, 4, 5, 0.85);
}

:root.dark footer {
    background: rgba(11, 4, 5, 0.95);
}

:root.dark .card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

:root.dark .graphic-box {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

:root.dark .orb-svg circle {
    stroke: rgba(255, 255, 255, 0.08);
}

