/* Koperasi Produsen Rezeki Anak Melayu Styling */

:root {
    --bg-primary: #060d1a;
    --bg-secondary: #0c182b;
    --bg-tertiary: #13223c;
    
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    --accent-gold: #d4af37;
    --accent-gold-light: #e5c158;
    --accent-teal: #00e5ff;
    --accent-teal-dark: #00a8cc;
    
    --status-green: #00e676;
    --status-orange: #ff9100;
    --status-red: #ff3d00;
    
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --glass-bg: rgba(12, 24, 43, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-teal-dark);
}

/* Typo Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Button & UI elements */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-dark));
    color: #060d1a;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-gold);
}
.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold-light);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--status-green);
    box-shadow: 0 0 8px var(--status-green);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 13, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
}

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

.logo-title {
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, #ffffff, var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--accent-teal);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-teal);
}

.nav-btn-highlight {
    padding: 0.4rem 1rem;
    border-radius: 6px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--accent-teal) !important;
    font-weight: 600;
}
.nav-btn-highlight:hover {
    background: rgba(0, 229, 255, 0.2);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 9rem 0 7rem;
    background: radial-gradient(circle at 10% 20%, rgba(12, 30, 61, 0.4) 0%, rgba(6, 13, 26, 1) 90%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 30%, rgba(0, 229, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 60%, var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    z-index: 5;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    padding: 10px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    display: block;
}

.hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: floating 3s ease-in-out infinite;
}

.hero-card-1 {
    top: 20%;
    left: -10%;
}
.hero-card-2 {
    bottom: 10%;
    right: -5%;
    animation-delay: 1.5s;
}

.hero-card-icon {
    font-size: 1.5rem;
}

.hero-card-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.hero-card-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-teal);
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.wave-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
}

.wave-shape svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* Sections Common */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    font-family: var(--font-header);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--accent-teal);
    font-weight: 800;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* About Section */
.about-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-normal);
}
.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.08);
}

