/* ==========================================
   MOBILE EVM LANDING WEBSITE STYLING SHEET
   ========================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-dark: #0A0A0B;
    --bg-card: #121215;
    --bg-alt: #16161C;
    --color-primary: #FFD700; /* Pure Vibrant Gold */
    --color-primary-rgb: 255, 215, 0;
    --color-success: #10B981; /* Electric Emerald Green */
    --color-danger: #EF4444; /* Coral Red */
    --color-text-white: #F3F4F6;
    --color-text-gray: #9CA3AF;
    --color-border: rgba(255, 215, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Top Announcement Bar --- */
.top-announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    background: rgba(255, 215, 0, 0.06);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    z-index: 1005;
}

/* --- Document Defaults & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    border-left: 1.5px dashed rgba(255, 215, 0, 0.12); /* Sleek vertical layout lines */
    border-right: 1.5px dashed rgba(255, 215, 0, 0.12);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.01) 0%, transparent 15%, transparent 85%, rgba(255, 215, 0, 0.01) 100%);
}

.section {
    padding: 100px 0;
}

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

/* --- Reusable Utility Typography --- */
.text-gold {
    color: var(--color-primary) !important;
}

.accent-text {
    color: var(--color-primary);
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Interactive Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn:active {
    transform: scale(0.95) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #FFA500 100%);
    color: #000;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--color-text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Navigation Header --- */
.header {
    position: fixed;
    top: 0; /* Positioned at very top */
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
}

.header-actions {
    margin-left: auto; /* Push to the right */
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn {
    padding: 8px 18px !important;
    font-size: 13px !important;
    border-radius: var(--radius-sm) !important;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px; /* Slightly tighter gap to allow padding without overflow */
}

.nav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-gray);
    padding: 6px 14px;
    border-radius: 30px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: 1px solid transparent;
}

.nav a:hover {
    color: var(--color-text-white);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav a:active {
    transform: scale(0.93) !important;
}

/* Active navigation item - Golden Pill style */
.nav a.active-nav {
    background-color: var(--color-primary) !important;
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
    border-color: var(--color-primary);
}

.nav-btn {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

/* --- Hero Section & Layout --- */
.hero-section {
    padding-top: 120px; /* Reduced to eliminate vertical blank space */
    padding-bottom: 80px;
    min-height: calc(100vh - 80px); /* Center content within remaining viewport height */
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.02) 0%, transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Copy on left, visual on right */
    gap: 64px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-gray);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.live-counter-card {
    background: var(--glass-bg);
    border: 1.5px solid rgba(255, 215, 0, 0.3); /* Premium gold border */
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.06);
}

.counter-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.live-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-success);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: inline-block;
    animation: greenPulse 1.5s infinite;
}

.counter-label {
    font-size: 12px;
    color: var(--color-text-gray);
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1px;
}

/* --- CSS iPhone 15 Pro Simulator --- */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 320px;
    height: 650px;
    background-color: #000;
    border-radius: 48px;
    border: 9px solid #d4af37; /* Premium Gold Bezel */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8),
                0 0 35px rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: floatPhone 6s ease-in-out infinite;
}

/* iPhone Buttons */
.phone-button {
    position: absolute;
    background-color: #2D2D30;
    border-radius: 2px;
}
.btn-action { left: -10px; top: 110px; width: 2px; height: 18px; }
.btn-vol-up { left: -10px; top: 145px; width: 2px; height: 42px; }
.btn-vol-down { left: -10px; top: 200px; width: 2px; height: 42px; }
.btn-power { right: -10px; top: 170px; width: 2px; height: 50px; }

/* Dynamic Island Notch */
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background-color: #000;
    border-radius: 15px;
    z-index: 100;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 39px;
    position: relative;
    overflow: hidden;
    background-color: #121212;
}

/* Screen Transitions */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 10;
}

/* Simulator Screen Header */
.screen-header {
    height: 76px;
    padding-top: 36px; /* Spacing for Dynamic Island */
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.justify-between {
    justify-content: space-between;
}

.screen-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--color-text-white);
}

.volume-btn {
    color: var(--color-primary);
    font-size: 16px;
    cursor: pointer;
}

.screen-votes-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-primary);
}

.green-dot {
    width: 5px;
    height: 5px;
    background-color: var(--color-success);
    border-radius: 50%;
    display: inline-block;
}

