* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif !important;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    background-color: #FAFBFC;
    color: #1A202C;
    line-height: 1.6;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-buttons {
        flex-direction: row;
    }
    .header-cta {
        display: flex;
    }
    .logo-text {
        display: inline;
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #0052CC, #FF8C42);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.logo-text {
    display: none;
    font-weight: bold;
    font-size: 1.125rem;
    color: #1A202C;
}

nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #64748B;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #6366F1;
    background: rgba(99, 102, 241, 0.13);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(135deg, #6366F1, #0EA5E9);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero::before, section.with-bg::before, footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/header.jpeg');
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    z-index: 0;
}

section.with-bg>*, section.with-bg, footer>*, footer {
    position: relative;
}

section.with-bg::before {
    opacity: 0.3;
}

footer::before {
    opacity: 0.2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(0, 82, 204, 0.1);
    border: 1px solid rgba(0, 82, 204, 0.2);
    margin-bottom: 1.5rem;
    width: fit-content;
    line-height: 1.25;
    margin: 0;
    color: #304c7b;
}

.badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0052CC;
    line-height: 1.5;
}

.badge.small {
    font-size: 12px;
    padding: 3px 4px;
    font-weight: bold;
    margin: 0;
}

h1 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.4;
    margin: 1.5rem 0;
}

.gradient-background, .gradient-text {
    background: linear-gradient(to right, #0052CC 0%, #FF8C42 100%);
}

.gradient-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #64748B;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #E2E8F0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    background: linear-gradient(90deg, #0052CC, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748B;
}


section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.section-description {
    font-size: 1.125rem;
    color: #64748B;
    max-width: 42rem;
    margin: 0 auto;
}


.features-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    section {
        padding: 8rem 0;
    }
    h1 {
        font-size: 3.75rem;
    }
    h2 {
        font-size: 3rem;
    }
}

.feature-card {
    padding: 2rem;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #1A202C;
}

.feature-card p {
    color: #64748B;
    font-size: 0.95rem;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
}

.benefit-card {
    padding: 2rem;
    background: white;
    border: 2px solid #E2E8F0;
    border-radius: 1rem;
    transition: all 0.3s;
}

.benefit-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.benefit-metric {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(90deg, #0052CC, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #1A202C;
}

.benefit-card p {
    color: #64748B;
    font-size: 0.95rem;
}


.showcase-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.showcase-card {
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    transition: all 0.3s;
}

.showcase-card:hover, .pricing-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.pricing-card.featured:hover {
    transform: translateY(-0.5rem) scale(1.05);
}

.showcase-card:hover .showcase-image {
    transform: scale(110%);
}

.showcase-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s;
}

.showcase-content {
    padding: 1.1rem;
}

.showcase-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: #1A202C;
    line-height: 1.6;
}

