:root {
    --saas-blue: #4a90e2;
    --saas-orange: #ff6a00;
    --saas-dark: #0d1117;
    --saas-border: rgba(255, 255, 255, 0.1);
}

.saas-page {
    background: var(--saas-dark);
    color: #fff;
    font-family: 'Kanit', sans-serif;
}

/* Hero */
.saas-hero {
    padding-bottom: 30px;
}

.saas-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.saas-badge {
    color: var(--saas-blue);
    background: rgba(74, 144, 226, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.saas-hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin: 25px 0;
}

.blue-text {
    color: var(--saas-blue);
}

.saas-hero p {
    font-size: 18px;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 40px;
}

.saas-hero-btns {
    display: flex;
    gap: 20px;
}

.btn-orange {
    background: var(--saas-orange);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
}

.btn-outline {
    border: 1px solid var(--saas-border);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
}

/* Hero Visual */
.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.scaling-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--saas-border);
}

.scaling-icon {
    background: var(--saas-orange);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.scaling-info span {
    font-size: 10px;
    opacity: 0.6;
    letter-spacing: 1px;
}

.scaling-info strong {
    display: block;
    font-size: 16px;
}

/* Solutions */
.saas-solutions {
    padding: 100px 0;
    background: #fff;
    color: #000;
}

.section-tag {
    color: var(--saas-blue);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin: 15px 0 50px;
}

.saas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.saas-card {
    background: #16181d;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.card-body p {
    font-size: 13px;
    opacity: 0.6;
    line-height: 1.5;
}

/* Evolution Comparison */
.saas-evolution {
    padding: 100px 0;
    background: #f8f9fa;
    color: #000;
}

.evo-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.evo-panel {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
    flex: 1;
    max-width: 500px;
}

.evo-panel.modern {
    border: 2px solid var(--saas-blue);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
}

.evo-tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 20px;
}

.evo-tag.red {
    background: #fee2e2;
    color: #dc2626;
}

.evo-tag.blue {
    background: #dbeafe;
    color: #2563eb;
}

.evo-panel img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    height: 250px;
    object-fit: cover;
}

.evo-arrow {
    font-size: 32px;
    color: var(--saas-blue);
}

/* Impact Stats */
.saas-impact {
    padding: 100px 0;
    background: var(--saas-dark);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.impact-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    color: #000;
}

.impact-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    color: #666;
    font-size: 14px;
}

.impact-card h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.impact-card h3 span {
    font-size: 14px;
    color: #10b981;
}

/* Chart Mockups */
.impact-chart-dummy {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
}

.impact-chart-dummy .bar {
    flex: 1;
    background: #dbeafe;
    border-radius: 4px;
}

.impact-chart-dummy .bar.active {
    background: var(--saas-blue);
}

.impact-progress .prog-item {
    margin-bottom: 20px;
}

.impact-progress span {
    font-size: 10px;
    color: #999;
    display: block;
}

.bar-wrap {
    height: 8px;
    background: #eee;
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
}

.bar-wrap .bar {
    height: 100%;
}

.impact-circle {
    position: relative;
    width: 150px;
    margin: 0 auto;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.circle-text strong {
    display: block;
    font-size: 18px;
}

.circle-text span {
    font-size: 10px;
    color: #999;
}

/* Contact Form Card */
.saas-form-card {
    background: #16181d;
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    border: 1px solid var(--saas-border);
}

.form-info {
    padding: 80px;
}

.form-info h2 {
    font-size: 40px;
    margin-bottom: 25px;
}

.form-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.form-stats strong {
    font-size: 32px;
    color: var(--saas-blue);
    display: block;
}

.form-stats span {
    font-size: 12px;
    opacity: 0.6;
}

.form-wrapper {
    background: #fff;
    padding: 60px;
    color: #000;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #666;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.btn-submit {
    width: 100%;
    background: var(--saas-orange);
    color: #fff;
    padding: 18px;
    border-radius: 8px;
    font-weight: 800;
    margin-top: 20px;
}

@media (max-width: 991px) {

    .saas-hero-grid,
    .saas-grid,
    .evo-comparison,
    .impact-grid,
    .saas-form-card {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

.saas-tech {
    padding: 120px 0;
    background-color: #0a0b10;
    color: #fff;
    overflow: hidden;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-kicker {
    color: #4a90e2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.tech-content h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.tech-desc {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Feature List */
.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.tech-list .list-icon {
    color: #ff6a00; /* Jurysoft Orange */
    font-size: 20px;
    padding-top: 5px;
}

.list-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.list-text p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* Visual Grid */
.tech-visual-wrapper {
    position: relative;
}

.tech-visual-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74,144,226,0.1) 0%, transparent 70%);
    z-index: 0;
}

.tech-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.tech-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tech-box i {
    font-size: 32px;
    color: #4a90e2;
    margin-bottom: 15px;
    display: block;
}

.tech-box span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.tech-box.highlight {
    border-color: rgba(74, 144, 226, 0.4);
    background: rgba(74, 144, 226, 0.05);
}

.tech-box:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: #4a90e2;
}

.box-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: #4a90e2;
    filter: blur(50px);
    opacity: 0;
    transition: 0.4s;
    transform: translate(-50%, -50%);
}

.tech-box:hover .box-glow {
    opacity: 0.2;
}

@media (max-width: 991px) {
    .tech-grid { grid-template-columns: 1fr; gap: 50px; }
    .tech-content h2 { font-size: 36px; }
}