.live-results-badge {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--color-success);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* Screen Content */
.screen-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* View 1: Voter Registration form */
.reg-form {
    justify-content: center;
}

.reg-welcome {
    text-align: center;
    margin-bottom: 20px;
}

.reg-welcome h3 {
    font-size: 18px;
    color: var(--color-text-white);
    margin-bottom: 4px;
}

.reg-welcome p {
    font-size: 11px;
    color: var(--color-text-gray);
}

.form-group {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sim-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 12px;
    color: var(--color-text-white);
    font-family: var(--font-body);
}

select.sim-input {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gold' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.btn-sim-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #FFA500 100%);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 11px;
    font-weight: 800;
    margin-top: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* View 2: Ballot Page */
.sim-banner {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    text-align: center;
}

.sim-banner h4 {
    font-size: 9px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.sim-banner p {
    font-size: 8px;
    color: var(--color-text-gray);
}

.ballot-list {
    gap: 8px;
}

.ballot-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.ballot-card:hover {
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.ballot-serial {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ballot-info {
    flex: 1;
}

.ballot-party-name {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text-white);
}

.ballot-candidate {
    font-size: 9px;
    color: var(--color-text-gray);
}

.btn-vote {
    background: rgba(255, 215, 0, 0.05);
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 9px;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-vote:hover {
    background: var(--color-primary);
    color: #000;
}

/* Dialog Styling */
.sim-dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: opacity 0.3s ease;
}

.sim-dialog-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sim-dialog {
    background: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px;
    width: 100%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sim-dialog-overlay.active .sim-dialog {
    transform: scale(1);
}

.sim-dialog h4 {
    font-size: 14px;
    color: var(--color-text-white);
    margin-bottom: 6px;
}

.sim-dialog p {
    font-size: 11px;
    color: var(--color-text-gray);
    margin-bottom: 16px;
}

.sim-dialog-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.btn-sim-text {
    background: transparent;
    border: none;
    color: var(--color-danger);
    font-weight: 700;
    font-size: 11px;
    padding: 8px 14px;
    cursor: pointer;
}

.btn-sim-success {
    background: var(--color-success);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    padding: 8px 14px;
    cursor: pointer;
}

/* View 3: Results Page */
.results-view {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success-icon-container {
    margin-bottom: 8px;
}

.checkmark-icon {
    font-size: 52px;
    color: var(--color-success);
    animation: scaleCheckmark 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.vote-thankyou {
    font-size: 18px;
    color: var(--color-text-white);
    margin-bottom: 2px;
}

.vote-subtitle {
    font-size: 10px;
    color: var(--color-text-gray);
    margin-bottom: 16px;
}

.lockout-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px;
    width: 100%;
    margin-bottom: 16px;
}

.lockout-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.lockout-timer {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-danger);
    margin-bottom: 4px;
}

.lockout-hint {
    font-size: 8px;
    color: var(--color-text-gray);
}

.winner-preview-card {
    background: rgba(255, 215, 0, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 14px;
    padding: 12px;
    width: 100%;
    text-align: left;
    margin-bottom: 16px;
}

.winner-label {
    font-size: 8px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.winner-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 6px;
}

.winner-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.winner-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, #FFA500 100%);
    border-radius: 3px;
    transition: width 1s ease-out;
}

.winner-stats {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: var(--color-text-gray);
}

.btn-sim-outline-gold {
    background: transparent;
    border: 1px dashed rgba(255, 215, 0, 0.3);
    color: var(--color-primary);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    transition: var(--transition);
}

.btn-sim-outline-gold:hover {
    background: rgba(255, 215, 0, 0.05);
    border-style: solid;
}

/* --- Features Block Grid --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-subtitle {
    font-size: 15px;
    color: var(--color-text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    padding: 36px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.12), 0 0 15px rgba(255, 215, 0, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
    color: #000;
}

.bg-gold { background-color: var(--color-primary); }
.bg-emerald { background-color: var(--color-success); color: #fff; }
.bg-red { background-color: var(--color-danger); color: #fff; }
.bg-blue { background-color: #3B82F6; color: #fff; }

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--color-text-gray);
}

/* --- Workflow Steps --- */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.step-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.12);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    color: rgba(255, 215, 0, 0.1);
    line-height: 1;
    margin-bottom: 12px;
    transition: var(--transition);
}

.step-item:hover .step-number {
    color: var(--color-primary);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: var(--color-text-gray);
}

/* --- Media Walkthrough Section --- */
.media-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

/* --- Media Walkthrough Section --- */
.media-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.video-simulator-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 610px; /* Matched to the phone mockup frame height to prevent page shifting */
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.video-screen {
    flex: 1;
    background: radial-gradient(circle at center, #1E1E24 0%, #08080A 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.actual-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    padding-bottom: 50px; /* Space for caption text */
}

.video-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.video-slide img {
    height: 85%;
    max-height: 90%;
    border-radius: 20px;
    border: 4px solid #3A3A3D; /* Mock Titanium bezel */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    object-fit: contain;
}

/* Fullscreen Styling */
#video-sim-root:fullscreen,
#video-sim-root:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    background: #000 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border: none !important;
    border-radius: 0 !important;
}

#video-sim-root:fullscreen .video-screen,
#video-sim-root:-webkit-full-screen .video-screen {
    flex: 1 !important;
}

#video-sim-root:fullscreen .video-slide img,
#video-sim-root:-webkit-full-screen .video-slide img {
    height: 80vh !important;
    max-height: 80vh !important;
    border-width: 6px !important;
    border-radius: 28px !important;
}

