:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-glass: rgba(15, 15, 15, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-primary: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    filter: grayscale(100%);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

@media print {
    html, body {
        display: none !important;
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.accent-text {
    color: var(--accent-primary);
    text-shadow: 0 0 20px var(--accent-glow);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000000;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px var(--accent-glow);
}

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

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

/* Sections */
main {
    padding-top: 80px;
}

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

.bg-darker {
    background-color: #050505;
}

.services-section {
    position: relative;
    overflow: hidden;
}

.services-section > .section-header,
.services-section > .services-grid {
    position: relative;
    z-index: 1;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Glassmorphism */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black layer for highlighting text */
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo-text {
    width: 500px;
    max-width: 90vw;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
}

.hero-bg-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
    filter: blur(0.4px);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.split-text p {
    margin-bottom: 2rem;
}

.social-link-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link-large:hover {
    color: var(--accent-primary);
}

.image-wrapper {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: perspective(1200px) rotateY(-18deg) rotateX(10deg) translateZ(0);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.image-wrapper:hover {
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateZ(50px) scale(1.05);
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 45px; /* Physical iPhone curve */
    display: block;
    box-shadow: 
        -25px 25px 50px rgba(0, 0, 0, 0.9),
        -2px 2px 5px rgba(255, 255, 255, 0.2),
        inset 0 0 0 6px #050505, /* Inner bezel screen edge */
        inset 0 0 0 12px #262626; /* Outer brushed metal rim */
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

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

/* CTA Section */
.cta-panel {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-panel p {
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    text-align: left;
    min-width: 250px;
}

.contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-card span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo-img {
    height: 26px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

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

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

.in-view {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .split-layout { grid-template-columns: 1fr; gap: 2rem; }
    .nav-links { display: none; } /* Simple hiding for mobile brevity */
    .hero-actions { flex-direction: column; }
    .contact-methods { flex-direction: column; }
}
