:root {
    --primary-blue: #2C6ECB;
    --light-blue: #7CC1DF;
    --light-green: #96B4A8;
    --burnt-red: #AA5C2F;
    --dark-bg: #0a0e1a;
    --card-bg: #131824;
    --text-primary: #ffffff;
    --text-secondary: #b4b9c9;
    --gradient-full: linear-gradient(135deg, #2C6ECB 0%, #7CC1DF 33%, #96B4A8 66%, #AA5C2F 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0e1a;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 75px;
    width: 150px;
    display: block;
    filter: brightness(1.1);
}

.btn-header {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid transparent;
    background-image: linear-gradient(rgba(10, 14, 26, 0.8), rgba(10, 14, 26, 0.8)), 
                      var(--gradient-full);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 110, 203, 0.3);
    background-image: linear-gradient(rgba(10, 14, 26, 0.95), rgba(10, 14, 26, 0.95)), 
                      var(--gradient-full);
}

.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(44, 110, 203, 0.2);
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(
        90deg,
        #2C6ECB 0%,
        #7CC1DF 25%,
        #96B4A8 40%,
        #ffffff 50%,
        #96B4A8 60%,
        #7CC1DF 75%,
        #2C6ECB 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(44, 110, 203, 0.7) 0%, rgba(124, 193, 223, 0.7) 33%, rgba(150, 180, 168, 0.7) 66%, rgba(170, 92, 47, 0.7) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    animation: pulse-zoom 2s ease-in-out infinite;
}

.btn-primary:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(44, 110, 203, 0.4);
}

@keyframes pulse-zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.cta-subtext {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
}

.hero-image {
    position: relative;
}

.dashboard-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dashboard-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.1s ease-out;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.dashboard-preview.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.dashboard-preview.slide-out {
    opacity: 0;
    transform: translateX(100%);
}

.dashboard-img {
    width: 100%;
    height: 370px;
    display: block;
    border-radius: 10px;
    transform: translateZ(50px);
    transition: transform 0.1s ease-out;
    object-fit: contain;
    background: rgba(19, 24, 36, 0.3);
}

.dashboard-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(44, 110, 203, 0.7) 0%, rgba(124, 193, 223, 0.7) 33%, rgba(150, 180, 168, 0.7) 66%, rgba(170, 92, 47, 0.7) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.glow-effect {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 30% 30%, rgba(44, 110, 203, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(150, 180, 168, 0.2) 0%, transparent 40%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(44, 110, 203, 0.2);
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--light-blue);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
}

.video-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(170, 92, 47, 0.05) 0%, rgba(44, 110, 203, 0.05) 100%);
}

.video-content {
    max-width: 900px;
    margin: 0 auto;
}

.video-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 20px;
    line-height: 1.6;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: rgba(19, 24, 36, 0.6);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 110, 203, 0.1) 0%, rgba(150, 180, 168, 0.1) 100%);
}

.video-placeholder i {
    font-size: 80px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    opacity: 0.7;
    animation: pulse-icon 2s ease-in-out infinite;
}

.video-placeholder p {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 600;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.how-it-works {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    background: transparent;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card::before,
.step-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: rotate-border 8s linear infinite;
}

.step-card::after {
    animation-delay: -4s;
}

.step-card:nth-child(1)::before {
    background: conic-gradient(from 0deg, transparent 270deg, #2C6ECB 360deg);
}

.step-card:nth-child(1)::after {
    background: conic-gradient(from 0deg, transparent 90deg, #2C6ECB 180deg, transparent 270deg);
}

.step-card:nth-child(2)::before {
    background: conic-gradient(from 0deg, transparent 270deg, #96B4A8 360deg);
}

.step-card:nth-child(2)::after {
    background: conic-gradient(from 0deg, transparent 90deg, #96B4A8 180deg, transparent 270deg);
}

.step-card:nth-child(3)::before {
    background: conic-gradient(from 0deg, transparent 270deg, #AA5C2F 360deg);
}

.step-card:nth-child(3)::after {
    background: conic-gradient(from 0deg, transparent 90deg, #AA5C2F 180deg, transparent 270deg);
}

.step-card:hover {
    transform: translateY(-10px);
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.step-icon {
    font-size: 48px;
    color: #ffff;
    margin: 30px 0 20px;
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-card p {
    color: #dadada;
    line-height: 1.6;
}

.cta-center {
    text-align: center;
    margin-top: 90px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: transparent;
    color: var(--light-blue);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 110, 203, 0.3);
}

.why-matters {
    padding: 100px 0;
    text-align: center;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-text {
    margin-top: 40px;
}

.why-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.why-text p strong {
    color: var(--text-primary);
    font-size: 20px;
}

.social-proof {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    text-align: center;
    padding: 60px 40px;
    background: rgba(10, 14, 26, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-card::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;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.quote-icon {
    font-size: 40px;
    background: linear-gradient(135deg, #96B4A8 0%, #2C6ECB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    opacity: 0.7;
}

.testimonial-card blockquote {
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-name {
    font-weight: 700;
    font-size: 18px;
}

.author-company {
    background: var(--gradient-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.footer {
    padding: 60px 0 30px;
    background: rgba(19, 24, 36, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: var(--text-secondary);
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(44, 110, 203, 0.7), rgba(124, 193, 223, 0.7), rgba(150, 180, 168, 0.7), rgba(170, 92, 47, 0.7));
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-header {
    text-align: center;
    margin-bottom: 35px;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.modal-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.modal-form {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

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

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(44, 110, 203, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--card-bg);
    color: var(--text-primary);
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(44, 110, 203, 0.7), rgba(124, 193, 223, 0.7), rgba(150, 180, 168, 0.7), rgba(170, 92, 47, 0.7));
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 110, 203, 0.4);
    background: linear-gradient(135deg, rgba(44, 110, 203, 0.85), rgba(124, 193, 223, 0.85), rgba(150, 180, 168, 0.85), rgba(170, 92, 47, 0.85));
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-message.active {
    display: block;
}

.success-message i {
    font-size: 60px;
    color: var(--light-green);
    margin-bottom: 20px;
}

.success-message h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 8px;
}

.success-link {
    margin-top: 16px;
    font-size: 14px;
}

.success-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.success-link a:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .dashboard-img {
        height: 300px;
    }

    .btn-header {
        padding: 8px 20px;
        font-size: 14px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 40px 25px;
        width: 95%;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-description {
        font-size: 14px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group-full {
        grid-column: 1;
    }

    .btn-submit {
        font-size: 14px;
        padding: 14px 24px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .dashboard-img {
        height: 220px;
    }

    .section-title {
        font-size: 32px;
    }

    .testimonial-card blockquote {
        font-size: 18px;
    }

    .why-content {
        padding: 0 10px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 14px;
        padding: 12px 24px;
    }

    .btn-header {
        padding: 8px 16px;
        font-size: 13px;
        gap: 6px;
    }

    .video-banner {
        padding: 60px 0;
    }

    .video-subtitle {
        font-size: 16px;
    }

    .video-placeholder i {
        font-size: 60px;
    }

    .video-placeholder p {
        font-size: 16px;
    }

    .why-text p {
        font-size: 16px;
    }

    .steps-grid {
        gap: 40px;
    }

    .step-card {
        padding: 35px 20px;
    }

    .step-card h3 {
        font-size: 18px;
    }
}