#video-sim-root:fullscreen .video-caption,
#video-sim-root:-webkit-full-screen .video-caption {
    font-size: 16px !important;
    bottom: 28px !important;
    padding: 12px 32px !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

#video-sim-root:fullscreen .video-controls-bar,
#video-sim-root:-webkit-full-screen .video-controls-bar {
    height: 60px !important;
    padding: 0 24px !important;
    background: #08080C !important;
}

#video-sim-root:fullscreen .control-btn,
#video-sim-root:-webkit-full-screen .control-btn {
    font-size: 24px !important;
}

.video-caption {
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    text-align: center;
    font-weight: 500;
}

/* Virtual Cursor tap overlay */
.virtual-cursor {
    position: absolute;
    width: 28px;
    height: 28px;
    background: rgba(255, 215, 0, 0.4);
    border: 2.5px solid var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}

@keyframes tapEffect {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(0.7); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* Big Play Overlay Button */
.video-big-play-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
    transition: var(--transition);
}

.video-big-play-btn:hover {
    background: rgba(10, 10, 11, 0.75);
}

.play-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}

.video-big-play-btn:hover .play-icon-circle {
    transform: scale(1.1);
    background: var(--color-primary);
}

.play-icon {
    font-size: 26px;
    color: var(--color-primary);
    margin-left: 4px; /* offset play triangle centring */
    transition: var(--transition);
}

.video-big-play-btn:hover .play-icon {
    color: #000;
}

.video-title-placeholder {
    font-size: 18px;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.video-subtitle-placeholder {
    font-size: 13px;
    color: var(--color-text-gray);
    max-width: 320px;
}

/* Controls Bar */
.video-controls-bar {
    height: 48px;
    background: #111115;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    user-select: none;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--color-text-gray);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.control-btn:hover {
    color: var(--color-primary);
}

.timeline-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.timeline-fill {
    height: 100%;
    width: 0%;
    background: var(--color-primary);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.time-display {
    font-size: 11px;
    color: var(--color-text-gray);
    font-family: monospace;
}

/* Sidebar Gallery cards for portrait images */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    gap: 16px;
    align-items: center;
    overflow: hidden;
}

.gallery-img-container {
    width: 65px;
    height: 110px;
    background: #000;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
    flex-shrink: 0;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-card-content {
    flex: 1;
}

.gallery-card-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--color-text-white);
}

.gallery-card-content p {
    font-size: 12px;
    color: var(--color-text-gray);
}

/* --- FAQ Section & Accordion --- */
.faq-container {
    max-width: 800px;
}

.faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.03);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    text-align: left;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-chevron {
    font-size: 18px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 24px;
    color: var(--color-text-gray);
    font-size: 14px;
    border-top: 1px solid transparent;
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.08);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Big enough for the answer text */
    padding-bottom: 24px;
    border-color: var(--color-border);
}

/* --- Footer --- */
.footer {
    background: #060607;
    border-top: 1px solid var(--color-border);
    padding: 80px 0 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 20px;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-gray);
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-gray);
}

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

.footer-credit {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-credit h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--color-text-white);
}

.footer-credit p {
    font-size: 13px;
    color: var(--color-text-gray);
}

/* --- Showcase Container & Tabs --- */
.showcase-container {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text-gray);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: #000 !important;
    background: var(--color-primary) !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
}

