/* --- GLOBAL & ROOT --- */
:root {
    --color-primary: #ff6347;
    /* Tomato */
    --color-secondary: #1e90ff;
    /* DodgerBlue */
    --color-accent: #ffd700;
    /* Gold */
    --color-background: #1a1a2e;
    /* Dark Blue/Purple */
    --color-surface: #1f1f38;
    /* Slightly lighter surface */
    --color-surface-light: #2e2e4d;
    --color-text: #e0e0e0;
    --color-text-dark: #a0a0c0;
    --color-white: #ffffff;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --border-radius: 15px;
    --transition-fast: 0.2s ease;
    --transition-med: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- TYPOGRAPHY & BASE --- */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- LAYOUT & HELPERS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-lead {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* --- LOADER --- */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid var(--color-surface);
    border-top-color: var(--color-primary);
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 20px;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-med);
}

.header.scrolled {
    background-color: rgba(31, 31, 56, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    filter: brightness(0)invert(1);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(-15deg) scale(1.1);
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-white);
}

.main-nav .nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: var(--transition-med);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    position: absolute;
    transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    top: 10px;
}

.mobile-menu-toggle.active .hamburger-inner {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-inner::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    max-width: 300px;
    background-color: var(--color-surface);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 100px 30px 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-menu .btn-secondary {
    margin-top: 2rem;
    text-align: center;
}

/* --- REUSABLE COMPONENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-med);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: var(--color-background);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 99, 71, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-3d-wrapper {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-element {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.cube {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

.face {
    position: absolute;
    width: 250px;
    height: 250px;
    background-color: rgba(31, 31, 56, 0.8);
    border: 2px solid var(--color-secondary);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-white);
}

.face i {
    font-size: 3rem;
    color: var(--color-accent);
}

.front {
    transform: rotateY(0deg) translateZ(125px);
}

.back {
    transform: rotateY(180deg) translateZ(125px);
}

.right {
    transform: rotateY(90deg) translateZ(125px);
}

.left {
    transform: rotateY(-90deg) translateZ(125px);
}

.top {
    transform: rotateX(90deg) translateZ(125px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(125px);
}

.blob-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.3;
}

.blob1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    left: -150px;
    animation: moveBlob1 25s infinite alternate;
}

.blob2 {
    width: 350px;
    height: 350px;
    background: var(--color-secondary);
    bottom: -150px;
    right: -100px;
    animation: moveBlob2 30s infinite alternate;
}

/* --- SERVICES SECTION --- */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition-med);
    border: 2px solid transparent;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 250px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-back {
    transform: rotateY(180deg);
    background-color: var(--color-surface-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(-10deg);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card-back h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-card-back li {
    margin-bottom: 0.5rem;
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 100px 0;
    background-color: var(--color-surface);
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-primary), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: transparent;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item-right {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    right: -30px;
    top: 30px;
    background-color: var(--color-background);
    border: 4px solid var(--color-secondary);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--color-secondary);
    transition: var(--transition-med);
}

.timeline-item-right .timeline-icon {
    left: -30px;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--color-surface-light);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.timeline-step {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    border-right: 5px solid var(--color-primary);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: 5px solid var(--color-primary);
}

/* --- ROI CALCULATOR SECTION --- */
.roi-calculator-section {
    padding: 80px 0;
}

.roi-wrapper {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-surface-light);
}

.roi-form .form-group {
    margin-bottom: 2rem;
}

.roi-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.roi-form input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: var(--color-surface-light);
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.roi-form input[type="range"]:hover {
    opacity: 1;
}

.roi-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    transition: background .3s;
}

.roi-form input[type="range"]::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    border: none;
}

.roi-form input[type="range"]:active::-webkit-slider-thumb {
    background: var(--color-accent);
}

#adSpendValue,
#conversionRateValue {
    font-family: var(--font-heading);
    color: var(--color-accent);
}

.roi-result {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--color-background);
    border-radius: var(--border-radius);
    text-align: center;
}