.showcase-card p {
    color: #64748B;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.showcase-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.125rem;
    font-weight: bold;
    background: linear-gradient(90deg, #0052CC, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.75rem;
    color: #64748B;
}


.products-bg {
    background: linear-gradient(to bottom, #F0F4F8, white);
}

.products-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    padding: 2rem;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.product-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #0052CC, #FF8C42);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.product-info h4 {
    font-weight: bold;
    color: #1A202C;
    margin-bottom: 0.25rem;
}

.product-info p {
    font-size: 0.875rem;
    color: #64748B;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #FF8C42;
    font-size: 1.125rem;
}

.product-text {
    color: #1A202C;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    padding: 2rem;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    transition: all 0.3s;
}

.pricing-card.featured {
    border: 2px solid #0052CC;
    box-shadow: 0 20px 25px rgba(0, 82, 204, 0.2);
    background: linear-gradient(to top, #0052CC17, #FFFFFF);
}

@media (min-width: 768px) {
    .pricing-card.featured {
        transform: scale(1.05);
    }
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(90deg, #0052CC, #FF8C42);
    color: white;
    font-size: 0.85rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    float: left;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1A202C;
}

.pricing-card > p {
    color: #64748B;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.price {
    font-size: 2.25rem;
    font-weight: bold;
    background: linear-gradient(90deg, #0052CC, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #1A202C;
}

.pricing-features li::before {
    content: '✓';
    color: linear-gradient(90deg, #0052CC, #FF8C42);
    font-weight: bold;
    flex-shrink: 0;
}


.contact-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    padding: 2rem;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #0052CC, #FF8C42);
    display: flex;
    align-items: end;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
}

.contact-card h3 {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1A202C;
}

.contact-card a {
    color: #0052CC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #FF8C42;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #1A202C;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0052CC;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}


footer {
    background: #0a2039;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #CBD5E1;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}


@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: slideInUp 0.6s ease-out;
}


.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.gap-4 {
    gap: 1.5rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
}

.bg-white {
    background: white;
}

.bg-gradient {
    background: linear-gradient(to bottom, #F0F4F8, white);
}

.rounded-lg {
    border-radius: 1rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.comparison-grid {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.comparison-grid h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .comparison-grid h3 {
        font-size: 1.875rem;
    }
}

.comparison-grid .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .comparison-grid .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
    padding: 2rem;
    transition: all 0.25s ease;
}

.card-traditional {
    background-color: #f9fafb;
    border: 1px solid #e2e8f0;
}

.card-smart {
    background: #F1F8FF;
    border: 2px solid #3b82f6;
    box-shadow: 0 12px 30px -12px rgba(59, 130, 246, 0.25);
}

.card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.card h4 {
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    font-weight: 700;
    margin-top: 0.125rem;
    display: inline-block;
    flex-shrink: 0;
}

.check-success {
    color: #10b981;
}

.check-danger {
    color: #ef4444;
}

.text-muted {
    color: #475569;
}

.text-bold-foreground {
    color: #0f172a;
    font-weight: 500;
}

@media (max-width: 640px) {
    .comparison-grid {
        padding: 0 0.5rem;
    }
    .card {
        padding: 1.5rem;
    }
    .card h4 {
        font-size: 1.2rem;
    }
    .ai-showcase {
        margin-top: 2rem;
        gap: 2rem;
    }
    .image-container {
        height: 18rem;
        border-radius: 1.25rem;
    }
    .description-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .ai-showcase h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

.card-smart {
    transition: transform 0.2s ease, box-shadow 0.2s;
}

.card-smart:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -12px rgba(59, 130, 246, 0.4);
}

.card-traditional:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
    transition: all 0.2s;
}

.card li span:last-child {
    line-height: 1.4;
}

body .comparison-grid {
    margin-top: 2rem;
}

.comparison-grid h3 br {
    display: block;
}

.gradient-text {
    letter-spacing: -0.01em;
}

.ai-showcase {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.ai-showcase h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.text-foreground {
    color: #0f172a;
}

@media (min-width: 768px) {
    body .comparison-grid {
        margin-top: 5rem;
    }
    .ai-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .ai-showcase h3 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    body .comparison-grid {
        margin-top: 6rem;
    }
    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .container {
        padding: 0 2rem;
    }
    .ai-showcase {
        margin-top: 8rem;
    }
}

.gradient-text {
    background: linear-gradient(125deg, #0052cc, #ff8c42);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.description-text {
    font-size: 1.125rem;
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.625;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-circle {
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(37, 99, 235, 0.2);
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inner-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #3b82f6;
    border-radius: 9999px;
}

.feature-text {
    color: #0f172a;
    font-weight: 500;
    font-size: 1rem;
}

.image-container {
    position: relative;
    height: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.25);
    background-color: #eef2ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.02);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
    pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .image-container {
        height: 22rem;
    }
}

.image-container img {
    object-position: center 20%;
}

.icon-circle {
    transition: all 0.2s;
}
.feature-item:hover .icon-circle {
    background-color: rgba(37, 99, 235, 0.35);
    transform: scale(1.05);
}
.feature-item:hover .inner-dot {
    background-color: #1e40af;
}


.feature-item .feature-text {
    text-align: right;
}

.story-wrapper {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.success-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 0.75rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background: #FAFEFF;
    border: 1px solid #93afe8;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.success-card:hover {
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.image-section {
    height: 24rem;
    overflow: hidden;
    position: relative;
}
@media (min-width: 768px) {
    .image-section {
        height: auto;
    }
}
.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}
.image-section:hover .story-image {
    transform: scale(1.05);
}

.content-section {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 768px) {
    .content-section {
        padding: 3rem;
    }
}

.story-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    width: fit-content;
    margin: -10px 0;
    background-color: rgba(59, 130, 246, 0.2);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.2s;
}

.story-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.5rem 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .story-title {
        font-size: 2.25rem;
    }
}

.story-description {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.625;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(125deg, #2563eb, #7c3aed, #db2777);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    line-height: 1.2;
}
.stat-label {
    font-size: 0.875rem;
    color: #475569;
    margin-top: 0.25rem;
}

.story-button {
    width: fit-content;
}

.story-button:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    background-position: right center;
}

@media (max-width: 640px) {
    .content-section {
        padding: 1.5rem;
    }
    .story-title {
        font-size: 1.6rem;
    }
    .story-description {
        font-size: 1rem;
    }
    .stats-grid {
        gap: 0.75rem;
    }
    .stat-number {
        font-size: 1.25rem;
    }
    .image-section {
        height: 18rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .story-title {
        font-size: 1.9rem;
    }
    .content-section {
        padding: 2rem;
    }
}

.story-badge, .story-title, .story-description, .stat-label, .story-button {
    text-align: right;
}

.success-card {
    animation: fadeSlideUp 0.5s ease-out;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-button {
    font-family: inherit;
    letter-spacing: -0.01em;
}

.stats-grid div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    nav {
        display: flex;
    }
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-wrapper {
    width: 100%;
    margin: 0 auto;
}

.custom-plan-card {
    background: linear-gradient(115deg, rgba(37, 99, 235, 0.08), rgba(236, 72, 153, 0.06));
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

@media (min-width: 768px) {
    .custom-plan-card {
        padding: 3rem;
    }
}

.custom-plan-card:hover {
    box-shadow: 0 20px 35px -12px rgba(37, 99, 235, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.plan-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.plan-description {
    color: #475569;
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .custom-plan-card {
        padding: 1.5rem;
    }
    .plan-heading {
        font-size: 1.3rem;
    }
    .plan-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

.custom-plan-card {
    animation: fadeSlideUp 0.5s ease-out;
}

button, .btn {
    background: linear-gradient(to right, #0052CC 0%, #FF8C42 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: fit-content;
    text-decoration: none;
    line-height: normal;
}

button:hover, .btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px -8px rgba(37, 99, 235, 0.4);
    background-position: right center;
    background: linear-gradient(to right, #0052CC 0%, #FF8C42 100%) !important;
}

.btn-outline {
    border: 2px solid #0052CC;
    color: #0052CC;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 82, 204, 0.05) !important;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.25s ease;
}

.form-card:hover {
    box-shadow: 0 12px 25px -12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .form-card {
        padding: 3rem;
    }
}

@media (max-width: 640px) {
    .form-input, .form-textarea {
        font-size: 1rem;
        padding: 0.7rem 0.9rem;
    }
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

.send-icon {
    width: 1.125rem;
    height: 1.125rem;
    stroke: currentColor;
    stroke-width: 2;
    margin-left: 0.5rem;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.features-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-text {
    color: #0f172a;
    font-weight: 500;
}

.consult-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.25);
    transition: all 0.2s;
}

.consult-card:hover {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.1);
}

.consult-small {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.consult-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .form-card {
        padding: 1.5rem;
    }
    .features-section h3 {
        font-size: 1.4rem;
    }
}

.consult-card, .form-card, .feature-item {
    animation: fadeSlideUp 0.45s ease-out backwards;
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.02);
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.25s ease;
}

.form-card:hover {
    box-shadow: 0 12px 25px -12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .form-card {
        padding: 1rem;
    }
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.features-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: end;
    align-content: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 14px;
}

.feature-icon.small {
    background: linear-gradient(135deg, #0052CC, #FF8C42);
    width: 20px;
    height: 20px;
    font-size: 15px;
    align-items: normal;
}

.feature-icon span {
    color: white;
    font-weight: 700;
}

.feature-text {
    color: #0f172a;
    font-weight: 500;
}

.consult-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.25);
    transition: all 0.2s;
}

.consult-card:hover {
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.1);
}

.consult-small {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.consult-heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .form-card {
        padding: 1.5rem;
    }
    .features-section h3 {
        font-size: 1.4rem;
    }
}

.consult-card, .form-card, .feature-item {
    animation: fadeSlideUp 0.45s ease-out backwards;
}

.expand-hover {
    width: 0;
    transition: width 0.4s;
    height: 3px;
    margin: 16px 0 0 0;
    border-radius: 6px;
    opacity: 0.5;
}

:has(> .expand-hover):hover .expand-hover {
    width: 100%;
}

button.scroll-to-top {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	cursor: pointer;
	padding: 10px 8px;
	border-radius: 6px;
	background: rgba(3, 31, 63, 0.6);
	color: #FFFFFF;
	font-size: 28px;
}

input, textarea {
    border-radius: 6px !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

input:focus, textarea:focus {
    border-color: #0052cc !important;
    box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.25) !important;
}
