/* 
  Premium Landing Page Styles for NanoEvent 
  Theme: Light Gradient, Glassmorphism, 3D Effects, Smooth Animations
*/

:root {
    --primary: #6366f1; /* Indigo 500 */
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981; /* Emerald 500 */
    --secondary-dark: #059669;
    --dark: #1e293b; /* Slate 800 */
    --darker: #0f172a; /* Slate 900 */
    --light: #f8fafc; /* Slate 50 */
    --text-main: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px -10px rgba(99, 102, 241, 0.15);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.4);
    --gradient-bg: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f1f5f9 100%);
    --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-logo {
    font-family: 'Outfit', sans-serif;
    color: var(--darker);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-text);
    color: white !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--secondary-dark) !important;
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white !important;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

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

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    display: block;
}

.shadow-glow {
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.3); }
    100% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.7); }
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
    animation: bounce-subtle 3s infinite ease-in-out;
}

.floating-wa:hover {
    transform: scale(1.15) rotate(5deg);
    color: white;
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo .brand-icon {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.nano { color: var(--darker); }
.event { color: var(--primary); }

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

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 500px; height: 500px;
    background: var(--primary-light);
    top: -100px; right: -100px;
    animation: float 15s infinite;
}

.shape-2 {
    width: 400px; height: 400px;
    background: rgba(16, 185, 129, 0.3);
    bottom: -50px; left: -100px;
    animation: float 20s infinite reverse;
}

.shape-3 {
    width: 300px; height: 300px;
    background: rgba(236, 72, 153, 0.2);
    top: 30%; left: 40%;
    animation: float 18s infinite 2s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.hero-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-trust p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
}

.avatars img:first-child { margin-left: 0; }

.avatar-more {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid white;
    margin-left: -10px;
    z-index: 5;
}

.hero-visual {
    flex: 1;
    perspective: 1000px;
}

.mockup-wrapper {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 10px;
    box-shadow: var(--shadow-soft);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.rounded-mockup {
    border-radius: 12px;
    width: 100%;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
    z-index: 10;
}

.card-1 {
    top: -20px; right: -10px;
    animation: float-y 4s infinite ease-in-out;
}

.card-1 i { color: #e11d48; font-size: 24px; }

.card-2 {
    bottom: 30px; left: -10px;
    animation: float-y 5s infinite ease-in-out reverse;
}

.card-2 i { color: #25D366; font-size: 24px; }

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

/* Stats */
.stats {
    padding: 60px 0;
    background: white;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card {
    padding: 30px;
    background: var(--light);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--gradient-bg);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-text {
    flex: 1;
}

.icon-box {
    width: 60px; height: 60px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
}

.feature-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.feature-list li i {
    color: var(--secondary);
    font-size: 20px;
}

.feature-img {
    flex: 1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    transition: transform 0.4s ease;
}

.glass-panel:hover {
    transform: scale(1.03);
}

.img-fluid {
    width: 100%;
    height: auto;
}

.rounded { border-radius: 12px; }

/* Modules / Use Cases */
.modules {
    padding: 100px 0;
    background: white;
}

.modules-slider {
    padding-bottom: 50px !important;
}

.module-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-soft);
}

.module-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.module-card:hover img {
    transform: scale(1.1);
}

.module-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: white;
}

.module-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--gradient-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testi-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-10px);
}

.quote-icon {
    position: absolute;
    top: 30px; right: 30px;
    font-size: 40px;
    color: rgba(99, 102, 241, 0.1);
}

.testi-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-user img {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-user h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testi-user span {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: white;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    flex: 1;
    background: var(--light);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.price-card.popular {
    background: var(--dark);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

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

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

.price-card.popular h3,
.price-card.popular p,
.price-card.popular .currency,
.price-card.popular .amount,
.price-card.popular .period {
    color: white;
}

.price-card.popular p {
    color: #94a3b8;
}

.price-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.price-card.popular .price-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.currency { font-size: 1.5rem; font-weight: 600; margin-right: 5px; }
.amount { font-size: 3.5rem; font-weight: 800; line-height: 1; }
.period { color: var(--text-muted); font-weight: 500; }

.price-body ul {
    margin-bottom: 40px;
}

.price-body li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.price-body li i {
    color: var(--secondary);
}

.price-card.popular .price-body li i {
    color: var(--secondary);
}

/* Footer */
.footer {
    background: var(--darker);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    flex: 2;
}

.footer-brand .nano { color: white; }
.footer-brand .event { color: var(--primary-light); }
.footer-brand p {
    color: #94a3b8;
    margin-top: 20px;
    max-width: 350px;
}

.footer-links, .footer-contact {
    flex: 1;
}

.footer h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links a {
    color: #94a3b8;
    display: block;
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mt-3 { margin-top: 20px; }

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

.footer-bottom strong {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .feature-row, .feature-row.reverse { flex-direction: column; text-align: center; }
    .icon-box { margin-left: auto; margin-right: auto; }
    .feature-list li { justify-content: center; }
    .pricing-cards { flex-direction: column; max-width: 500px; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-10px); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .card-1 { right: 0; }
    .card-2 { left: 0; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-outline { display: none; }
    .hero-container { flex-direction: column; text-align: center; padding-top: 50px; }
    .hero-cta { justify-content: center; flex-direction: column; }
    .avatars { justify-content: center; margin-top: 10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { flex-direction: column; gap: 40px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.2rem; }
}
