/* Style variables & Design system */
:root {
    --bg-dark: #05050a;
    --bg-card: rgba(13, 14, 28, 0.75);
    --bg-card-hover: rgba(22, 24, 48, 0.9);
    
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-yellow: #eab308;
    
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --text-dim: #64748b;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(139, 92, 246, 0.35);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* Reset & Basic grid setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

/* Code Editor Style Grid Background Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    z-index: -1;
    pointer-events: none;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #111122;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

p {
    color: var(--text-gray);
}

/* Glowing Neon Text */
.gradient-text {
    background: linear-gradient(135deg, #a78bfa, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShimmer 6s linear infinite;
}

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

/* Ambient glow blobs in background */
.glow-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    mix-blend-mode: screen;
}

.glow-1 {
    top: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.glow-2 {
    bottom: 10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: var(--accent-blue);
    animation: floatBlob 25s infinite alternate-reverse ease-in-out 2s;
}

.glow-3 {
    top: 40%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: var(--accent-cyan);
    animation: floatBlob 18s infinite alternate ease-in-out 4s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 80px) scale(1.1); }
}

/* Badges & Buttons */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

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

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

.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

/* Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 34px;
    width: auto;
    margin-right: 0.6rem;
    border-radius: 6px;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 0.05rem;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Sections Styling */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4.5rem;
}

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

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

.section-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
}

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

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.65;
}

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

.hero-stats {
    display: flex;
    gap: 3.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.6;
}

.hero-visual {
    position: relative;
    width: 100%;
}

/* Coder IDE Mockup */
.editor-window {
    width: 100%;
    background: rgba(8, 8, 16, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.12);
    border-radius: 16px;
    overflow: hidden;
    font-family: var(--font-mono);
}

.editor-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editor-dots {
    display: flex;
    gap: 0.4rem;
}