.tab-btn ion-icon {
    font-size: 16px;
}

/* --- Clickable Smartphone Simulator --- */
.interactive-simulator-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sim-phone-frame {
    width: 290px;
    height: 590px;
    background-color: #000;
    border-radius: 44px;
    border: 10px solid #2C2C2E; /* Space Gray Bezel */
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.85),
                0 0 20px rgba(255, 255, 255, 0.03),
                inset 0 0 8px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.sim-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background-color: #000;
    border-radius: 10px;
    z-index: 100;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.2);
}

.sim-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    background-color: #121212;
}

.sim-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.sim-screen.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.sim-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15); /* Crop out the screenshot's embedded phone bezel */
    transition: transform 0.3s ease;
}

/* Hotspot targets */
.sim-hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 20;
}

.pulse-hotspot {
    border: 2px dashed var(--color-primary);
    background: rgba(255, 215, 0, 0.15);
    border-radius: 8px;
    box-shadow: 0 0 8px var(--color-primary);
    animation: hotspotPulse 1.5s infinite;
}

@keyframes hotspotPulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.02); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* Help Badge */
.sim-badge {
    position: absolute;
    top: 40px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 10px;
    text-align: center;
    font-weight: 700;
    z-index: 30;
    pointer-events: none;
    letter-spacing: 0.5px;
}

/* Sim Dialog Overlay */
.sim-dialog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    z-index: 40;
    transition: opacity 0.3s ease;
}

.sim-dialog-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sim-dialog-card {
    background: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    width: 100%;
    text-align: center;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sim-dialog-overlay.active .sim-dialog-card {
    transform: scale(1);
}

.sim-dialog-card h4 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 6px;
}

.sim-dialog-card p {
    font-size: 11px;
    color: var(--color-text-gray);
    margin-bottom: 16px;
}

.sim-dialog-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* Success Beep Overlay */
.sim-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 24px;
}

.sim-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sim-success-icon {
    font-size: 48px;
    color: var(--color-success);
    margin-bottom: 8px;
}

.sim-success-overlay h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
}

.sim-success-overlay p {
    font-size: 11px;
    color: var(--color-text-gray);
}

/* Restart Button */
.sim-restart-btn {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    border: none;
    color: #000;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    z-index: 30;
    transition: var(--transition);
}

.sim-restart-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* --- Animations (@keyframes) --- */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes greenPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes floatPhone {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes scaleCheckmark {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Pricing Section Styles --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-top: 50px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 45px rgba(255, 215, 0, 0.15), 0 0 15px rgba(255, 215, 0, 0.05);
}

/* Featured Professional card */
.pricing-card.featured {
    background: linear-gradient(180deg, rgba(22, 22, 28, 0.8) 0%, rgba(10, 10, 12, 0.98) 100%);
    border: 2.5px solid var(--color-primary);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.08);
}

.pricing-card.featured:hover {
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.15);
}

.card-glow {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.popular-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #FFA500 100%);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
    z-index: 10;
}

.pricing-card-header {
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-white);
    display: block;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 16px;
}

.plan-price .currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-white);
    margin-right: 4px;
}

.plan-price .price-val {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 900;
    line-height: 1;
    color: var(--color-text-white);
}

.plan-price .price-period {
    font-size: 14px;
    color: var(--color-text-gray);
    margin-left: 6px;
}

.plan-description {
    font-size: 13.5px;
    color: var(--color-text-gray);
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--color-text-gray);
    line-height: 1.4;
}

.plan-features li strong {
    color: var(--color-text-white);
}

.feature-icon-check {
    font-size: 16px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-cta {
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

/* --- Pricing Responsive Rules --- */
@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 40px auto 0 auto;
        gap: 32px;
    }
}

/* --- Responsive Layout Breaks --- */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 42px;
    }
    .media-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .header {
        position: relative;
    }
    .nav-container {
        height: auto;
        padding: 16px 0;
        flex-direction: column;
        gap: 16px;
    }
    .nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .section {
        padding: 60px 0;
    }
    .hero-section {
        padding-top: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.sub-credit {
    font-size: 11px !important;
    color: #555 !important;
    margin-top: 12px;
}

/* --- Contact Section Styles --- */
.contact-card-wrapper {
    background: var(--bg-card);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 215, 0, 0.05);
}

.contact-card-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-gray);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-creator-tamil {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.contact-creator-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: 32px;
}

