:root {
    --bg-main: #060a10;
    --bg-dark: #030608;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    --accent: #00f260;
    --accent-glow: rgba(0, 242, 96, 0.4);
    
    --gradient-accent: linear-gradient(135deg, #00f260, #0575e6);
    
    font-family: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

span.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Typography */
h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

h2 span {
    color: var(--accent);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* UI Elements */
.btn-primary, .btn-secondary, .btn-primary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.btn-primary-sm {
    background: var(--gradient-accent);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px var(--accent-glow);
}
.btn-primary-sm:hover {
    transform: translateY(-2px);
}

.btn-text {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-family: var(--font-heading);
    transition: gap 0.3s;
}
.btn-text:hover {
    gap: 15px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(6, 10, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 5%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Layout */
.section {
    padding: 100px 5%;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    z-index: 10;
    padding-top: 80px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-graphics {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 242, 96, 0.2);
    top: 50px;
    left: 100px;
    animation: float 6s infinite ease-in-out;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(5, 117, 230, 0.2);
    bottom: 50px;
    right: 50px;
    animation: float 8s infinite ease-in-out reverse;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    z-index: 2;
    transform: rotate(5deg);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: float-small 4s infinite ease-in-out;
}

.card-icon {
    font-size: 3rem;
    color: var(--accent);
    background: rgba(0, 242, 96, 0.1);
    padding: 15px;
    border-radius: 15px;
}

.card-text h3 {
    font-size: 2rem;
    margin: 0;
}
.card-text p {
    font-size: 0.9rem;
    margin: 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
}

.about-features ion-icon {
    color: var(--accent);
    font-size: 1.5rem;
}

.about-video-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}
.promo-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Design */
.design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.align-center {
    align-items: center;
}

.design-visuals {
    position: relative;
    height: 400px;
}

.design-mockup {
    width: 250px;
    height: 350px;
    background: linear-gradient(135deg, #2a2a35, #14141d);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
}

.design-mockup.offset {
    top: 50px;
    left: 140px;
    background: linear-gradient(135deg, #1f4037, #132420);
    z-index: 2;
}
.mockup-content {
    background: rgba(255,255,255,0.05);
    padding: 20px 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}
.mockup-content.branding {
    color: rgba(0, 242, 96, 0.5);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    group: hover;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 250px;
    transition: transform 0.5s ease;
}

.project-item:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.project-info p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 60px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.detail-item ion-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0,0,0,0.4);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 5%;
    background: var(--bg-dark);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes float-small {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out 0.3s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-graphics {
        margin-top: 60px;
        transform: scale(0.8);
    }
    
    .about-grid, .design-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        padding: 40px 30px;
    }

    .design-grid {
        gap: 40px;
    }
    
    .design-visuals {
        height: 350px;
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 250px;
        background: rgba(6, 10, 16, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
        z-index: 101;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
