/* CSS Design System for Projectslite */

:root {
    /* Color Palette */
    --primary: #ffffff;
    --secondary: #0f71ba;
    --secondary-glow: rgba(15, 113, 186, 0.65);
    --secondary-glow-light: rgba(15, 113, 186, 0.15);
    --combination: #333333;
    
    /* Dark Mode Defaults (Powered Off State) */
    --bg-base: #06090e;
    --bg-darker: #030508;
    --card-bg: rgba(51, 51, 51, 0.25);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --canvas-opacity: 0.45;
    
    /* LED Status Colors */
    --led-red: #ff3b30;
    --led-green: #34c759;
    --led-yellow: #ffcc00;
    --led-glow: rgba(255, 59, 48, 0.4);

    /* Grid overlay colors */
    --grid-color: rgba(15, 113, 186, 0.04);
}

/* Base resets & structural styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                color 0.4s ease, 
                box-shadow 0.4s ease, 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Light / Powered-On Mode Variables Override */
body[data-power-on="true"] {
    --bg-base: #f4f7fa;
    --bg-darker: #e9eef3;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(15, 113, 186, 0.12);
    --text-primary: #333333;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --canvas-opacity: 0.75;
    --led-glow: rgba(52, 199, 89, 0.5);
    --grid-color: rgba(15, 113, 186, 0.08);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Interactive Canvas & Grids background */
#energy-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: var(--canvas-opacity);
}

.glow-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center center;
    pointer-events: none;
}

/* Main Container */
.app-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header styling */
.app-header {
    width: 100%;
    padding: 32px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.logo-text .highlight {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary-glow);
}

body[data-power-on="true"] .logo-text .highlight {
    text-shadow: 0 0 15px var(--secondary-glow);
}

.logo-filament {
    stroke-dasharray: 60;
    animation: filamentPulse 4s infinite ease-in-out;
}

@keyframes filamentPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; stroke: #fff; filter: drop-shadow(0 0 4px var(--secondary)); }
}

.logo-node {
    animation: nodePulse 2s infinite ease-in-out;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; fill: var(--secondary); }
}

/* Header Grid Status indicator */
.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    background-color: var(--led-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--led-red);
    animation: pulseLED 1.5s infinite;
}

body[data-power-on="true"] .status-indicator-dot {
    background-color: var(--led-green);
    box-shadow: 0 0 10px var(--led-green);
}

.status-label {
    color: var(--text-secondary);
}

@keyframes pulseLED {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Hero Section layout */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0 80px 0;
}

.hero-glow-back {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.25;
    filter: blur(40px);
    pointer-events: none;
    transition: all 0.8s ease;
}

body[data-power-on="true"] .hero-glow-back {
    width: 480px;
    height: 480px;
    opacity: 0.45;
}

/* Badge 'Coming Soon' styling */
.badge-container {
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 113, 186, 0.1);
    border: 1px solid var(--secondary-glow);
    padding: 6px 16px;
    border-radius: 20px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 0 12px rgba(15, 113, 186, 0.2);
}

body[data-power-on="true"] .badge {
    background: var(--secondary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--secondary-glow);
}

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

body[data-power-on="true"] .badge-pulse {
    background-color: #fff;
}

@keyframes badgePulseAnim {
    0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 var(--secondary-glow); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px transparent; }
    100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 transparent; }
}

/* Main Heading Title */
.main-title {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .main-title { font-size: 38px; }
}

.glow-title {
    color: var(--secondary);
    background: linear-gradient(135deg, var(--secondary) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px var(--secondary-glow-light));
    position: relative;
    display: inline-block;
}

body[data-power-on="true"] .glow-title {
    background: linear-gradient(135deg, var(--secondary) 30%, #005a9e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px var(--secondary-glow));
}

.sub-headline {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 40px auto;
}

/* Master Power Toggle Switch (Premium Widget) */
.control-widget-container {
    margin-bottom: 48px;
    z-index: 20;
}

.control-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px 32px;
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

body[data-power-on="true"] .control-card {
    box-shadow: 0 15px 40px rgba(15, 113, 186, 0.15);
}

.card-glow-border {
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 16px;
    pointer-events: none;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--secondary-glow) 0%, transparent 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.4;
}

body[data-power-on="true"] .card-glow-border {
    opacity: 1;
    background: linear-gradient(135deg, var(--secondary) 0%, #fff 100%) border-box;
}

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

.indicator-group {
    display: flex;
    gap: 6px;
}

.led-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--led-red);
    box-shadow: 0 0 6px var(--led-red);
}

