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

/* CSS Variables */
:root {
    --background: #ffffff;
    --foreground: #1a1a1a;

    --card: #ffffff;
    --card-foreground: #1a1a1a;

    /* Magenta/Pink primary */
    --primary: hsl(330, 85%, 50%);
    --primary-foreground: #ffffff;

    /* Purple secondary */
    --secondary: hsl(270, 70%, 55%);
    --secondary-foreground: #ffffff;

    --muted: #f5f5f5;
    --muted-foreground: #737373;

    --accent: hsl(330, 75%, 95%);
    --accent-foreground: hsl(330, 85%, 40%);

    --border: #e5e5e5;
    --input: #e5e5e5;
    --ring: hsl(330, 85%, 50%);

    --radius: 0.75rem;

    /* Gradient tokens */
    --gradient-primary: linear-gradient(135deg, hsl(330, 85%, 50%) 0%, hsl(270, 70%, 55%) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(330, 85%, 50%) 0%, hsl(285, 70%, 50%) 50%, hsl(270, 70%, 55%) 100%);
    --gradient-card: linear-gradient(180deg, hsla(270, 70%, 55%, 0.1) 0%, hsla(330, 85%, 50%, 0.05) 100%);

    /* Shadow tokens */
    --shadow-glow: 0 0 40px hsla(330, 85%, 50%, 0.3);
    --shadow-card: 0 10px 40px rgba(26, 26, 26, 0.08);
    --shadow-card-hover: 0 20px 60px hsla(330, 85%, 50%, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Utility Classes */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-bg {
    background: var(--gradient-hero);
}

.card-glow {
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    z-index: 11;
}

.card-glow:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-5px);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 0.5rem;
}

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

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    background: var(--muted);
}

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

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

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.navbar-nav a {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.1;
}

.hero-shape-1 {
    position: absolute;
    top: 80px;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: hsla(330, 85%, 50%, 0.1);
    border-radius: 50%;
    filter: blur(48px);
}

.hero-shape-2 {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 18rem;
    height: 18rem;
    background: hsla(270, 70%, 55%, 0.1);
    border-radius: 50%;
    filter: blur(48px);
}

.hero-container {
    padding-top: 6rem;
    padding-bottom: 3rem;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(330, 85%, 50%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-meta-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image-wrapper {
    display: none;
    position: relative;
}

.hero-image-glow {
    position: absolute;
    top: -2.5rem;
    left: -2.5rem;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(32px);
    animation: float 6s ease-in-out infinite;
}

.hero-image-container {
    position: relative;
    z-index: 10;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: scale(1.02);
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsla(330, 85%, 50%, 0.3), transparent);
}

.hero-stats-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--background);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-stats-grid {
    display: flex;
    gap: 1.5rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-image-wrapper {
        display: block;
    }
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 0.75rem;
}

.countdown-box {
    background: var(--gradient-primary);
    color: white;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.countdown-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .countdown {
        gap: 1rem;
    }

    .countdown-box {
        min-width: 90px;
    }

    .countdown-value {
        font-size: 2.25rem;
    }

    .countdown-label {
        font-size: 0.875rem;
    }
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: var(--gradient-hero);
}

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

.stat-item {
    text-align: center;
    color: var(--primary-foreground);
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.stat-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat-value {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: hsla(330, 85%, 50%, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Speakers Section */
.speakers {
    padding: 6rem 0;
    background: rgba(245, 245, 245, 0.3);
}

.speakers-grid {
    display: grid;
    gap: 2rem;
}

.speaker-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--background);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

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

.speaker-image-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.speaker-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-image {
    transform: scale(1.1);
}

.speaker-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(270, 70%, 55%), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker-card:hover .speaker-overlay {
    opacity: 1;
}

.speaker-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent);
}

.speaker-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--primary-foreground);
}

.speaker-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.speaker-role {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.speaker-topic {
    display: inline-block;
    font-size: 0.75rem;
    background: hsla(330, 85%, 50%, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .speakers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Schedule Section */
.schedule {
    padding: 6rem 0;
    background: var(--background);
}

.schedule-grid {
    display: grid;
    gap: 2rem;
}

.schedule-day {
    background: var(--card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.schedule-day-header {
    background: var(--gradient-hero);
    padding: 1.5rem;
}

.schedule-day-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-foreground);
}

.schedule-events {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-event {
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 4px solid;
}

.schedule-event.keynote {
    background: hsla(330, 85%, 50%, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.schedule-event.workshop {
    background: hsla(270, 70%, 55%, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

.schedule-event.panel {
    background: var(--accent);
    border-color: hsla(330, 85%, 40%, 0.2);
    color: var(--accent-foreground);
}

.schedule-event.break {
    background: var(--muted);
    border-color: hsla(0, 0%, 45%, 0.2);
    color: var(--muted-foreground);
}

.event-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.event-content svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.event-time {
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    opacity: 0.7;
}

.event-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

.event-speaker {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

@media (min-width: 1024px) {
    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Materials Section */
.materials {
    padding: 6rem 0;
    background: rgba(245, 245, 245, 0.3);
}

.materials-grid {
    display: grid;
    gap: 1.5rem;
}

.material-card {
    background: var(--background);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.material-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.material-card:hover .material-icon {
    transform: rotate(10deg) scale(1.1);
}

.material-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-foreground);
}

.material-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.material-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.material-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.material-meta {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .materials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Registration Section */
.registration {
    padding: 6rem 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.registration-shape-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: hsla(330, 85%, 50%, 0.05);
    border-radius: 50%;
    filter: blur(48px);
}

.registration-shape-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    background: hsla(270, 70%, 55%, 0.05);
    border-radius: 50%;
    filter: blur(48px);
}

.registration-form-container {
    max-width: 42rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.registration-form {
    background: var(--card);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-label.large {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(330, 85%, 50%, 0.1);
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-submit {
    width: 100%;
}

/* Success State */
.success-container {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
    background: rgba(245, 245, 245, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
}

.success-icon {
    width: 6rem;
    height: 6rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-foreground);
}

.success-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .registration-form {
        padding: 3rem;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--primary-foreground);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: hsla(330, 85%, 50%, 0.5);
    transform: scale(1.1) translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}