.editor-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.editor-dots .close { background: #ef4444; }
.editor-dots .minimize { background: #fbbf24; }
.editor-dots .expand { background: #22c55e; }

.editor-title {
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.5;
}

.editor-tabs {
    display: flex;
}

.editor-tabs .tab {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.03);
}

.editor-tabs .tab.active {
    background: rgba(139, 92, 246, 0.15);
    color: var(--text-white);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.editor-body {
    padding: 1.5rem 1.25rem;
    display: flex;
    gap: 1.25rem;
    background: rgba(5, 5, 10, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-body .line-numbers {
    display: flex;
    flex-direction: column;
    text-align: right;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    user-select: none;
    line-height: 1.6;
}

.code-content {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #cbd5e1;
    overflow-x: auto;
    min-width: 0;
    flex: 1;
}

.token.keyword { color: var(--accent-pink); font-weight: 500; }
.token.function { color: var(--accent-blue); }
.token.punctuation { color: #94a3b8; }
.token.operator { color: var(--accent-cyan); }
.token.class-name { color: var(--accent-yellow); }
.token.tag { color: var(--accent-cyan); }
.token.attr-value { color: #22c55e; }

.editor-terminal {
    background: rgba(0, 0, 0, 0.35);
    padding: 1rem 1.25rem;
}

.terminal-header {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-gray);
    opacity: 0.5;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.terminal-content {
    font-size: 0.75rem;
    line-height: 1.5;
}

.terminal-line {
    margin-bottom: 0.25rem;
    white-space: normal;
    word-break: break-word;
}

.terminal-line .prompt {
    color: var(--accent-purple);
    font-weight: bold;
}

.text-blue { color: var(--accent-blue); }
.text-green { color: #22c55e; }
.text-cyan { color: var(--accent-cyan); }

/* Mouse Scroll Wheel Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-gray);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-white);
    border-radius: 2px;
    animation: scrollWheelAnim 1.6s infinite ease-in-out;
}

@keyframes scrollWheelAnim {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(139, 92, 246, 0.07),
        transparent 40%
    );
    z-index: 1;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: rgba(16, 17, 36, 0.85);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-icon {
    font-size: 1.5rem;
    color: var(--accent-purple);
}

.service-card:hover .service-icon-wrapper {
    background: var(--accent-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.service-card:hover .service-icon {
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-list li i {
    color: var(--accent-purple);
    font-size: 0.8rem;
}

/* Tech Stack Section */
.tech-section {
    padding: 6rem 0;
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        250px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(139, 92, 246, 0.05),
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.tech-icon {
    font-size: 2.5rem;
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px currentColor);
}

.tech-icon-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.text-orange { color: #f97316; }
.text-blue { color: #3b82f6; }
.text-yellow { color: #eab308; }
.text-purple { color: #a78bfa; }
.text-cyan { color: #06b6d4; }
.text-green { color: #22c55e; }

.tech-card.text-highlight:hover .tech-icon-text {
    filter: drop-shadow(0 0 12px var(--accent-purple));
    color: var(--accent-purple);
}

/* Duo Section (Team & Bios) */
.duo-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.duo-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.duo-desc {
    font-size: 1.05rem;
}

.duo-features {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 1.5rem;
}

.duo-feat-item {
    display: flex;
    gap: 1.25rem;
}

.duo-feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.duo-feat-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.duo-feat-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.7;
}

.duo-cards {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.member-card {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.member-image-placeholder {
    width: 130px;
    height: 165px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.member-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.member-card:hover .member-profile-img {
    transform: scale(1.05);
    opacity: 1;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.member-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.member-card:hover .member-role {
    color: var(--accent-purple);
}

.member-info h3 {
    font-size: 1.65rem;
    color: var(--text-white);
}

.member-info p {
    font-size: 0.9rem;
    line-height: 1.55;
}

.member-socials {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.member-socials a {
    color: var(--text-gray);
    opacity: 0.65;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.member-socials a:hover {
    color: var(--accent-purple);
    opacity: 1;
    transform: translateY(-2px);
}

/* Contact Grid */
.contact-container-simple {
    max-width: 1000px;
    margin: 0 auto;
}

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

.contact-glow-card {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.contact-glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(139, 92, 246, 0.06),
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
}

.contact-glow-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.contact-glow-card:hover .contact-glow-icon {
    background: var(--accent-purple);
    color: var(--text-white);
    box-shadow: 0 0 15px var(--accent-purple);
}

.contact-glow-card h3 {
    font-size: 1.5rem;
}

.contact-glow-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.6;
}

.contact-glow-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    z-index: 2;
}

.contact-glow-link:hover {
    color: var(--accent-purple);
}

.contact-glow-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Footer Section */
.main-footer {
    border-top: 1px solid var(--border-color);
    background: #030307;
    padding: 5rem 0 0 0;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    padding-bottom: 4rem;
}

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

.footer-brand p {
    font-size: 0.95rem;
    max-width: 440px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-socials a:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: var(--accent-purple);
    color: var(--text-white);
    transform: translateY(-2px);
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-purple);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-gray);
    opacity: 0.4;
}

.heart-icon {
    color: #ef4444;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
    0%, 70%, 100% { transform: scale(1); }
    14%, 42% { transform: scale(1.15); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(8, 8, 18, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 99;
}

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

.back-to-top:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple);
    transform: translateY(-3px);
}

/* Scroll Animations CSS */
.fade-in, .fade-in-right, .scale-up {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in {
    transform: translateY(30px);
}

.fade-in-right {
    transform: translateX(40px);
}

.scale-up {
    transform: scale(0.95);
}

.visible {
    opacity: 1;
    transform: translate(0) scale(1) !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-container, .duo-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 4rem;
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.85rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 101;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #080812;
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        padding: 2rem;
        z-index: 100;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .header-actions .nav-cta {
        display: none;
    }
    
    /* Hamburger animation */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .duo-cards {
        gap: 1.5rem;
    }
    
    .member-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }
    
    .member-image-placeholder {
        width: 120px;
        height: 120px;
        border-radius: 50%;
    }
    
    .member-profile-img {
        border-radius: 50%;
    }
    
    .member-socials {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Phone / Mobile Screen Optimizations (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 4rem 0;
    }

    .hero-section {
        padding-top: 6.5rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.25rem);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }

    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .editor-window {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }

    .editor-body {
        padding: 1rem 0.75rem;
        gap: 0.75rem;
    }

    .editor-body .line-numbers {
        font-size: 0.75rem;
    }

    .code-content {
        font-size: 0.75rem;
    }

    .editor-terminal {
        padding: 0.85rem 1rem;
    }

    .terminal-content {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .services-grid, .contact-cards-grid {
        gap: 1.25rem;
    }

    .service-card {
        padding: 2.5rem 1.5rem;
    }

    .service-icon-wrapper {
        margin-bottom: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .tech-card {
        padding: 1.5rem 1rem;
        gap: 0.75rem;
    }

    .tech-icon, .tech-icon-text {
        font-size: 2rem;
    }

    .member-card {
        padding: 1.75rem 1.25rem;
        gap: 1.5rem;
    }

    .contact-glow-card {
        padding: 2.5rem 1.5rem;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