body[data-power-on="true"] .led-light {
    background-color: var(--led-green);
    box-shadow: 0 0 8px var(--led-green);
}

#led-2 {
    background-color: #555;
    box-shadow: none;
}

#led-3 {
    background-color: #555;
    box-shadow: none;
}

body[data-power-on="true"] #led-2 {
    background-color: var(--led-green);
    box-shadow: 0 0 8px var(--led-green);
    animation: ledPulseFast 0.8s infinite alternate;
}

body[data-power-on="true"] #led-3 {
    background-color: var(--led-green);
    box-shadow: 0 0 8px var(--led-green);
    animation: ledPulseFast 0.5s infinite alternate 0.2s;
}

@keyframes ledPulseFast {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.control-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* Switch styling */
.switch-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.voltage-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    font-family: monospace;
}

.switch-housing {
    position: relative;
    width: 60px;
    height: 100px;
    background: #111;
    border: 4px solid var(--combination);
    border-radius: 12px;
    padding: 4px;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.8), 0 2px 4px rgba(255,255,255,0.05);
}

body[data-power-on="true"] .switch-housing {
    border-color: var(--secondary);
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.8), 0 0 10px rgba(15, 113, 186, 0.3);
}

.switch-housing input {
    display: none;
}

.switch-toggle-btn {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.switch-nob {
    position: absolute;
    left: 0;
    width: 100%;
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(180deg, #555 0%, #222 100%);
    border: 1px solid #444;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6), inset 0 2px 2px rgba(255,255,255,0.2);
    top: 36px; /* Off state */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.85, 0, 0.15, 1);
}

.switch-groove {
    width: 24px;
    height: 4px;
    background: #111;
    border-radius: 2px;
}

.switch-housing input:checked + .switch-toggle-btn .switch-nob {
    top: 0px; /* On State */
    background: linear-gradient(180deg, #fff 0%, #a0aec0 100%);
    border-color: #fff;
    box-shadow: 0 8px 15px rgba(15, 113, 186, 0.4), inset 0 2px 2px #fff;
}

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

#power-instruction {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--secondary);
    animation: flashText 2s infinite;
}

body[data-power-on="true"] #power-instruction {
    color: var(--led-green);
    animation: none;
}

@keyframes flashText {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Countdown Timer Section */
.countdown-container {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.countdown-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.countdown-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.num-box {
    font-family: 'Outfit', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

body[data-power-on="true"] .num-box {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary-glow);
}

.label-box {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.countdown-divider {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-muted);
    padding-bottom: 24px;
}

body[data-power-on="true"] .countdown-divider {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary-glow);
    animation: dashPulse 1s infinite;
}

@keyframes dashPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Categories Section Details */
.categories-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 54px;
}

.section-title {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Category individual Card style */
.category-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    overflow: hidden;
    cursor: default;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary-glow);
    box-shadow: 0 12px 30px rgba(15, 113, 186, 0.08);
}

body[data-power-on="true"] .category-card:hover {
    box-shadow: 0 15px 40px rgba(15, 113, 186, 0.15);
    border-color: var(--secondary);
}

/* Glowing overlay inside category card */
.card-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--secondary-glow-light) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.category-card:hover .card-glow {
    opacity: 1;
}

.card-icon-container {
    width: 64px;
    height: 64px;
    position: relative;
    z-index: 10;
}

.category-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Base state SVGs */
.svg-outline {
    stroke-dasharray: 200;
    stroke-dashoffset: 0;
}

.category-card:hover .svg-outline {
    animation: drawOutline 2s ease-out forwards;
}

@keyframes drawOutline {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}

