/*
Theme Name: MediaPoint
Theme URI: https://mediapoint.in/
Author: MediaPoint Team
Author URI: https://mediapoint.in/
Description: India’s #1 self-serve media advertising marketplace. Premium, modern, high-converting WordPress theme for advertising across news portals and YouTube channels. Self-operative ad platform included.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mediapoint
Tags: advertising, marketplace, news, media, saas, self-serve, tailwind
*/

/* 
 * MediaPoint - Premium Self-Serve Advertising Theme
 * Built for high-converting SaaS-like experience
 * Uses Tailwind CSS via CDN for rapid beautiful development
 * Production tip: Replace with proper build (Vite/PostCSS) for best performance
 */

/* Base enhancements */
:root {
  --primary-navy: #0F172A;
  --accent-red: #DC2626;
  --secondary-blue: #1E3A8A;
  --success-green: #10B981;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Premium card styles */
.premium-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Interactive elements */
.ad-type-card {
  transition: all 0.2s ease;
  border: 2px solid #E5E7EB;
}

.ad-type-card:hover {
  border-color: #DC2626;
  transform: translateY(-2px);
}

.ad-type-card.selected {
  border-color: #DC2626;
  background-color: #FEF2F2;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Marquee styles */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

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

/* Modal */
.modal {
  animation: modalPop 0.2s ease-out forwards;
}

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

/* Success state */
.success-checkmark {
  animation: checkPop 0.4s ease-out;
}

@keyframes checkPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Form elements */
input[type="text"], input[type="number"], select, textarea {
  transition: all 0.2s ease;
}

input[type="text"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  outline: none;
}

/* Stats / Trust bar */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Campaign table */
.campaign-table th {
  background-color: #F8FAFC;
  font-weight: 600;
  color: #334155;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .marquee-content {
    animation-duration: 25s;
  }
}