/* Reset & Base Styles */
:root {
    --primary: #175CCA;
    --primary-dark: #1249a3;
    --primary-light: #4d86e3;
    --background: #0B1120;
    --foreground: #ffffff;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(23, 92, 202, 0.5);
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), #60a5fa, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(23, 92, 202, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 0;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 17, 32, 0.9), rgba(11, 17, 32, 0.7), #0B1120);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(23, 92, 202, 0.2);
    border: 1px solid rgba(23, 92, 202, 0.4);
    border-radius: 9999px;
    color: #93c5fd;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.pulse-dot {
    position: relative;
    display: flex;
    width: 0.5rem;
    height: 0.5rem;
}

.ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--primary);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

@media (min-width: 768px) {
    .hero-info {
        grid-template-columns: repeat(3, 1fr);
    }
    
    h1 {
        font-size: 3.5rem;
    }
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.icon-blue { color: var(--primary); }
.icon-purple { color: #a855f7; }
.icon-yellow { color: #eab308; }
.icon-pink { color: #ec4899; }
.icon-green { color: #22c55e; }
.icon-red { color: #ef4444; }
.icon-orange { color: #f97316; }

/* Features Section */
.features {
    padding: 6rem 0;
    position: relative;
    background-color: #0B1120;
}

.features-bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(23, 92, 202, 0.1), transparent);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(23, 92, 202, 0.5);
    transform: translateY(-5px);
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box.blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.icon-box.purple { background: rgba(168, 85, 247, 0.1); color: #c084fc; }
.icon-box.green { background: rgba(34, 197, 94, 0.1); color: #4ade80; }

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.feature-list i {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.bonus-banner {
    max-width: 1200px;
    margin: 3rem auto 0;
    background: linear-gradient(to right, rgba(23, 92, 202, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(23, 92, 202, 0.4);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .bonus-banner {
        flex-direction: row;
        text-align: left;
    }
}

.bonus-title {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .bonus-title {
        justify-content: flex-start;
    }
}

.bonus-text {
    color: #bfdbfe;
    font-size: 1.125rem;
}

/* Agenda Section */
.agenda {
    padding: 6rem 0;
    background-color: #0f172a;
}

.scroll-container {
    overflow-x: auto;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.05);
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-light);
}

.agenda-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0 1rem;
}

.agenda-card {
    width: 350px;
    flex-shrink: 0;
    white-space: normal;
}

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

.time-badge {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(23, 92, 202, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.speaker-name {
    color: #bfdbfe;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.agenda-desc {
    font-size: 0.875rem;
    line-height: 1.6;
}

.mobile-hint {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    display: none;
}

@media (max-width: 768px) {
    .mobile-hint {
        display: block;
    }
}

/* Speakers Section */
.speakers {
    padding: 6rem 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.speakers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

.speaker-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.speaker-card:hover {
    border-color: rgba(23, 92, 202, 0.5);
}

.speaker-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.speaker-image-placeholder i {
    width: 4rem;
    height: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.speaker-info {
    padding: 1.5rem;
}

.speaker-info h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.speaker-info .role {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.speaker-info .company {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.speaker-info .topic {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: #d1d5db;
}

/* Prizes Section */
.prizes {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--background), rgba(23, 92, 202, 0.1));
}

.prizes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.prize-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.main-prize {
    background: rgba(23, 92, 202, 0.05);
    border-color: rgba(23, 92, 202, 0.3);
    text-align: center;
}

.prize-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-bottom-left-radius: 0.5rem;
}

.trophy-icon {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #facc15, #fef08a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.prize-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.highlight-purple {
    color: #d8b4fe;
    font-weight: 700;
}

.prize-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.prize-footer span {
    color: white;
    font-weight: 500;
}

.commission-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4ade80;
}

.commission-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
}

.commission-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.exclusive-banner {
    margin-top: 3rem;
    background: linear-gradient(to right, rgba(23, 92, 202, 0.1), transparent);
    border: 1px solid rgba(23, 92, 202, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .exclusive-banner {
        flex-direction: row;
        text-align: left;
    }
}

.lock-icon {
    background: rgba(23, 92, 202, 0.2);
    color: var(--primary);
    padding: 1rem;
    border-radius: 50%;
}

.q1-badge {
    font-size: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.highlight-white {
    color: white;
    font-weight: 500;
}

/* Registration Section */
.registration {
    padding: 6rem 0;
}

.registration-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .registration-container {
        flex-direction: row;
        align-items: flex-start;
    }
}

.registration-text {
    flex: 1;
}

.highlight-blue {
    color: var(--primary);
}

.benefits-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.benefit-item i {
    color: var(--primary);
}

.registration-form-wrapper {
    flex: 1;
    width: 100%;
    max-width: 450px;
}

.registration-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: white;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: white;
    font-family: inherit;
}

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

.form-footer {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.footer-logo img {
    height: 2rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.875rem;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.footer-legal {
    font-size: 0.75rem;
    color: #4b5563;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: var(--background);
    padding: 40px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Force title phrase to one line and prevent overflow on mobile */
@media (max-width: 500px) {
    h1 .gradient-text {
        white-space: normal !important;
    }
}
