:root {
    --bg-color: #0B0B15;
    --bg-secondary: #151525;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-color: #6366f1;
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --card-radius: 20px;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Glow Effect */
.background-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 11, 21, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.btn-nav {
    padding: 8px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    color: var(--accent-color) !important;
}

.btn-nav:hover {
    background: var(--accent-color);
    color: white !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #a5b4fc;
    margin-bottom: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #4ade80;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    /* Keep image inside */
    animation: float 6s ease-in-out infinite;
}

.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 30px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(20, 20, 35, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 20px;
}

.card-2 {
    bottom: 15%;
    right: 30px;
    animation-delay: 2s;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text .label {
    font-size: 0.5rem;
    color: var(--text-secondary);
}

.card-text .value {
    font-weight: 700;
    font-size: 1rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Scrolling Marquee Section */
.marquee-section {
    padding: 30px 0;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.marquee-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-color) 0%, transparent 100%);
}

.marquee-section::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--bg-color) 100%);
}

.marquee-wrapper {
    display: flex;
    width: 100%;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee-scroll 25s linear infinite;
    white-space: nowrap;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.marquee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.marquee-item:hover::before {
    left: 100%;
}

.marquee-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.marquee-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.marquee-item:hover .marquee-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.marquee-text {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.marquee-item:hover .marquee-text {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.marquee-separator {
    font-size: 1.2rem;
    color: rgba(99, 102, 241, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
        text-shadow: 0 0 5px rgba(99, 102, 241, 0.3);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
    }
}

/* Skills Section */
.skills-section {
    padding: 50px 0;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 40px;
    text-align: center;
}

.skills-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
    transition: all 0.3s;
}

.skill-item:hover .skill-icon {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* Benefits Grid (Why Choose Me) */
/* Benefits Grid (Why Choose Me) - Voluminous Sticker Style */
.benefits-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
    padding-bottom: 40px;
    perspective: 1000px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 235, 161, 0.3);
    /* Increased transparency */
    color: #fff;
    /* Changed to white for better visibility on dark backgrounds */
    width: 220px;
    min-height: 220px;
    box-shadow:
        10px 15px 30px rgba(0, 0, 0, 0.2),
        /* Softer shadow */
        inset 0 -5px 15px rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px 2px 40px 2px;
    backdrop-filter: blur(8px);
    /* Adjusted blur */
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    /* Disable hover interactions */

    /* Animation setup */
    animation: stickySway 4s ease-in-out infinite alternate;
    transform-origin: top center;
}

/* Subtle "Curled Corner" Effect */
.benefit-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.25) 100%);
    border-radius: 0 0 40px 0;
    pointer-events: none;
}

/* Sticker Variations with Enhanced Transparency */
.benefit-item:nth-child(1) {
    background: rgba(255, 235, 161, 0.2);
    --rot: -4deg;
    animation-duration: 4.5s;
}

.benefit-item:nth-child(2) {
    background: rgba(204, 251, 241, 0.2);
    --rot: 3deg;
    animation-duration: 4.2s;
}

.benefit-item:nth-child(3) {
    background: rgba(255, 228, 230, 0.2);
    --rot: -3deg;
    animation-duration: 3.8s;
}

.benefit-item:nth-child(4) {
    background: rgba(224, 242, 254, 0.2);
    --rot: 4deg;
    animation-duration: 4.7s;
}

.benefit-item:nth-child(5) {
    background: rgba(243, 232, 255, 0.2);
    --rot: -2deg;
    animation-duration: 4.1s;
}

/* Removed hover effect to make stickers non-reactive */
/*
.benefit-item:hover {
    transform: scale(1.15) rotate(0deg) translateZ(80px) !important;
    z-index: 100;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    animation-play-state: paused;
    background: rgba(255, 255, 255, 0.9);
}
*/

.benefit-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

.benefit-item h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

