:root {
    --color-bg: #050505;
    --color-surface: #121212;
    --color-surface-glass: rgba(18, 18, 18, 0.8);
    --color-primary: #7c3aed;
    /* Violet 600 */
    --color-primary-glow: #8b5cf6;
    /* Violet 500 */
    --color-secondary: #4c1d95;
    /* Violet 900 */
    --color-text: #ffffff;
    --color-text-muted: #a3a3a3;
    --color-border: #2a2a2a;

    --font-main: 'Outfit', sans-serif;

    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    --gradient-text: linear-gradient(to right, #ffffff, #a78bfa);

    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Effects */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

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

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease;
}

.header.scrolled {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-list a {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.nav-list a:hover,
.nav-list a.active {
    color: white;
}

.nav-list .btn {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 0;
    opacity: 0.05;
    /* Very subtle */
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-bg-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-container-vertical {
    position: relative;
    z-index: 1;
    /* Ensure content is above logo */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-header {
    text-align: center;
    max-width: 900px;
    margin-bottom: 3rem;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.stat-label strong {
    color: white;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
}

@media (max-width: 768px) {
    .stats-grid {
        gap: 2rem;
        flex-direction: column;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--color-border), transparent);
    }
}

/* Capture Card */
.capture-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.capture-info {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.capture-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.step-item {
    display: flex;
    gap: 1rem;
}

.step-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.step-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: white;
}

.step-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.step-line {
    width: 2px;
    height: 30px;
    background: var(--color-border);
    margin-left: 15px;
    /* Center with icon */
}

.capture-form-wrapper {
    padding: 1.5rem;
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 0 24px 24px 0;
    /* Match card radius on right side */
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Form Highlight Effect */
.capture-form-wrapper:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.25);
}

/* Form Styles Update */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 50px;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background-color: #121212;
    color: white;
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

/* Responsive adjustments for new layout */
@media (max-width: 900px) {
    .capture-card {
        grid-template-columns: 1fr;
    }

    .capture-info {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 2rem;
        align-items: center;
        text-align: center;
    }

    .steps-container {
        align-items: center;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-line {
        display: none;
    }

    .step-icon {
        margin-bottom: 0.5rem;
    }

    .capture-form-wrapper {
        padding: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.link-highlight {
    color: var(--color-primary-glow);
    text-decoration: underline;
    text-underline-offset: 4px;
}

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

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary-glow);
    background: rgba(124, 58, 237, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

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

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Projects Slider */
.projects-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.projects-slider-container {
    overflow: hidden;
    width: 100%;
}

.projects-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

.project-slide {
    min-width: 200px;
    flex-shrink: 0;
}

.project-mini-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-mini-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.project-icon {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.project-mini-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.project-mini-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

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

@media (max-width: 768px) {
    .projects-slider-wrapper {
        padding: 0 1rem;
    }

    .project-slide {
        min-width: 160px;
    }
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--color-border);
}

.contact-info {
    padding-right: 2rem;
}

.contact-info h2 {
    text-align: left;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group select {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(124, 58, 237, 0.05);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 30px;
}

.copyright {
    font-size: 0.9rem;
}

/* Responsive */
/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .capture-card {
        max-width: 90%;
    }
}

@media (max-width: 900px) {
    .capture-card {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .capture-info {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 2.5rem 2rem;
    }

    .capture-form-wrapper {
        padding: 2.5rem 2rem;
    }

    .hero-bg-logo {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background: var(--color-surface);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 2rem;
        z-index: 1000;
    }

    .nav-list.active {
        right: 0;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-bg-logo {
        width: 300px;
        height: 300px;
        opacity: 0.03;
    }

    .stats-grid {
        gap: 2.5rem;
        flex-direction: column;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--color-border), transparent);
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .contact-info {
        padding-right: 0;
        text-align: center;
    }

    .contact-info h2 {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .capture-info,
    .capture-form-wrapper {
        padding: 2rem 1.25rem;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .step-line {
        display: none;
    }

    .step-icon {
        margin-bottom: 0.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Stagger delays for grids */
.service-card:nth-child(2),
.project-card:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:nth-child(3),
.project-card:nth-child(3) {
    transition-delay: 0.2s;
}

.service-card:nth-child(4) {
    transition-delay: 0.3s;
}

.service-card:nth-child(5) {
    transition-delay: 0.4s;
}

.service-card:nth-child(6) {
    transition-delay: 0.5s;
}

/* Hero Badge & Promise */
.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--color-primary-glow);
    margin-bottom: 1.5rem;
    background: rgba(124, 58, 237, 0.1);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-promise {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    display: inline-block;
}

.hero-promise p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 0;
}

.hero-promise strong {
    font-weight: 700;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: rgba(20, 20, 20, 0.98);
    margin: auto;
    padding: 2.5rem;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.15);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy pop effect */
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-modal {
    color: var(--color-text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-primary);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--color-text-muted);
}