/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #0D1117;
    --bg-card: #161B22;
    --bg-alt: #0a0d12;
    --primary: #00FF9D;
    --primary-glow: rgba(0, 255, 157, 0.4);
    --primary-dark: #00cc7e;
    --danger: #FF4D4D;
    --danger-glow: rgba(255, 77, 77, 0.3);
    --warning: #FFD43B;
    --text-main: #FFFFFF;
    --text-muted: #8b949e;
    --border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Shadows & Effects */
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.6);
    
    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-med: 0.3s ease;
    --trans-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

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

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

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(0deg, rgba(0,255,157,0) 0%, rgba(0,255,157,0.05) 50%, rgba(0,255,157,0) 100%);
    pointer-events: none;
    z-index: 50;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { top: -100px; }
    100% { top: 100vh; }
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 157, 0.3);
    border-radius: 4px;
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

.primary-text { color: var(--primary); }
.danger-text { color: var(--danger); }
.warning-text { color: var(--warning); }
.text-center { text-align: center; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.alt-bg {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.glass-card {
    background: rgba(22, 27, 34, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform var(--trans-med), box-shadow var(--trans-med), border-color var(--trans-med);
}

.hover-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--primary-glow);
    border-color: rgba(0, 255, 157, 0.3);
}

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

.hover-lift:hover {
    transform: translateY(-10px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: all var(--trans-med);
    border: none;
    outline: none;
    z-index: 10;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.glowing-btn {
    box-shadow: 0 0 15px var(--primary-glow);
}

.glowing-btn:hover {
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: rgba(0, 255, 157, 0.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   Custom Cursor & Effects
   ========================================================================== */
.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 255, 157, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: 0.1s ease-out;
}

.cursor.hover {
    width: 15px;
    height: 15px;
    background-color: transparent;
    border: 2px solid var(--danger);
}

.cursor-follower.hover {
    width: 50px;
    height: 50px;
    border-color: var(--danger);
    background-color: rgba(255, 77, 77, 0.1);
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    width: 0%;
    z-index: 10000;
    box-shadow: 0 0 10px var(--primary);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-family: var(--font-mono);
    color: var(--primary);
    letter-spacing: 2px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--trans-med);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--trans-med);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-card);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right var(--trans-med);
    border-left: 1px solid var(--border);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
}

.mobile-link {
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.cursor-blink {
    animation: blink 1s infinite;
}

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

.shield-animation {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-icon {
    font-size: 8rem;
    color: var(--primary);
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(0, 255, 157, 0.5));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.radar {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 157, 0.2);
    z-index: 1;
}

.radar::before, .radar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 157, 0.3);
    animation: ripple 3s linear infinite;
}

.radar::after {
    animation-delay: 1.5s;
}

@keyframes ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 150%; height: 150%; opacity: 0; }
}

/* ==========================================================================
   Cards Grid
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Timeline
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    right: -20px;
    background-color: var(--bg-card);
    border: 2px solid var(--danger);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--danger);
}

.timeline-item.right .timeline-icon {
    left: -20px;
}

/* ==========================================================================
   Email Comparison
   ========================================================================== */
.email-comparison-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
}

.email-box {
    background-color: #fff; /* Real email look */
    color: #333;
    padding: 0;
    overflow: hidden;
}

.email-title-bar {
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}