/* Lighting Card animation details */
.svg-ray {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.category-card:hover .svg-ray {
    opacity: 1;
    animation: rayFlicker 1.2s infinite;
}

.svg-filament {
    opacity: 0.2;
}

body[data-power-on="true"] .svg-filament {
    opacity: 0.8;
    stroke: #ffcc00;
    filter: drop-shadow(0 0 6px #ffcc00);
}

body[data-power-on="true"] .category-card[data-index="1"]:hover .svg-ray {
    stroke: #ffcc00;
    filter: drop-shadow(0 0 4px #ffcc00);
}

@keyframes rayFlicker {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Switches Card animation */
.svg-switch-dot {
    fill: var(--text-muted);
}

body[data-power-on="true"] .svg-switch-dot {
    fill: var(--secondary);
    filter: drop-shadow(0 0 4px var(--secondary));
}

.category-card[data-index="2"]:hover .circuit-wire {
    stroke-dasharray: 8 4;
    animation: wireFlow 1s infinite linear;
}

@keyframes wireFlow {
    from { stroke-dashoffset: 12; }
    to { stroke-dashoffset: 0; }
}

/* Wire Flow details */
.category-card[data-index="3"]:hover .svg-wire-3 {
    animation: dashShift 1.5s infinite linear;
}

@keyframes dashShift {
    from { stroke-dashoffset: 16; }
    to { stroke-dashoffset: 0; }
}

body[data-power-on="true"] .svg-wire-2 {
    stroke: var(--secondary);
    filter: drop-shadow(0 0 4px var(--secondary));
}

/* Shield circuit breaker animations */
.category-card[data-index="4"]:hover .svg-bolt {
    animation: breakerPulse 1s infinite alternate;
}

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

.category-title {
    font-size: 20px;
    color: var(--text-primary);
    position: relative;
    z-index: 10;
}

.category-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    z-index: 10;
}

.card-footer-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 10;
}

.category-card:hover .card-footer-glow {
    transform: scaleX(1);
}

/* Technical System Monitoring Section (Premium UI touch) */
.tech-monitor-section {
    padding: 20px 0 60px 0;
}

.monitor-panel {
    position: relative;
    background: var(--bg-darker);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.6);
}

body[data-power-on="true"] .monitor-panel {
    background: #182333;
    border-color: rgba(15, 113, 186, 0.3);
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.4), 0 8px 30px rgba(15, 113, 186, 0.08);
}

.panel-border {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary) 50%, transparent 100%);
    animation: flowLight 3s infinite linear;
}

@keyframes flowLight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 16px;
}

.monitor-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.monitor-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.monitor-label i {
    color: var(--secondary);
    margin-right: 4px;
}

.monitor-value {
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.text-glow-blue {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary-glow);
}

body[data-power-on="true"] .text-glow-blue {
    color: var(--led-green);
    text-shadow: 0 0 10px var(--led-glow);
}

.monitor-scroller {
    width: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.4);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.02);
}

body[data-power-on="true"] .monitor-scroller {
    background: rgba(0,0,0,0.2);
}

.scroll-text {
    font-family: monospace;
    font-size: 11px;
    color: var(--secondary);
    white-space: nowrap;
    animation: scrollLog 25s infinite linear;
    letter-spacing: 0.05em;
}

@keyframes scrollLog {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Pre-Launch Subscriptions Grid */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 54px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.news-title {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.news-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px auto;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 12px;
}

@media (max-width: 640px) {
    .newsletter-form { flex-direction: column; }
}

.input-group {
    flex: 1;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

.input-group input {
    width: 100%;
    height: 52px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0 20px 0 50px;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
}

body[data-power-on="true"] .input-group input {
    background: #fff;
}

.input-group input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 12px var(--secondary-glow-light);
}

.btn-primary {
    height: 52px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-primary:hover {
    background: #0d63a4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--secondary-glow);
}

.success-message {
    margin-top: 16px;
    font-size: 13px;
    color: var(--led-green);
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

/* Contacts layout */
.footer-contacts {
    padding: 60px 0 40px 0;
    border-top: 1px solid var(--card-border);
}

.footer-contact-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 6px;
}

.footer-contact-sub {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    font-size: 14px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.contact-card.whatsapp:hover::after { background-color: #25d366; }
.contact-card.phone:hover::after { background-color: var(--secondary); }
.contact-card.email:hover::after { background-color: #ff9f0a; }

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

body[data-power-on="true"] .contact-card:hover {
    box-shadow: 0 8px 24px rgba(15, 113, 186, 0.08);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
}

body[data-power-on="true"] .contact-icon {
    background: var(--bg-darker);
}

.whatsapp .contact-icon { color: #25d366; background: rgba(37, 211, 102, 0.08); }
.phone .contact-icon { color: var(--secondary); background: rgba(15, 113, 186, 0.08); }
.email .contact-icon { color: #ff9f0a; background: rgba(255, 159, 10, 0.08); }

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

.contact-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.contact-detail {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-action {
    color: var(--text-muted);
    font-size: 12px;
}

.contact-card:hover .contact-action {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-copyright {
    padding: 32px 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Toast message floating styles */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--combination);
    border-left: 4px solid var(--secondary);
    color: #fff;
    padding: 16px 28px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 13px;
    font-weight: 600;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Premium Scrollbars styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--combination);
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}
