/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #007df1;
    --primary-dark: #0056b3;
    --primary-light: #4da6ff;
    --secondary-color: #000000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.5s;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--gradient);
    color: var(--text-light);
    box-shadow: 0 5px 15px rgba(0, 125, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 125, 241, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.nav-brand i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #cccccc;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    width: 350px;
    height: 450px;
    background: rgba(10, 10, 20, 0.95);
    border-radius: var(--border-radius);
    border: 1px solid rgba(100, 200, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 125, 241, 0.3),
                0 0 100px rgba(0, 125, 241, 0.1) inset;
    backdrop-filter: blur(20px);
    padding: 0;
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite alternate;
    overflow: hidden;
    position: relative;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 125, 241, 0.8),
        transparent);
    animation: scan 3s linear infinite;
}

.code-editor {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e0e0e0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    height: 280px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(100, 200, 255, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.code-editor.slide-out {
    transform: translateX(-100%);
    opacity: 0;
}

.app-view {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 60px;
    background: linear-gradient(135deg, #0a0e27, #1a1f3a);
    border-radius: 0 0 12px 12px;
    padding: 20px 15px;
    overflow: hidden;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-view.slide-in {
    transform: translateX(0);
    opacity: 1;
}

.app-header {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDown 0.6s ease forwards;
}

.app-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.app-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.app-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.5s ease forwards;
    backdrop-filter: blur(10px);
}

.app-card-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.app-card-icon i {
    color: white;
    font-size: 14px;
}

.app-card-title {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.app-card-value {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
}

.app-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 1.5s;
}

.app-stat {
    text-align: center;
}

.app-stat-value {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    display: block;
}

.app-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 9px;
    margin-top: 2px;
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(100, 200, 255, 0.2);
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.dots span:hover {
    transform: scale(1.2);
}

.dots span:nth-child(1) {
    background: #ff5f56;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.5);
}

.dots span:nth-child(2) {
    background: #ffbd2e;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}

.dots span:nth-child(3) {
    background: #27c93f;
    box-shadow: 0 0 10px rgba(39, 201, 63, 0.5);
}

.terminal-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 1.5rem;
    height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
}

.code-editor {
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e0e0e0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    flex: 1;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(100, 200, 255, 0.1);
}

.code-line {
    margin: 0.3rem 0;
    opacity: 0;
    animation: typeIn 0.5s ease forwards;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prompt {
    color: #27c93f;
    font-weight: bold;
    margin-right: 0.5rem;
}

.command {
    color: #ffffff;
}

.keyword { color: #66d9ef; font-weight: bold; }
.variable { color: #f8f8f2; }
.function { color: #a6e22e; }
.property { color: #fd971f; }
.string { color: #e6db74; }
.boolean { color: #ae81ff; }
.comment { color: #75715e; font-style: italic; }
.number { color: #ae81ff; }
.operator { color: #f8f8f2; }

.code-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27c93f;
    animation: pulse 2s infinite;
}

.status-indicator.active {
    box-shadow: 0 0 10px rgba(39, 201, 63, 0.8);
}

.status-text {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@keyframes typeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
}

.orb2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    bottom: 20%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.orb3 {
    width: 200px;
    height: 200px;
    background: var(--primary-dark);
    top: 50%;
    left: 50%;
    animation: float 7s ease-in-out infinite;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    padding: 6rem 0;
    background: var(--secondary-color);
    color: var(--text-light);
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-text h2 {
    margin-bottom: 1.5rem;
}

.benefits-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #cccccc;
}

.tech-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.tech-item:hover,
.tech-item.active {
    background: rgba(0, 125, 241, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-light);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition);
}

.testimonial-card.active {
    position: relative;
    opacity: 1;
    transform: scale(1);
}

.stars {
    color: #ffc107;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--text-gray);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 6rem 0;
    background: var(--text-light);
}

.pricing-badge {
    background: var(--gradient);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--text-light);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 1rem 0;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    color: var(--text-gray);
}

.price-description {
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 6rem 0;
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
}

.badge i {
    color: var(--primary-color);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--text-light);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 125, 241, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: #cccccc;
    margin-top: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--text-light);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.5s;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-gray);
    margin-bottom: 0;
}

.trial-form {
    padding: 2rem;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

.form-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-notice i {
    color: var(--primary-color);
}

.confirmation {
    text-align: center;
    padding: 3rem 2rem;
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.confirmation h2 {
    margin-bottom: 1rem;
}

.confirmation p {
    margin-bottom: 2rem;
    color: var(--text-gray);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 20px 60px rgba(0, 125, 241, 0.3),
                    0 0 100px rgba(0, 125, 241, 0.1) inset;
    }
    to {
        box-shadow: 0 25px 70px rgba(0, 125, 241, 0.5),
                    0 0 120px rgba(0, 125, 241, 0.2) inset;
    }
}

@keyframes scan {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: #27c93f;
    font-weight: bold;
}

/* ===== EFECTOS ADICIONALES PARA EL CONSTRUCTOR DE APPS ===== */
.code-line {
    transition: transform 0.3s ease;
}

.code-editor {
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 125, 241, 0.3) transparent;
}

.code-editor::-webkit-scrollbar {
    width: 4px;
}

.code-editor::-webkit-scrollbar-track {
    background: transparent;
}

.code-editor::-webkit-scrollbar-thumb {
    background: rgba(0, 125, 241, 0.3);
    border-radius: 2px;
}

.app-preview {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card {
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 125, 241, 0.2);
}

.phone-mockup {
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: scale(1.02) rotate(1deg);
}

/* ===== EFECTO DE BRILLO EN LA TARJETA FLOTANTE ===== */
.floating-card {
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 125, 241, 0.4),
                0 0 120px rgba(0, 125, 241, 0.2) inset;
}

/* ===== ANIMACIÓN DE ENTRADA SUAVE PARA LA APP PREVIEW ===== */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-preview.active {
    animation: slideInFromRight 0.8s ease forwards;
}

/* ===== RESPONSIVE PARA EL CONSTRUCTOR DE APPS ===== */
@media (max-width: 768px) {
    .app-builder {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .floating-card {
        width: 280px;
        height: 350px;
    }
    
    .phone-mockup {
        width: 160px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .app-builder {
        gap: 1rem;
    }
    
    .floating-card {
        width: 250px;
        height: 320px;
    }
    
    .phone-mockup {
        width: 140px;
        height: 260px;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .services,
    .benefits,
    .testimonials,
    .pricing,
    .cta,
    .contact {
        padding: 3rem 0;
    }
    
    .service-card,
    .pricing-card,
    .contact-form {
        padding: 1.5rem;
    }
}