/* Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* IE11 fallback for scroll-behavior */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #334155;
    background-color: #fff;
}

/* Layout Utilities */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 640px) {
    .container { max-width: 720px; }
}
@media (min-width: 768px) {
    .container { max-width: 860px; }
}
@media (min-width: 1024px) {
    .container { max-width: 1160px; }
}
@media (min-width: 1280px) {
    .container { max-width: 1440px; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    background: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.logo {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: #1e293b;
    text-decoration: none;
}

.logo svg {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
}

.navbar-right{
    margin-right: 30px !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 8rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 90rem;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
}

.hero-glow-1 {
    position: absolute;
    top: 2.5rem;
    left: 25%;
    width: 350px;
    height: 350px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    filter: blur(120px);
    animation: glow 8s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    top: 10rem;
    right: 25%;
    width: 280px;
    height: 280px;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    animation: glow 12s ease-in-out infinite reverse;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, 0) scale(1);
    }
    50% {
        opacity: 0.45;
        transform: translate(-50%, -10px) scale(1.05);
    }
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content > * + * {
    margin-top: 2rem;
}

/* Badge */
.badge {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 400;
    color: #1d4ed8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge svg {
    width: 14px;
    height: 14px;
    color: #2563eb;
    margin-right: 0.5rem;
}

/* Headings */
.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 2.7rem;
}