.contact-creator-name .divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    color: var(--color-text-gray);
}

.contact-icon {
    font-size: 22px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-link {
    color: var(--color-text-white);
    font-weight: 600;
    border-bottom: 1.5px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.warning-row {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 12px 16px;
    border-radius: var(--radius-md);
}

.warning-row .contact-text {
    font-weight: 700;
    color: var(--color-danger);
}

.contact-card-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px dashed rgba(255, 215, 0, 0.15);
    padding: 28px;
    border-radius: var(--radius-md);
    text-align: center;
}

.contact-qr-img {
    width: 170px;
    height: 170px;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.qr-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--color-success);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .contact-card-wrapper {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 36px;
    }
}

/* --- Google Translate Custom Styling --- */
.lang-selector-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--radius-sm);
    padding: 2px 10px;
    transition: var(--transition);
}

.lang-selector-container:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
}

.lang-icon {
    font-size: 18px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.lang-selector {
    display: inline-block;
}

#google_translate_element select.goog-te-combo {
    background: transparent !important;
    border: none !important;
    color: var(--color-text-white) !important;
    padding: 6px 0 !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    outline: none !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

#google_translate_element select.goog-te-combo option {
    color: #1e293b !important;
    background-color: #ffffff !important;
    font-family: var(--font-body) !important;
}

/* Clean Google Translate overrides */
.goog-logo-link, 
.goog-te-gadget span, 
.goog-te-banner-frame,
#goog-gt-tt,
.translation-stats {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

body {
    top: 0 !important;
}

/* --- Hero Section Branding Logo --- */
.hero-logo {
    width: 320px;
    height: 320px;
    border-radius: var(--radius-sm); /* Square size with clean rounded corners */
    border: 2.5px solid var(--color-primary);
    margin-top: 24px;
    margin-bottom: 24px;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
    object-fit: cover;
    max-width: 100%;
}

@media (max-width: 767px) {
    .hero-logo {
        width: 240px;
        height: 240px;
    }
}

/* --- Live Voting QR Showcase Tab --- */
.qr-showcase-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-showcase-card {
    background: var(--bg-card);
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.05);
}

.qr-entry-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-gray);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.qr-entry-link {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 20px;
    border-bottom: 1.5px solid rgba(255, 215, 0, 0.3);
    transition: var(--transition);
}

.qr-entry-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.qr-live-badge {
    background: rgba(239, 68, 68, 0.1);
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    color: #FF6B6B;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.pulse-dot-red {
    width: 8px;
    height: 8px;
    background-color: #EF4444;
    border-radius: 50%;
    display: inline-block;
    animation: redPulse 1.5s infinite;
}

@keyframes redPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.qr-code-container {
    background: white;
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.live-voting-qr {
    width: 180px;
    height: 180px;
    display: block;
    object-fit: contain;
}

/* ==========================================
   ECI OFFICIAL RESOURCE PAGE STYLING
   ========================================== */
.eci-hero-section {
    padding-top: 120px; /* Adjusted after removing top announcement bar */
    padding-bottom: 60px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.03) 0%, transparent 100%);
    text-align: center;
}

.eci-title {
    font-size: 48px;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.eci-subtitle {
    color: var(--color-text-gray);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* ECI Card Layout */
.voter-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.eci-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eci-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.1);
}

.eci-card-icon {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.eci-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.eci-card-desc {
    color: var(--color-text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.eci-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: auto;
}

.eci-card-link ion-icon {
    transition: transform 0.2s;
}

.eci-card-link:hover ion-icon {
    transform: translateX(4px);
}

/* Pledge Widget Section */
.pledge-section {
    background: var(--bg-alt);
    padding: 80px 0;
}

.pledge-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .pledge-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.pledge-info-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.pledge-info-desc {
    color: var(--color-text-gray);
    margin-bottom: 30px;
}

.pledge-lang-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.pledge-lang-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pledge-lang-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
}

.pledge-lang-btn:active {
    transform: scale(0.95);
}

.pledge-lang-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
}

.pledge-text-content {
    background: rgba(0,0,0,0.2);
    border: 1px dashed rgba(255, 215, 0, 0.2);
    padding: 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    line-height: 1.8;
    color: #E5E7EB;
    margin-bottom: 24px;
    font-style: italic;
    min-height: 150px;
}

.pledge-form-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 15px;
    margin-bottom: 16px;
    outline: none;
    transition: var(--transition);
}

