/* Modern Design System Root */
:root {
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;
    --bg-white: #FFFFFF;
    --bg-light: #F1F3F4;
    --text-dark: #202124;
    --text-muted: #5F6368;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: 'Outfit', 'Google Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
}

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

.text-blue {
    color: var(--google-blue);
}

.alternate-bg {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--google-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.39);
}

.btn-primary:hover {
    background-color: #3367D6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.45);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    transition: var(--transition);
}

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

.logo-lockup {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-divider {
    width: 1px;
    height: 24px;
    background-color: #DADCE0;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.google-cloud-logo {
    height: 28px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--google-blue);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85)), url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.badge-accent {
    display: inline-block;
    background: rgba(66, 133, 244, 0.1);
    color: var(--google-blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtext {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.event-details-bar {
    position: relative;
    z-index: 1;
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border: 1px solid #EDEDED;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.event-detail-item:not(:last-child) {
    border-right: 1px solid #EDEDED;
}

.event-detail-item i {
    font-size: 1.8rem;
    color: var(--google-blue);
}

.item-text {
    display: flex;
    flex-direction: column;
}

.item-text .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-text .value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Experience Section (Stepper) */
.experience-section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.stepper-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
    margin-top: 40px;
}

.stepper-line {
    position: absolute;
    top: 55px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #E8EAED;
    z-index: 0;
}

.step-card {
    flex: 1;
    position: relative;
    z-index: 1;
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #E8EAED;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    font-weight: 800;
    font-size: 2.5rem;
    color: rgba(0, 0, 0, 0.04);
    pointer-events: none;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--google-blue);
    transition: var(--transition);
    border: 4px solid white;
    box-shadow: 0 0 0 2px #E8EAED;
}

.step-card:hover .step-icon {
    background: var(--google-blue);
    color: white;
    box-shadow: 0 0 0 2px var(--google-blue);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Why Attend Section */
.why-attend-section {
    padding: 100px 0;
}

.attend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #E8EAED;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-header.bg-blue {
    background-color: var(--google-blue);
}

.card-header.bg-green {
    background-color: var(--google-green);
}

.card-header i {
    font-size: 2.5rem;
}

.card-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.card-body {
    padding: 40px;
}

.card-body p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.benefit-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--google-green);
}

/* Registration Section */
.registration-section {
    padding: 100px 0;
}

.registration-card {
    padding: 0;
}

.registration-header {
    background: #202124;
    color: white;
    padding: 50px;
    text-align: center;
}

.registration-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.registration-header p {
    color: #9AA0A6;
    font-size: 1.1rem;
}

.registration-form {
    padding: 50px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid #DADCE0;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--google-blue);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
}

.partnership-footer {
    margin-top: 40px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    opacity: 0.9;
}

.partner-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.data-piper-logo-footer {
    height: 50px;
}

.google-partner-badge-footer {
    height: 100px;
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid #DADCE0;
}

.location-footer {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    transform: translateY(100px);
    transition: var(--transition);
    opacity: 0;
}

.sticky-cta.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Design (Existing) */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .event-details-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-detail-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #EDEDED;
        padding-bottom: 20px;
    }

    .stepper-container {
        flex-direction: column;
    }

    .stepper-line {
        display: none;
    }

    .step-card {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 24px;
    }

    .step-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .step-number {
        top: 10px;
        right: 20px;
        left: auto;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .attend-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .registration-form,
    .registration-header {
        padding: 30px;
    }
}

/* Modal System */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 33, 36, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2;
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal.visible .modal-content {
    transform: translateY(0) scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 30px;
}

.modal-icon.success {
    background: rgba(52, 168, 83, 0.1);
    color: var(--google-green);
}

.modal-icon.error {
    background: rgba(234, 67, 53, 0.1);
    color: var(--google-red);
}

#modalTitle {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

#modalMessage {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

#modalClose {
    min-width: 160px;
}

/* Admin UI Styles */
.admin-access {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-muted);
    transition: var(--transition);
    border: 1px solid #E8EAED;
}

.admin-access:hover {
    color: var(--google-blue);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    border-color: var(--google-blue);
}

.modal-large {
    max-width: 900px !important;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EDEDED;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.table-container {
    overflow-x: auto;
    max-height: 500px;
    border-radius: var(--radius-sm);
    border: 1px solid #EDEDED;
    background: #F8F9FA;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: white;
}

th {
    background: #F8F9FA;
    padding: 16px;
    font-weight: 700;
    color: #3C4043;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #E8EAED;
    position: sticky;
    top: 0;
}

td {
    padding: 16px;
    border-bottom: 1px solid #E8EAED;
    color: var(--text-dark);
    font-size: 0.95rem;
}

tbody tr:hover {
    background-color: #F8F9FA;
}

/* Responsive Table Overrides */
@media (max-width: 992px) {
    .modal-large {
        width: 95%;
        padding: 40px 20px;
    }
}