.about-icon {
    color: var(--accent-gold-light);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.about-card-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Products Section */
.products-section {
    background-color: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.product-card {
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.product-card:first-child::before {
    background: linear-gradient(to right, var(--accent-gold), var(--accent-gold-light));
}

.product-card:last-child::before {
    background: linear-gradient(to right, var(--accent-teal), var(--accent-teal-dark));
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.product-badge.premium {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.product-badge.standard {
    background-color: rgba(0, 229, 255, 0.15);
    color: var(--accent-teal);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.product-grade {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-usage {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 2rem;
    min-height: 72px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.spec-table th, .spec-table td {
    padding: 0.75rem 1rem;
    text-align: left;
}

.spec-table th {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
}

.spec-table td {
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-table tr:hover td {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.01);
}

/* AI Operations Dashboard Section (Futuristic theme) */
.dashboard-section {
    background-color: #040914;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.pulsing {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    animation: shadow-pulse 1.8s infinite;
}

@keyframes shadow-pulse {
    0% { box-shadow: 0 0 0 0px rgba(0, 229, 255, 0.7); }
    100% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
}

.dashboard-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    background: #070d1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* DB Sidebar Agent List */
.db-agents-panel {
    background-color: #050a14;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.panel-title {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agent-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    max-height: 520px;
}

.agent-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid transparent;
    transition: var(--transition-fast);
    position: relative;
}
.agent-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 229, 255, 0.1);
}
.agent-item.active {
    background-color: rgba(0, 229, 255, 0.06);
    border-color: rgba(0, 229, 255, 0.25);
}

.agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 0.85rem;
    color: #000;
    flex-shrink: 0;
}

.orchestrator-bg { background-color: var(--accent-gold); color: #000 !important;}
.sea-bg { background-color: #00e5ff; color: #000 !important; }
.qc-bg { background-color: #b3e5fc; color: #000 !important; }
.log-bg { background-color: #ffb74d; color: #000 !important; }
.k3l-bg { background-color: #ff8a80; color: #000 !important; }
.fin-bg { background-color: #81c784; color: #000 !important; }
.sales-bg { background-color: #ba68c8; color: #000 !important; }
.rep-bg { background-color: #90a4ae; color: #000 !important; }

.agent-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: calc(100% - 45px);
}

.agent-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agent-status {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agent-item.active .agent-status {
    color: var(--accent-teal);
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.glow-green {
    background-color: var(--status-green);
    box-shadow: 0 0 8px var(--status-green);
}
.glow-orange {
    background-color: var(--status-orange);
    box-shadow: 0 0 8px var(--status-orange);
    animation: alert-flash 1s infinite alternate;
}

@keyframes alert-flash {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* DB Viewport (Right pane) */
.db-viewport {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* DB Stats */
.db-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.db-stat-card {
    background-color: #050a14;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.1rem 0;
}

.stat-target {
    font-size: 0.72rem;
    color: var(--accent-teal);
}

/* DB Workspace */
.db-workspace {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.25rem;
    min-height: 440px;
}

/* DB Agent Detail */
.db-agent-detail {
    background-color: #050a14;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.detail-name {
    font-size: 1.15rem;
    color: var(--text-primary);
}

.detail-role {
    font-size: 0.78rem;
    color: var(--accent-teal);
    font-weight: 600;
}

.detail-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.88rem;
}

.detail-body h5 {
    color: var(--accent-gold-light);
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
}

.prompt-box {
    background-color: #02050b;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 6px;
    padding: 0.75rem;
    font-family: monospace;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #e2e8f0;
    max-height: 160px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.tool-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tool-list li {
    background-color: #02050b;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    border-left: 2px solid var(--accent-teal);
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* DB Chat Simulator */
.db-chat-simulator {
    background-color: #0c182b; /* WhatsApp style but dark-themed */
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.chat-header {
    background-color: #070e1b;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-header-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.chat-header-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chat-header-subtitle {
    font-size: 0.72rem;
    color: var(--status-green);
    font-weight: 600;
}

.scenario-select {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    cursor: pointer;
}

.chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 0);
    background-size: 16px 16px;
}

/* Chat bubble styling */
.msg-bubble {
    max-width: 80%;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
}

/* System message bubble */
.msg-bubble.system {
    align-self: center;
    background-color: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.03);
    max-width: 90%;
    text-align: center;
}

/* Sender message bubble (user / captain / ABK) */
.msg-bubble.sent {
    align-self: flex-end;
    background-color: #0b513d; /* Dark whatsapp green */
    color: #e6fcf5;
    border-bottom-right-radius: 2px;
}

/* Agent AI response bubble */
.msg-bubble.received {
    align-self: flex-start;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255,255,255,0.05);
}

.msg-sender {
    font-weight: 700;
    font-size: 0.72rem;
    margin-bottom: 0.15rem;
    display: block;
}

.sent .msg-sender {
    color: var(--accent-gold-light);
}

.received .msg-sender {
    color: var(--accent-teal);
}

.msg-text {
    white-space: pre-wrap;
}

.msg-time {
    display: block;
    text-align: right;
    font-size: 0.62rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Suggested prompt chips */
.chat-input-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    background-color: #070e1b;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suggested-prompts {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.suggested-chip {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.72rem;
    color: var(--accent-teal);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.suggested-chip:hover {
    background-color: rgba(0, 229, 255, 0.15);
    border-color: var(--accent-teal);
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.input-wrapper input {
    flex-grow: 1;
    background-color: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    color: var(--text-primary);
    font-size: 0.82rem;
}

.chat-send-btn {
    background-color: var(--accent-teal);
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.chat-send-btn:hover {
    background-color: var(--accent-teal-dark);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.contact-text {
    color: var(--text-secondary);
    margin: 1.5rem 0 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-icon {
    font-size: 1.75rem;
    background-color: var(--bg-tertiary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-method p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.ip-code {
    background-color: #000;
    color: var(--accent-teal);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 229, 255, 0.15);
}

.contact-form-wrapper {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
}

.form-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-gold);
    padding-left: 0.75rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
}

/* Footer */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text-gold {
    background: linear-gradient(to right, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-teal);
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.footer-links a:hover {
    color: var(--accent-teal);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.ip-code-sm {
    background-color: #000;
    color: var(--accent-gold-light);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-family: monospace;
}

/* Responsive details */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .db-workspace {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-card {
        padding: 0.5rem 0.75rem;
    }
    
    .hero-card-1 {
        left: 0;
    }
    
    .hero-card-2 {
        right: 0;
    }
    
    .db-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