.email-title-bar h4 {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

.email-header {
    border-bottom: 1px solid #eee;
}

.sender-info {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sender-avatar {
    width: 40px;
    height: 40px;
    background-color: #003087;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sender-details {
    display: flex;
    flex-direction: column;
}

.sender-name {
    font-weight: 700;
}

.sender-address {
    font-size: 0.85rem;
    color: #777;
    font-family: var(--font-mono);
}

.email-body {
    padding: 20px;
    font-size: 0.95rem;
}

.email-body p {
    color: #333;
    margin-bottom: 15px;
}

.tooltip-target {
    position: relative;
    border-bottom: 2px dashed var(--danger);
    cursor: pointer;
    background-color: rgba(255, 77, 77, 0.1);
    transition: background-color 0.2s;
}

.tooltip-target:hover, .tooltip-target.active {
    background-color: rgba(255, 77, 77, 0.3);
}

.phishing-btn {
    background-color: #0070ba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    margin: 15px 0;
    display: inline-block;
}

.footer-text {
    font-size: 0.85rem;
    color: #777;
}

.interactive-info {
    text-align: center;
    position: sticky;
    top: 100px;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* ==========================================================================
   URL Checker
   ========================================================================== */
.checker-container {
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

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

.checker-container input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    background-color: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    outline: none;
    transition: border-color var(--trans-fast);
}

.checker-container input:focus {
    border-color: var(--primary);
}

.checker-result {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.result-placeholder i {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.result-safe {
    color: var(--primary);
}
.result-danger {
    color: var(--danger);
}
.result-warning {
    color: var(--warning);
}

.result-card {
    width: 100%;
    animation: fadeIn 0.5s;
    background: rgba(22, 27, 34, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
}
.result-card h3 {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Quiz
   ========================================================================== */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.quiz-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    background: var(--glass-bg);
}

.quiz-screen.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
}

.quiz-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.quiz-header {
    width: 100%;
    margin-bottom: 2rem;
    text-align: left;
}

.question-tracker {
    font-family: var(--font-mono);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    width: 0%;
    transition: width 0.3s ease;
}

.question-container {
    width: 100%;
    text-align: left;
}

.question-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    padding: 1rem 1.5rem;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    text-align: left;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.2s;
    cursor: pointer;
}

.option-btn:hover:not(:disabled) {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.option-btn.selected {
    border-color: var(--primary);
    background-color: rgba(0, 255, 157, 0.1);
}

.option-btn.correct {
    border-color: var(--primary);
    background-color: rgba(0, 255, 157, 0.2);
}

.option-btn.wrong {
    border-color: var(--danger);
    background-color: rgba(255, 77, 77, 0.2);
}

.quiz-footer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Score Circle */
.score-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1.5s ease-out;
}

.circular-chart.primary .circle {
    stroke: var(--primary);
}

.percentage {
    fill: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.4em;
    font-weight: bold;
    text-anchor: middle;
}

.quiz-review {
    margin: 2rem 0;
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}
.review-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.review-item:last-child {
    border-bottom: none;
}
.review-q {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.review-ans {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.review-ans span {
    color: var(--primary);
}

/* ==========================================================================
   Tips Grid
   ========================================================================== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    position: relative;
    padding-top: 3rem;
}

.tip-number {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    line-height: 1;
    z-index: 0;
    transition: color 0.3s;
}

.tip-card:hover .tip-number {
    color: rgba(0, 255, 157, 0.2);
}

.tip-card h4 {
    position: relative;
    z-index: 1;
    color: var(--primary);
}

/* ==========================================================================
   Case Studies
   ========================================================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.case-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.case-img {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #1a202c, #2d3748);
    font-size: 3rem;
    color: white;
    gap: 10px;
}
.case-img span {
    font-size: 1rem;
    font-family: var(--font-mono);
    font-weight: bold;
}

.bank-bg { background: linear-gradient(45deg, #741b47, #9b2c2c); }
.upi-bg { background: linear-gradient(45deg, #2b6cb0, #2c5282); }
.whatsapp-bg { background: linear-gradient(45deg, #22543d, #276749); }

.case-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-content h3 {
    font-size: 1.2rem;
}

.lesson {
    margin-top: auto;
    padding: 1rem;
    background-color: rgba(0,0,0,0.2);
    border-left: 3px solid var(--primary);
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.accordion-item {
    padding: 1.5rem;
}

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

.accordion-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    margin-top: 1rem;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-main);
    font-family: var(--font-main);
    outline: none;
    transition: border-color var(--trans-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

.submit-btn {
    width: 100%;
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* ==========================================================================
   About Project
   ========================================================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
}

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

.footer-brand p {
    max-width: 300px;
    margin-top: 1rem;
}

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

.footer-links a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.dev-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}
.dev-avatar {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}
.dev-name {
    font-weight: bold;
    color: var(--text-main);
    margin: 0;
}
.dev-title, .dev-company {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}
.footer-bottom p {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 15px var(--primary-glow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--bg-dark);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-left.active, .slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in {
    animation: fadeInAnimation 1s forwards;
}

.slide-in-bottom {
    opacity: 0;
    animation: slideInBottom 0.8s forwards;
}

@keyframes fadeInAnimation {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInBottom {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
