/* 
   EXPANDETE Premium Styles
   Theme: Dark Futuristic / Premium Agency
*/

:root {
    --bg-color: #050507;
    --bg-secondary: #0f0f13;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary: #6366f1;
    /* Indigo */
    --secondary: #ec4899;
    /* Pink */
    --accent: #8b5cf6;
    /* Violet */
    --warning: #f59e0b;
    /* Amber for consultancy */
    --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --nav-height: 80px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Utilities --- */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 3D Hardware Acceleration for Smooth Animation */
.service-row,
.pricing-card,
.highlight-block {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--gradient-main);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 50px;
    font-weight: 600;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Navbar --- */
.navbar {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(15px);
    background: rgba(5, 5, 7, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    perspective: 1000px;
    /* Depth for 3D effect */
}

.logo img {
    height: 50px;
    /* Slightly larger */
    width: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    animation: floatLogo 6s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

/* 3D Hover Effect */
.logo:hover img {
    transform: rotateY(20deg) rotateX(10deg) scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(99, 102, 241, 0.5));
}

/* Continuous 3D Floating Animation */
@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0) rotateY(0deg);
    }

    50% {
        transform: translateY(-8px) rotateY(10deg);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Abstract Backgrounds */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 10s infinite ease-in-out;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 0;
    right: 20%;
    animation: float 14s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.float-card {
    position: absolute;
    top: 40%;
    right: 15%;
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(20px);
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float-card 6s infinite ease-in-out;
}

.float-card i {
    font-size: 2rem;
    color: var(--secondary);
}

.float-card span {
    font-weight: 600;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- Section Global --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

/* --- Services Detail Section (Zig-Zag) --- */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.03);
}

.service-image .glow-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.2), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.service-image .glow-effect.secondary {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.15), transparent 70%);
}

.service-image .glow-effect.accent {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 70%);
}

.service-image .glow-effect.warning {
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.15), transparent 70%);
}

.service-text {
    flex: 1;
}

.icon-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-title i {
    font-size: 2rem;
    color: var(--primary);
}

.service-row.reverse .icon-title i {
    color: var(--secondary);
}

.service-row:nth-child(3) .icon-title i {
    color: var(--accent);
}

.service-row:nth-child(4) .icon-title i {
    color: var(--warning);
}

.icon-title h3 {
    font-size: 2rem;
}

.service-main-desc {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
}

.feature p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 10px;
}

.link-arrow:hover {
    gap: 12px;
    text-decoration: underline;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.premium-form {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 5px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.footer-social a.social-whatsapp:hover {
    background: #25D366;
    /* WhatsApp Brand Color */
    border-color: #25D366;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Grid & Cards (Rest of grid usage if any remains) --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-block p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.highlight-block {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.check-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- Pricing / Planes Section --- */
.pricing-header {
    text-align: center;
    padding: 120px 0 60px;
    background: radial-gradient(circle at center top, rgba(99, 102, 241, 0.2), transparent 50%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Plan Colors */
.plan-essential {
    --plan-color: #4ade80;
}

.plan-professional {
    --plan-color: #facc15;
}

.plan-premium {
    --plan-color: #f43f5e;
}

.pricing-card.plan-essential:hover {
    border-color: var(--plan-color);
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.2);
}

.pricing-card.plan-professional:hover {
    border-color: var(--plan-color);
    box-shadow: 0 20px 40px rgba(250, 204, 21, 0.2);
}

.pricing-card.plan-premium:hover {
    border-color: var(--plan-color);
    box-shadow: 0 20px 40px rgba(244, 63, 94, 0.2);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--plan-color);
    border: 1px solid var(--plan-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--plan-color);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    height: 60px;
    /* Align heights */
}

.features-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-box h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-main);
    opacity: 0.8;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-list li i {
    color: var(--plan-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-list li.excluded {
    opacity: 0.4;
    text-decoration: line-through;
}

.pricing-list li.excluded i {
    color: var(--text-muted);
}

.perfect-for {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-main);
}

.btn-plan {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--plan-color);
    color: var(--plan-color);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    margin-top: auto;
}

.btn-plan:hover {
    background: var(--plan-color);
    color: black;
    box-shadow: 0 0 20px var(--plan-color);
}

.plan-premium .btn-plan {
    background: var(--plan-color);
    color: white;
}

.plan-premium .btn-plan:hover {
    background: #e11d48;
    /* darker red */
    color: white;
}

.pricing-footer {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .grid-2,
    .contact-wrapper,
    .service-row {
        grid-template-columns: 1fr;
        flex-direction: column !important;
        /* Force column on mobile even for reversed rows */
        gap: 40px;
    }

    .service-row {
        text-align: center;
    }

    .service-text .icon-title {
        justify-content: center;
    }

    .service-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}