@media (min-width: 640px) {
    .hero-title { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
    .hero-title { font-size: 4.75rem; }
}

.hero-title-gradient {
    color: #2563eb;
    background: linear-gradient(to right, #2563eb, #4f46e5, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* IE11 fallback - solid color instead of gradient */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .hero-title-gradient {
        color: #2563eb;
        background: none;
        -webkit-text-fill-color: #2563eb;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: #475569;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .hero-description { font-size: 1.25rem; }
}

/* Buttons */
.btn-primary {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    min-width: 320px;
    padding: 1.25rem 3rem;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.025em;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary svg {
    margin-right: 0.5rem;
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

@media (min-width: 640px) {
    .btn-primary { width: auto; }
}

.btn-primary svg {
    width: 1.25rem;
    height: 1.25rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.btn-secondary {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: #fff;
    color: #475569;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f8fafc;
    color: #1e293b;
}

/* Support Text */
.support-text {
    font-size: 1rem;
    color: #64748b;
    letter-spacing: 0.025em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.support-text svg {
    margin-right: 0.5rem;
}

.support-text::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    margin-right: 5px;
}

/* Screenshot Section */
.screenshot-section {
    padding: 4rem 1rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.screenshot-section-inner {
    max-width: 90rem;
    margin: 0 auto;
}

.screenshot-header {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto 2.5rem;
}

.screenshot-label {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.screenshot-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

@media (min-width: 640px) {
    .screenshot-title { font-size: 2.5rem; }
}

.screenshot-container {
    max-width: 80rem;
    margin: 0 auto;
}

.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features-section {
    padding: 5rem 1.5rem;
    background: rgba(248, 250, 252, 0.7);
}

.features-section-inner {
    max-width: 90rem;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3.5rem;
}

.features-label {
    font-size: 0.875rem;
    color: #4f46e5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.features-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

@media (min-width: 640px) {
    .features-title { font-size: 2.5rem; }
}

/* Features Grid */
.features-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.features-grid .feature-card {
    margin-bottom: 1.5rem;
}

.features-grid .feature-card:last-child {
    margin-bottom: 0;
}

/* IE11 Grid - 2 columns */
@media (min-width: 768px) {
    .features-grid {
        -ms-grid-columns: 1fr 1.5rem 1fr;
        -ms-grid-rows: auto 1.5rem auto;
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid .feature-card {
        margin-bottom: 0;
    }
    /* Row 1 */
    .features-grid .feature-card:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }
    .features-grid .feature-card:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }
    /* Row 2 */
    .features-grid .feature-card:nth-child(3) {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }
    .features-grid .feature-card:nth-child(4) {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }
    /* Row 3 */
    .features-grid .feature-card:nth-child(5) {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }
    .features-grid .feature-card:nth-child(6) {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }
}

/* IE11 Grid - 3 columns */
@media (min-width: 1024px) {
    .features-grid {
        -ms-grid-columns: 1fr 1.5rem 1fr 1.5rem 1fr;
        -ms-grid-rows: auto 1.5rem auto;
        grid-template-columns: repeat(3, 1fr);
    }
    /* Row 1 */
    .features-grid .feature-card:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }
    .features-grid .feature-card:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }
    .features-grid .feature-card:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 5;
    }
    /* Row 2 */
    .features-grid .feature-card:nth-child(4) {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }
    .features-grid .feature-card:nth-child(5) {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }
    .features-grid .feature-card:nth-child(6) {
        -ms-grid-row: 3;
        -ms-grid-column: 5;
    }
}

/* Feature Card */
.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: justify;
    justify-content: space-between;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-card-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon {
    padding: 0.625rem;
    border-radius: 0.75rem;
    border: 1px solid;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-icon.emerald {
    color: #059669;
    background: #ecfdf5;
    border-color: #d1fae5;
}

.feature-icon.indigo {
    color: #4f46e5;
    background: #eef2ff;
    border-color: #e0e7ff;
}

.feature-icon.teal {
    color: #0d9488;
    background: #f0fdfa;
    border-color: #ccfbf1;
}

.feature-icon.sky {
    color: #0284c7;
    background: #f0f9ff;
    border-color: #e0f2fe;
}

.feature-icon.amber {
    color: #d97706;
    background: #fffbeb;
    border-color: #fef3c7;
}

.feature-icon.blue {
    color: #2563eb;
    background: #eff6ff;
    border-color: #dbeafe;
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.feature-card-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    max-width: 62rem;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    max-width: 45rem;
    margin: 0 auto 3.5rem;
}

@media (min-width: 1024px) {
    .faq-header {
        max-width: 60rem;
    }
}

.faq-label {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.faq-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

@media (min-width: 640px) {
    .faq-title { font-size: 2.5rem; }
}

.faq-list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.faq-list .faq-item {
    margin-bottom: 0.875rem;
}

.faq-list .faq-item:last-child {
    margin-bottom: 0;
}

/* FAQ Item */
.faq-item {
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: #60a5fa;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
}

.faq-question-text {
    -ms-flex: 1;
    flex: 1;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-right: 1rem;
    display: block;
}

/* IE11 fallback for FAQ layout */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .faq-item {
        min-height: auto;
        height: auto;
        display: block;
    }

    .faq-question {
        display: block;
        width: 100%;
        padding: 1rem;
        min-height: auto;
        overflow: hidden;
        height: auto;
        line-height: 1.4;
        box-sizing: border-box;
    }

    .faq-question-text {
        display: inline-block;
        width: auto;
        max-width: calc(100% - 2rem);
        margin-right: 0;
        padding-right: 0;
        min-height: auto;
        vertical-align: middle;
    }

    .faq-arrow {
        display: inline-block;
        width: 1.25rem;
        height: 1.25rem;
        margin-left: 0.5rem;
        vertical-align: middle;
    }

    .faq-answer {
        display: none;
        max-height: none;
        overflow: visible;
        transition: none;
        height: 0;
    }

    .faq-answer.open {
        display: block;
        height: auto;
    }

    .faq-answer-content {
        padding: 0 1rem 1rem;
        border-top: none;
    }
}

.faq-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: #64748b;
    transition: transform 0.2s;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.faq-arrow.open {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer.open {
    max-height: 500px;
    overflow: visible;
}

.faq-answer-content {
    padding: 1rem;
    padding-top: 0;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    border-top: 1px solid #f1f5f9;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    background: #0f172a;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    display: none;
}

@media (min-width: 768px) {
    .cookie-banner {
        left: auto;
        right: 1.5rem;
        bottom: 1.5rem;
        max-width: 26rem;
    }
}

.cookie-banner-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.cookie-banner-text {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cookie-banner-actions {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.cookie-banner-actions .cookie-btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.cookie-banner-actions .cookie-btn:last-child {
    margin-right: 0;
}

.cookie-btn {
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cookie-btn-accept {
    background: #2563eb;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #1d4ed8;
}

.cookie-btn-settings {
    background: #334155;
    color: #e2e8f0;
}

.cookie-btn-settings:hover {
    background: #475569;
}

.cookie-btn-decline {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
}

.cookie-btn-decline:hover {
    background: #475569;
    color: #e2e8f0;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cookie-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal-card {
    background: #fff;
    border-radius: 1rem;
    max-width: 32rem;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s;
}

.cookie-modal.show .cookie-modal-card {
    transform: scale(1);
}

.cookie-modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-modal-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #eff6ff;
    border-radius: 50%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.cookie-modal-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #2563eb;
}

.cookie-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.cookie-modal-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.cookie-option:last-of-type {
    margin-bottom: 1.5rem;
}

.cookie-option-checkbox {
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    margin-right: 0.75rem;
}

.cookie-option-content {
    -ms-flex: 1;
    flex: 1;
}

.cookie-option-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.cookie-option-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.cookie-modal-actions {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.cookie-modal-actions .cookie-modal-btn {
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-modal-actions .cookie-modal-btn:last-child {
    margin-right: 0;
}

.cookie-modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cookie-modal-btn-primary {
    background: #2563eb;
    color: #fff;
    flex: 1;
}

.cookie-modal-btn-primary:hover {
    background: #1d4ed8;
}

.cookie-modal-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}

.cookie-modal-btn-secondary:hover {
    background: #e2e8f0;
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* IE Warning */
#ie-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    z-index: 99999;
    color: #e2e8f0;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

#ie-warning.show {
    display: table;
    width: 100%;
    height: 100%;
}

#ie-warning .cell {
    display: table-cell;
    vertical-align: middle;
}

#ie-warning .card {
    display: inline-block;
    max-width: 480px;
    padding: 40px 32px;
    text-align: center;
}

#ie-warning .icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 3px solid #f97316;
    border-radius: 50%;
    line-height: 42px;
    font-size: 28px;
    font-weight: bold;
    color: #f97316;
}

#ie-warning h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 16px 0 8px;
}

#ie-warning p {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 20px;
}

#ie-warning .browser-link {
    display: inline-block;
    margin: 4px 6px;
    padding: 10px 20px;
    border-radius: 12px;
    background: #1e293b;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

#ie-warning .browser-link:hover {
    background: #334155;
}