/*
Theme Name: Platform Transcends
Theme URI: http://platformtranscends.com/
Author: Antigravity
Description: Premium media advertising platform theme for Platform Group Transcends.
Version: 1.1
Text Domain: platform-transcends
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --primary: #001f3f;
    --primary-dark: #000c1a;
    --accent: #D4AF37; /* Keep gold as accent, but use blue/white for primary */
    --accent-red: #ff0000;
    --highlight: #f1f1f1;
    --dark: #050505;
    --light: #f8f8f8;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #001f3f 0%, #000c1a 100%);
    --gradient-gold: linear-gradient(90deg, #D4AF37 0%, #F9E2AF 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-transform: uppercase;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    margin: 0;
    line-height: 1.4;
    overflow-x: hidden;
}

.premium-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Dynamic Top Bar */
.top-bar {
    background: var(--accent);
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
    z-index: 2000;
}

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

.ticker-wrap {
    display: flex;
    overflow: hidden;
}

.ticker-item {
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

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

/* Header & Nav */
header {
    background: var(--primary-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.logo img {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover { transform: scale(1.05); }

.primary-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

.primary-menu a:hover { color: var(--accent); }
.primary-menu a:hover::after { width: 100%; }

/* Hero Slider */
.hero-slider {
    height: 80vh;
    background: #000;
    position: relative;
    overflow: hidden;
}

.platform-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
}

.slide-content {
    position: relative;
    z-index: 5;
    color: var(--white);
    max-width: 800px;
}

.slide-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin: 0 0 1.5rem;
    letter-spacing: -3px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sponsors Ticker (Cintillo de Marcas) */
.sponsors-ticker {
    background: var(--white);
    padding: 3.5rem 0;
    border-bottom: 2px solid var(--light);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    width: max-content;
    animation: scroll-sponsors 40s linear infinite;
}

.sponsor-logo {
    flex-shrink: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo img {
    height: 100%;
    width: auto;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.5;
    transition: var(--transition);
}

.sponsor-logo:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

.sponsor-logo.placeholder {
    font-weight: 900;
    color: var(--light);
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}

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

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 1rem auto;
}

/* Hero Section */
.hero-section {
    height: 80vh;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
    border-bottom: 8px solid var(--accent);
}

.hero-content .badge {
    background: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
}

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

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

/* Services Visual Catalog */
.services-section { 
    padding: 8rem 0; 
    background: var(--light); 
}

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

.visual-card {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 6px solid var(--primary);
    overflow: hidden;
    color: var(--white);
    transition: var(--transition);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.visual-card:hover .card-overlay { 
    background: rgba(0,51,102,0.85); 
}

.visual-card h3 { 
    font-size: 2rem; 
    font-weight: 900; 
    margin: 0 0 1rem; 
    line-height: 1;
}

.visual-card p {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.visual-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Creative Trending Section */
.trending-section { 
    padding: 10rem 0; 
    background: #000d1a;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.trending-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: end;
}

.trending-card {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.trending-card:nth-child(even) {
    height: 450px;
    margin-bottom: 4rem;
}

.trending-card:nth-child(odd) {
    height: 400px;
}

.trending-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    background: rgba(255,255,255,0.05);
}

.card-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(212,175,55,0.1);
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
}

.card-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.3rem 0.8rem;
    font-size: 0.6rem;
    font-weight: 900;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.trending-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.trending-card p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.trending-card .card-footer {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.arrow-icon {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition);
}

.trending-card:hover .arrow-icon {
    background: var(--accent);
    color: var(--primary-dark);
}


/* Media Section */
.media-section {
    background: #000000;
    color: white;
}

.media-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.media-header .section-title {
    color: white;
    margin: 0;
    text-align: left;
}

.media-header .section-title::after { margin: 0.5rem 0; }

.live-indicator {
    background: var(--accent-red);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.main-video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: var(--glass);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: #111;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.video-placeholder .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.play-btn {
    background: var(--accent);
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: 0.3s;
}

.play-btn:hover { transform: scale(1.1); }

/* Contact & Subscription Form */
.contact-section {
    background: var(--primary-dark);
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-block h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
}

.platform-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 5px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--accent);
}


/* Footer */
/* Extended Footer */
.site-footer {
    background: #0a0a0a;
    color: var(--white);
    padding: 8rem 0 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-col h4 {
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 900;
}

.footer-col p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1.2rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-secondary {
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: inherit;
    text-decoration: none;
}


/* Floating WhatsApp */
/* Circular WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.wa-icon {
    font-weight: 900;
    font-size: 1.2rem;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


@media (max-width: 1024px) {
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .trending-card:nth-child(even), .trending-card:nth-child(odd) {
        height: auto;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .main-video-container { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .primary-menu { display: none; }
    .trending-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
}