@keyframes stickySway {
    0% {
        transform: rotate(var(--rot)) translateY(0);
    }

    100% {
        transform: rotate(calc(var(--rot) + 3deg)) translateY(5px);
    }
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 40px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.section-header h2 {
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.section-header p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.portfolio-grid {
    display: flex;
    gap: 30px;
    width: max-content;
    padding-right: 30px;
    animation: scrollRight 160s linear infinite;
}

.portfolio-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform 0.3s;
    flex-shrink: 0;
    width: 350px;
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-card:hover .overlay {
    opacity: 1;
}

.btn-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    font-size: 1.2rem;
    transform: scale(0);
    transition: transform 0.3s 0.1s;
}

.portfolio-card:hover .btn-icon {
    transform: scale(1);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.tags span {
    font-size: 0.8rem;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    color: #a5b4fc;
}

/* Services & Mockup */
.services-section {
    padding: 100px 0;
    position: relative;
    background: #000;
    /* Fallback or base color */
    overflow: hidden;
}

.services-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.mobile-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #2d2d2d;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #2d2d2d;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.screen-content {
    background: #1a1a2e;
    height: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    font-weight: 700;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: auto;
}

.app-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.app-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.app-card {
    background: var(--accent-gradient);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.app-btn {
    background: white;
    color: var(--accent-color);
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.circle-deco {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.c1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.c2 {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--accent-color);
}

.contact-cta {
    margin: 20px 0;
    padding: 15px;
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
}

.contact-cta p {
    margin: 0;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 20px;
    /* Increased padding */
    font-size: 1.1rem;
    /* Increased font size */
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    transition: all 0.3s;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    opacity: 0.8;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    opacity: 1;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-block {
    width: 100%;
    text-align: center;
    border: none;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.socials a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-color));
}

.quiz-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.quiz-header {
    margin-bottom: 30px;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 0.4s ease;
}

.step-indicator {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content {
    padding: 20px 0;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.card-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.option-card:hover .card-inner {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.option-card input:checked+.card-inner {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.card-inner i {
    font-size: 2rem;
    color: var(--accent-color);
}

.option-card input:checked+.card-inner i {
    color: white;
}

/* Checkbox specific style */
.option-card.checkbox .card-inner {
    padding: 20px;
}

/* List Options (Timeline) */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.option-row:hover {
    background: rgba(255, 255, 255, 0.08);
}

.option-row input {
    display: none;
}

.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    position: relative;
}

.option-row input:checked+.radio-mark {
    border-color: var(--accent-color);
}

.option-row input:checked+.radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
}

.option-row input:checked~span {
    color: white;
    font-weight: 600;
}

.step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.success-icon {
    font-size: 4rem;
    color: #4ade80;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 968px) {

    .hero-container,
    .services-container,
    .contact-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .floating-card {
        display: none;
        /* Hide floating cards on mobile to avoid clutter */
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation needed */
    }

    .hamburger {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    .features-list {
        align-items: center;
        text-align: left;
    }

    .quiz-container {
        padding: 20px;
    }
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-color);
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatShape 20s infinite alternate;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: #6366f1;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #a855f7;
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 30s;
    opacity: 0.2;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(50px, 100px) rotate(45deg);
    }

    66% {
        transform: translate(-50px, 50px) rotate(90deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Grid Overlay */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: -10px;
    animation: rise 15s infinite linear;
}

.particles span:nth-child(1) {
    left: 10%;
    width: 2px;
    height: 2px;
    animation-duration: 10s;
    animation-delay: 0s;
}

.particles span:nth-child(2) {
    left: 20%;
    width: 4px;
    height: 4px;
    animation-duration: 14s;
    animation-delay: 2s;
}

.particles span:nth-child(3) {
    left: 30%;
    width: 2px;
    height: 2px;
    animation-duration: 18s;
    animation-delay: 4s;
}

.particles span:nth-child(4) {
    left: 40%;
    width: 3px;
    height: 3px;
    animation-duration: 12s;
    animation-delay: 6s;
}

.particles span:nth-child(5) {
    left: 50%;
    width: 2px;
    height: 2px;
    animation-duration: 16s;
    animation-delay: 1s;
}

.particles span:nth-child(6) {
    left: 60%;
    width: 4px;
    height: 4px;
    animation-duration: 11s;
    animation-delay: 3s;
}

.particles span:nth-child(7) {
    left: 70%;
    width: 2px;
    height: 2px;
    animation-duration: 19s;
    animation-delay: 5s;
}

.particles span:nth-child(8) {
    left: 80%;
    width: 3px;
    height: 3px;
    animation-duration: 13s;
    animation-delay: 7s;
}

.particles span:nth-child(9) {
    left: 90%;
    width: 2px;
    height: 2px;
    animation-duration: 15s;
    animation-delay: 2s;
}

.particles span:nth-child(10) {
    left: 95%;
    width: 4px;
    height: 4px;
    animation-duration: 17s;
    animation-delay: 0s;
}

@keyframes rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

/* Quiz Trigger Image */
.quiz-trigger-img {
    max-width: 100%;
    height: auto;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border-radius: 20px;
}

.quiz-trigger-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Service Order Button */
.btn-service-order {
    padding: 8px 16px;
    font-size: 0.85rem;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-service-order:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

/* Intro Section */
.intro-section {
    padding: 60px 0;
    position: relative;
    z-index: 5;
}

.intro-highlight {
    font-size: 1.5rem;
    margin: 30px 0;
    line-height: 1.4;
    color: white;
}

.intro-accent {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.8rem;
    display: block;
    margin-top: 10px;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    font-family: var(--font-main);
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Language Switcher */
.lang-switch {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.lang-link:hover,
.lang-link.active {
    color: var(--accent-color);
}

/* Reverse Portfolio Slider */
.portfolio-grid.reverse {
    animation-name: scrollLeft;
    margin-top: 30px;
    /* Add gap between sliders */
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Intro Grid System */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.intro-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.intro-item:hover {
    transform: translateY(-5px);
}

.intro-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.intro-item:hover .intro-icon {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    transform: scale(1.1);
}

.intro-item h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: white;
}

.intro-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Templates Section */
.templates-section {
    padding: 100px 0;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.template-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.template-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.template-card:hover .template-image img {
    transform: scale(1.05);
}

.template-content {
    padding: 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.template-content h3 {
    font-size: 1.3rem;
    color: white;
    margin: 0;
}

/* Video Review Section */
.video-reviews {
    padding: 100px 0;
    position: relative;
}

.review-card {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.review-card+.review-card {
    margin-top: 40px;
}

.review-media {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16/9;
}

.review-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.review-media:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.review-media:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    padding-left: 5px;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.review-media:hover .play-button {
    transform: scale(1.1);
    background: var(--accent-gradient);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.6);
}

.review-content {
    flex: 1;
    text-align: left;
}

.review-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.review-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .review-card {
        flex-direction: column;
        text-align: center;
    }

    .review-content {
        text-align: center;
    }

    .review-buttons {
        justify-content: center;
    }
}

/* Reviews Section Styles */
.reviews-section {
    padding: 100px 0;
}

.reviews-viewport {
    height: 500px;
    overflow: hidden;
    position: relative;
    margin-top: 40px;
    border-radius: var(--card-radius);
    background: rgba(0, 0, 0, 0.1);
    /* Optional: visual separation */
}

.reviews-viewport::before,
.reviews-viewport::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
    pointer-events: none;
}

.reviews-viewport::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg-color), transparent);
}

.reviews-viewport::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Transformation handled by JS */
}

.client-review-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 30px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.client-review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: white;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #151525;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: white;
}

.modal h3 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
    color: white;
}

/* Social Links in Contact Form */
.social-links-contact {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.9rem;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-btn.viber {
    background: #7360f2;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.telegram {
    background: #0088cc;
}

/* Card Buttons Group */
.card-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.card-buttons .btn {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9rem;
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Scroll Sequence Canvas */
#services {
    position: relative;
    /* Removed overflow hidden to allow sticky if needed, but keeping for safety for now */
    overflow: hidden;
}

.canvas-wrapper {
    width: 100%;
    max-width: 500px;
    /* Adjust size */
    aspect-ratio: 16/9;
    /* Or whatever the frame aspect ratio is */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

#scroll-sequence {
    display: block;
    width: 100%;
    height: auto;
    /* Removed absolute positioning */
}

/* Ensure content is above canvas */
.services-container {
    position: relative;
    z-index: 2;
}

/* Feature Animations */
.feature {
    transition: opacity 1s ease-out, transform 1s ease-out;
    opacity: 0;
}

.feature.fade-in-left {
    transform: translateX(-100px);
}

.feature.fade-in-right {
    transform: translateX(100px);
}

.feature.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Services Section Refactored */
.services-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #0B0B15;
    /* Ensure dark background */
}

/* Code Background */
.code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: rgba(99, 102, 241, 0.1);
    /* Very subtle */
    line-height: 1.6;
    z-index: 0;
    pointer-events: none;
    padding: 20px;
    white-space: pre-wrap;
    /* Preserve formatting */
    overflow: hidden;
    /* Hide overflow */
    user-select: none;
}

/* Ensure content is above background */
.services-container {
    position: relative;
    z-index: 2;
    display: block;
    /* Reset from grid */
}

.services-content.full-width {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.section-header.text-center {
    text-align: center;
    margin-bottom: 60px;
}

.features-list.horizontal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    /* Slight glass effect */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
    height: 100%;
    opacity: 1;
    transform: none;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: white;
}

.feature-text p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.btn-service-order {
    margin-top: auto;
    /* Push button to bottom if flex column */
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-service-order:hover {
    background: var(--accent-color);
    color: white;
}