body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.container {
    text-align: center;
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: blur(1px);
    opacity: 0.8;
}

h1 {
    font-size: 3em;
}

.bottom-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.snap-attribution-bottom {
    text-align: center;
    padding: 10px 15px 5px 15px;
}

.bottom-nav {
    padding: 5px 15px 15px 15px;
    text-align: center;
}

.bottom-nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.bottom-nav a:hover {
    color: #FFD700;
}

.snap-attribution {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.snap-logo {
    height: 20px;
    vertical-align: middle;
    margin: 0 5px;
}

.terms-notice {
    font-size: 0.9em;
    margin-top: 10px;
}

.content {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.content h2 {
    color: white;
    margin-top: 0;
}

.content h3 {
    color: white;
    margin-top: 20px;
}

.content ul {
    padding-left: 20px;
}

.content a {
    color: white;
    text-decoration: underline;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.map-logo-container {
    width: 340px;
    height: 340px;
    margin: 0 auto 10px auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
}

.karnataka-map {
    grid-column: 1;
    grid-row: 1;
    width: 240px;
    height: 300px;
    margin-top: -72px;
}

.map-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.logo-overlay {
    grid-column: 1;
    grid-row: 1;
    width: 280px;
    height: 280px;
    margin-top: 8px;
}

.main-logo {
    width: 100%;
    height: 100%;
    display: block;
}

.tagline {
    font-size: 18px;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 1.1px;
    margin-bottom: 16px;
    font-family: Arial, sans-serif;
    line-height: 1.4;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
}

/* Counter Section Styles */
.counter-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.counter-number {
    font-size: 32px;
    font-weight: 700;
    color: #FFD700;
    font-family: Arial, sans-serif;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.counter-text {
    font-size: 18px;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

.counter-text.fade-in {
    opacity: 1;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.store-badge-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s;
}

.store-badge-link:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 60px;
    max-width: 200px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s;
    display: block;
}

.store-badge:hover {
    transform: scale(1.05);
}

.snap-attribution.subtle {
    margin: 2px 0 0 0;
    background: none;
    border-radius: 0;
    opacity: 0.8;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none;
}

.snap-logo-subtle {
    height: 32px;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 2px #000);
}

.snap-attribution.subtle .terms-notice {
    font-size: 0.85em;
    margin: 0;
    color: #fff;
    text-align: center;
}

.powered-by-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.95em;
    color: #fff;
    opacity: 0.7;
}

.snap-logo-inline {
    height: 22px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 0 2px #000);
}

.privacy-container {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
    padding: 32px 24px;
    max-width: 700px;
    width: 90vw;
    margin: 40px auto;
    z-index: 1;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
}

.privacy-container h1 {
    margin-top: 0;
    color: #fff;
    text-align: center;
    font-size: 2.5em;
}

.privacy-container h2 {
    color: #fff;
    font-size: 1.3em;
    margin-top: 20px;
}

.privacy-container .content {
    color: #fff;
    font-size: 1.05em;
    line-height: 1.7;
    background: none;
    padding: 0;
    border-radius: 0;
    margin: 0 0 24px 0;
}

.privacy-container nav {
    text-align: center;
}

.privacy-container a {
    color: #FFD700;
    text-decoration: underline;
}

.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    gap: 20px;
}

.page-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.language-selector select {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.language-selector select:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.language-selector select option {
    background: #000;
    color: white;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .map-logo-container {
        width: 280px;
        height: 280px;
    }
    
    .karnataka-map {
        width: 200px;
        height: 250px;
    }
    
    .logo-overlay {
        top: 60px;
        width: 230px;
        height: 230px;
    }
    
    .tagline {
        font-size: 16px;
        margin-bottom: 12px;
        letter-spacing: 0.8px;
    }
    
    .counter-section {
        gap: 6px;
    }
    
    .counter-number {
        font-size: 28px;
    }
    
    .counter-text {
        font-size: 16px;
    }
    
    .store-badge {
        height: 50px;
        max-width: 160px;
    }
    
    .download-buttons {
        gap: 30px;
        margin-bottom: 25px;
        flex-direction: row;
        justify-content: center;
    }
    
    .container {
        padding: 15px;
    }
    
    .page-header {
        gap: 15px;
        text-align: center;
    }
    
    .map-logo-container {
        width: 200px;
        height: 200px;
    }
    
    .karnataka-map {
        width: 140px;
        height: 175px;
        margin-top: -35px;
    }
    
    .logo-overlay {
        width: 160px;
        height: 160px;
        margin-top: 6px;
    }
    
    .language-selector select {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .privacy-container h1 {
        font-size: 2.2em;
    }
    
    .privacy-container h2 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .map-logo-container {
        width: 240px;
        height: 240px;
    }
    
    .karnataka-map {
        width: 170px;
        height: 210px;
    }
    
    .logo-overlay {
        top: 50px;
        width: 200px;
        height: 200px;
    }
    
    .tagline {
        font-size: 14px;
        letter-spacing: 0.6px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .counter-section {
        gap: 5px;
    }
    
    .counter-number {
        font-size: 24px;
    }
    
    .counter-text {
        font-size: 14px;
    }
    
    .store-badge {
        height: 40px;
        max-width: 130px;
    }
    
    .download-buttons {
        gap: 25px;
        margin-bottom: 20px;
        flex-direction: row;
        justify-content: center;
    }
    
    .container {
        margin-top: -160px;
        padding: 10px;
    }
    
    .page-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .map-logo-container {
        width: 180px;
        height: 180px;
    }
    
    .karnataka-map {
        width: 125px;
        height: 155px;
        margin-top: -30px;
    }
    
    .logo-overlay {
        width: 140px;
        height: 140px;
        margin-top: 32px;
    }
    
    .language-selector select {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .privacy-container h1 {
        font-size: 1.8em;
    }
    
    .privacy-container h2 {
        font-size: 1.1em;
    }
    
    .snap-attribution-bottom {
        padding: 8px 10px 4px 10px;
    }
    
    .bottom-nav {
        padding: 4px 10px 10px 10px;
    }
    
    .bottom-nav a {
        margin: 0 8px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .privacy-container {
        padding: 16px 4vw;
        max-width: 98vw;
    }
}

/* Back button styles */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-icon {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* Mobile responsive back button */
@media (max-width: 768px) {
    .back-button {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .back-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .back-button {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .back-icon {
        width: 12px;
        height: 12px;
    }
}

/* Button Container Styles */
.button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* Watch Video Button Styles */
.watch-video-button {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.watch-video-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    background: #FFC700;
}

.watch-video-button:active {
    transform: translateY(0);
}

.watch-video-button .video-icon {
    flex-shrink: 0;
}

.watch-video-button span {
    white-space: nowrap;
}

/* Waitlist Button Styles */
.waitlist-button-container {
    text-align: center;
    padding: 8px 15px;
    margin-bottom: 10px;
}

.waitlist-button {
    background: linear-gradient(135deg, #FF0000, #FFD700);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    font-family: Arial, sans-serif;
}

.waitlist-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.waitlist-button:active {
    transform: translateY(0);
}

/* Waitlist Modal Styles */
.waitlist-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.waitlist-modal[style*="display: block"] {
    display: flex !important;
}

.waitlist-modal-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
    margin: auto;
    padding: 30px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waitlist-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    transition: color 0.3s ease;
}

.waitlist-close:hover,
.waitlist-close:focus {
    color: #FFD700;
}

.waitlist-modal-content h2 {
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
}

/* Form Styles */
#waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-group-horizontal {
    flex-direction: row;
    gap: 15px;
    flex-wrap: nowrap;
}

.radio-group-horizontal .radio-label {
    flex: 1;
    min-width: 0;
    justify-content: center;
}

@media (max-width: 360px) {
    .radio-group-horizontal {
        flex-direction: column;
        gap: 12px;
    }
    
    .radio-group-horizontal .radio-label {
        flex: none;
    }
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.radio-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FFD700;
}

.radio-label input[type="radio"]:checked + span {
    color: #FFD700;
    font-weight: 600;
}

.radio-label span {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.submit-button {
    background: linear-gradient(135deg, #FF0000, #FFD700);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    font-size: 14px;
    text-align: center;
}

.success-message {
    background: rgba(0, 255, 0, 0.2);
    color: #51cf66;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-size: 14px;
    text-align: center;
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
    .waitlist-modal {
        padding: 15px;
    }
    
    .waitlist-modal-content {
        margin: auto;
        padding: 20px;
        width: 100%;
        max-width: 500px;
        max-height: calc(100vh - 30px);
    }
    
    .waitlist-modal-content h2 {
        font-size: 20px;
    }
    
    .button-container {
        padding: 8px 12px;
        margin-bottom: 8px;
        gap: 10px;
    }
    
    .watch-video-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .watch-video-button .video-icon {
        width: 18px;
        height: 18px;
    }
    
    .waitlist-button {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .watch-video-button {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"] {
        padding: 10px;
        font-size: 14px;
    }
    
    .radio-label {
        padding: 10px;
    }
    
    .radio-label span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .waitlist-modal {
        padding: 0px;
    }
    
    .waitlist-modal-content {
        margin: auto;
        padding: 20px 15px;
        width: 100%;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
    
    .button-container {
        padding: 8px 10px;
        margin-bottom: 8px;
        gap: 8px;
    }
    
    .waitlist-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .watch-video-button {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .watch-video-button .video-icon {
        width: 16px;
        height: 16px;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.video-modal[style*="display: block"] {
    display: flex !important;
}

.video-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.video-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    line-height: 40px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.video-close:hover,
.video-close:focus {
    color: #FFD700;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px 20px;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    max-width: 540px;
    max-height: 960px;
    aspect-ratio: 9 / 16;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* For larger screens, allow the video to scale up */
@media (min-width: 768px) {
    .video-wrapper iframe {
        max-width: 720px;
        max-height: 1280px;
    }
}

@media (min-width: 1024px) {
    .video-wrapper iframe {
        max-width: 1080px;
        max-height: 1920px;
    }
}

/* Mobile responsive video modal */
@media (max-width: 768px) {
    .video-close {
        top: 15px;
        right: 20px;
        font-size: 32px;
        width: 44px;
        height: 44px;
    }
    
    .video-wrapper {
        padding: 50px 15px 15px 15px;
    }
    
    .video-wrapper iframe {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .video-close {
        top: 10px;
        right: 15px;
        font-size: 28px;
        width: 40px;
        height: 40px;
    }
    
    .video-wrapper {
        padding: 45px 10px 10px 10px;
    }
    
    .video-wrapper iframe {
        border-radius: 6px;
    }
} 