.roi-result p {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.roi-result h3 {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.roi-result span {
    font-weight: 600;
}

/* --- PRICING SECTION --- */
.pricing-section {
    padding: 100px 0;
    background: radial-gradient(circle at top right, rgba(30, 144, 255, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 99, 71, 0.1), transparent 40%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    border: 2px solid var(--color-surface-light);
    transition: var(--transition-med);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--color-primary);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: var(--color-background);
    padding: 8px 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0 0 10px 10px;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.pricing-card.popular .pricing-icon {
    color: var(--color-accent);
}

.pricing-price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.per-month {
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--color-text-dark);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features .fa-check-circle {
    color: #32cd32;
    /* LimeGreen */
}

.pricing-features .fa-times-circle {
    color: var(--color-text-dark);
}

.custom-plan-cta {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
}

.custom-plan-cta a {
    font-weight: 700;
    text-decoration: underline;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}

.testimonial-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-carousel {
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    background-color: var(--color-surface-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 0 1rem;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    margin: -60px auto 1.5rem auto;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    font-family: 'Times New Roman', serif;
    font-size: 4rem;
    position: absolute;
    color: var(--color-secondary);
    opacity: 0.2;
}

.testimonial-content p::before {
    content: '“';
    top: -1.5rem;
    left: -1rem;
}

.testimonial-content p::after {
    content: '”';
    bottom: -3rem;
    right: -1rem;
}

.testimonial-author h4 {
    color: var(--color-accent);
}

.testimonial-author span {
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-surface);
    color: var(--color-white);
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition-med);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

/* --- CHAT WIDGET --- */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    animation: bounce 2s ease-in-out infinite;
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--color-surface-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-med);
}

.chat-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-surface);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.chat-header h5 {
    margin: 0;
    color: var(--color-white);
}

.close-chat {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1.5rem;
}

/* --- FOOTER --- */
.footer {
    padding: 80px 0 0;
    background-color: var(--color-surface);
    position: relative;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    margin-top: -80px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-surface-light);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1)                                                 ;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--color-white);
}

.about-col p {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-surface-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text);
    transition: var(--transition-med);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-5px);
}

.links-col ul li,
.footer-contact li {
    margin-bottom: 1rem;
}

.links-col ul a,
.footer-contact span {
    color: var(--color-text-dark);
}

.links-col ul a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-newsletter {
    display: flex;
    background: var(--color-background);
    border-radius: 50px;
    padding: 5px;
}

.footer-newsletter input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 20px;
    color: var(--color-white);
}

.footer-newsletter button {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.footer-newsletter button:hover {
    background-color: var(--color-accent);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    color: var(--color-white);
}

/* --- CONTACT & LEGAL PAGES --- */
.page-header-section {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 800px;
    background: var(--color-surface);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-section-standalone {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: var(--color-surface);
    padding: 3rem;
    border-radius: 20px;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.contact-info .section-header p {
    max-width: none;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--color-surface-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contact-text h3 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.contact-text p {
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    flex: 1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--color-background);
    border: 2px solid var(--color-surface-light);
    border-radius: 10px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.3);
}

.contact-form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff6347' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.contact-form textarea {
    resize: vertical;
}

/* SUCCESS POPUP */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: #32cd32;
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-close {
    margin-top: 2rem;
}

/* --- ANIMATIONS & KEYFRAMES --- */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes rotateCube {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes moveBlob1 {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(100px, 50px) rotate(180deg);
    }
}

@keyframes moveBlob2 {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(-80px, -60px) rotate(-180deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.animate-on-load,
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up {
    transform: translateY(30px);
}

.fade-right {
    transform: translateX(-30px);
}

.fade-left {
    transform: translateX(30px);
}

.zoom-in {
    transform: scale(0.8);
}

.zoom-in-out {
    transform: scale(0.95);
}

.fade-up-card {
    transform: translateY(50px);
}

.in-view {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {

    .main-nav,
    .header-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-area {
        order: 2;
    }

    .hero-3d-wrapper {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .about-col,
    .newsletter-col {
        grid-column: span 2;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item,
    .timeline-item-right {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        left: 0 !important;
        text-align: left;
    }

    .timeline-icon {
        left: 0;
    }

    .timeline-item:nth-child(even) .timeline-content {
        border-left: 5px solid var(--color-primary);
        border-right: none;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-col,
    .newsletter-col {
        grid-column: span 1;
    }

    .about-col p {
        padding-right: 0;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn.prev {
        left: -5px;
    }

    .carousel-btn.next {
        right: -5px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .pricing-grid {
        gap: 3rem;
    }

    .container {
        padding: 0 15px;
    }
}