.pledge-form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.pledge-certificate-card {
    background: radial-gradient(circle at center, #1b1b22 0%, #121215 100%);
    border: 3px double var(--color-primary);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 400px;
    justify-content: center;
}

.pledge-certificate-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    pointer-events: none;
}

.cert-emblem {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.cert-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cert-subtitle {
    font-size: 12px;
    color: var(--color-text-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cert-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--color-text-white);
}

.cert-signature-name {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    padding-bottom: 4px;
    width: 80%;
    min-height: 38px;
}

.cert-seal {
    width: 60px;
    height: 60px;
    border: 2px dashed var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    color: var(--color-primary);
    margin-top: 20px;
    background: rgba(255, 215, 0, 0.03);
}

.pledge-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    padding: 10px 20px;
    border-radius: 30px;
    width: fit-content;
}

.pledge-stats-number {
    font-weight: 800;
    color: var(--color-primary);
}

/* App Store section styling */
.apps-section {
    padding: 80px 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.app-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.app-icon {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.app-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-desc {
    color: var(--color-text-gray);
    font-size: 14px;
    margin-bottom: 24px;
}

.app-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.app-badge-link:hover {
    border-color: var(--color-primary);
    background: #0A0A0B;
}

.app-badge-link ion-icon {
    font-size: 20px;
}

/* ==========================================
   FULLSCREEN TV MODE KIOSK OVERLAY STYLING
   ========================================== */
.tv-kiosk-overlay {
    display: none;
}

/* When fullscreen is active */
.tv-kiosk-overlay:fullscreen,
.tv-kiosk-overlay.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #071A36;
    padding: 30px 40px;
    box-sizing: border-box;
    overflow: hidden;
    color: #fff;
    font-family: var(--font-body);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* Close button / exit TV mode */
.tv-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10000;
    transition: all 0.2s ease;
}

.tv-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.tv-close-btn:active {
    transform: scale(0.95);
}

.tv-container {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

/* Header Box */
.tv-header-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
    border-radius: 16px;
    border: 2px solid rgba(255, 213, 74, 0.5);
    box-shadow: 0 0 20px rgba(255, 213, 74, 0.15);
}

.tv-live-tag {
    background-color: #EF5350;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(239, 83, 80, 0.6);
}

.tv-election-title {
    font-size: 28px;
    font-weight: 900;
    color: #FFD54A;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    text-shadow: 0 0 10px rgba(255, 213, 74, 0.3);
}

.tv-election-desc {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    opacity: 0.9;
}

/* Center Panel Grid layout */
.tv-center-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    margin: 20px 0;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .tv-center-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
    }
    .tv-ad-box {
        display: none; /* Hide ads on mobile screens */
    }
}

.tv-ad-box {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tv-ad-placeholder {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.1em;
}

/* Center QR Code box */
.tv-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tv-scan-instruction {
    border: 3px solid #FFD54A;
    background: rgba(255, 213, 74, 0.15);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 10px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(255, 213, 74, 0.3);
}

.tv-qr-card {
    background: #fff;
    padding: 16px;
    border-radius: 24px;
    box-shadow: 0 0 30px rgba(255, 213, 74, 0.25);
    margin-bottom: 16px;
}

.tv-qr-img {
    width: 240px;
    height: 240px;
    display: block;
    object-fit: contain;
}

.tv-manual-url {
    text-align: center;
}

.tv-url-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.tv-manual-url a {
    font-size: 24px;
    font-weight: 900;
    color: #FFD54A;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255, 213, 74, 0.2);
}

/* Footer Bar */
.tv-footer-bar {
    background-color: #0F172A;
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.tv-footer-bar p {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.tv-support-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Kiosk Auto-URL Splash Screen styles */
.kiosk-splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #071A36;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-body);
}

.kiosk-splash-card {
    background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 400px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.kiosk-splash-icon {
    font-size: 60px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* --- Visitor Stats Card --- */
.visitor-stats-card {
    margin-top: 32px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 340px;
    transition: var(--transition);
}

.visitor-stats-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.visitor-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 22px;
}

.visitor-info-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.visitor-count-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.visitor-count-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

#visitor-count-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    line-height: 1;
}

.live-pulse-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: #10B981;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pulse-dot-green {
    width: 7px;
    height: 7px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    animation: greenPulse 1.5s infinite;
}

@keyframes greenPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}


