/* CSS FOR LANDING PAGE */


:root {
    --primary-blue: #6366f1;
    --primary-purple: #a855f7;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
}


* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* CSS FOE HEADER PART */
.origami-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    z-index: 1000;
}

.origami-header .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.navbar-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

/* CSS FOR HAMBURGER MENU FOR SMALL SCREEN SIZES */
.navbar-toggler {
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.375rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2899, 102, 241, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.nav-link {
    color: #6b7280;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #111827;
}

.btn-text-link {
    background: transparent;
    border: none;
    color: #1e293b;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    display: inline-block;
}

.btn-text-link:hover {
    color: #1e293b;
    text-decoration: none;
}

.btn-gradient {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    color: white;
    text-decoration: none;
}

/* CSS FOR MAIN LOADING PAGE */
.origami-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    padding: 0 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.btn-white-primary {
    background: white;
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-white-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    color: var(--text-dark);
    text-decoration: none;
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-value {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: rgba(255, 255, 255, 0.6);
}

/* CSS FOR FEATURES SECTION */
.origami-features {
    padding: 4rem 1rem;
    background: linear-gradient(to bottom, white 0%, var(--bg-light) 100%);
}

.section-header {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-title {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    font-size: clamp(0.9375rem, 2.5vw, 1rem);
}

/* CSS FOR PREVIEW SECTION */
.origami-preview {
    padding: 4rem 1rem;
    background: white;
}

.preview-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.preview-title {
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.preview-description {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.preview-list i {
    font-size: 1.5rem;
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.preview-image-wrapper {
    position: relative;
    margin-top: 2rem;
}

.preview-glow {
    position: absolute;
    inset: -2rem;
    background: var(--gradient);
    opacity: 0.2;
    filter: blur(60px);
    border-radius: 1.5rem;
}

.preview-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.preview-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* CSS FOR CONTACT US SECTION */
.origami-cta {
    position: relative;
    padding: 4rem 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.cta-form {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-form .input-group {
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    background: white;
}

.cta-form .form-control {
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    border-radius: 0;
    width: 100%;
    background: white;
}

.cta-form .form-control:focus {
    box-shadow: none;
    outline: none;
    border: none;
}

.cta-form .form-control::placeholder {
    color: #9ca3af;
}

.cta-form .btn-gradient {
    padding: 1.25rem 2rem;
    border-radius: 0;
    white-space: nowrap;
    width: 100%;
    border: none;
}

.cta-privacy {
    color: var(--text-light);
    font-size: clamp(0.8125rem, 2vw, 0.875rem);
    margin: 0;
}

/* CSS FOR FOOTER PART */
.origami-footer {
    background: #1e293b;
    color: white;
    padding: 3rem 1rem 2rem;
}

.footer-brand {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: clamp(0.9375rem, 2.5vw, 1rem);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-heading {
    font-size: clamp(1rem, 2.5vw, 1rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: clamp(0.9375rem, 2.5vw, 1rem);
}

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

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: clamp(0.8125rem, 2vw, 0.875rem);
}

/* CSS FOR JUST SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-badge {
    animation-delay: 0.1s;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

.hero-actions {
    animation-delay: 0.4s;
}

.hero-stats {
    animation-delay: 0.5s;
}

/* ==================== CSS FOR RESPONSIVENESS OF THE PAGE ==================== */

@media (min-width: 576px) {
    .origami-header .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .origami-features {
        padding: 5rem 1.5rem;
    }
    
    .origami-preview {
        padding: 5rem 1.5rem;
    }
    
    .origami-cta {
        padding: 5rem 1.5rem;
    }
    
    .cta-form .input-group {
        flex-direction: row !important;
    }
    
    .cta-form .form-control {
        border-radius: 0.75rem 0 0 0.75rem !important;
        border-bottom: none !important;
        flex: 1;
    }
    
    .cta-form .btn-gradient {
        width: auto !important;
        border-radius: 0 0.75rem 0.75rem 0 !important;
        min-width: 180px;
    }
}

@media (min-width: 768px) {
    .origami-header .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .hero-content {
        padding: 3rem 2rem;
    }
    
    .hero-stats {
        gap: 3rem;
    }
    
    .btn-white-primary,
    .btn-outline-white {
        min-width: auto;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .preview-image-wrapper {
        margin-top: 0;
    }
}

@media (min-width: 992px) {
    .origami-header .container-fluid {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
    }
    
    .origami-hero {
        min-height: 90vh;
    }
    
    .hero-content {
        padding: 4rem 2rem;
    }
    
    .origami-features {
        padding: 6rem 2rem;
    }
    
    .section-header {
        margin-bottom: 4rem;
    }
    
    .origami-preview {
        padding: 6rem 2rem;
    }
    
    .origami-cta {
        padding: 6rem 2rem;
    }
    
    .origami-footer {
        padding: 4rem 2rem 2rem;
    }
}

@media (min-width: 1200px) {
    .origami-header .container-fluid {
        padding-left: 5rem;
        padding-right: 5rem;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.75rem;
    }
}

@media (max-width: 575px) {
    .origami-hero {
        min-height: 100vh;
        padding-top: 70px;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-white-primary,
    .btn-outline-white {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .nav-item {
        text-align: center;
        padding: 0.25rem 0;
    }
    
    .navbar-collapse .d-flex {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .navbar-collapse .btn-gradient {
        width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-form .input-group {
        border-radius: 0.75rem;
    }
    
    .cta-form .form-control {
        border-radius: 0.75rem 0.75rem 0 0 !important;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .cta-form .btn-gradient {
        border-radius: 0 0 0.75rem 0.75rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .origami-features .row {
        gap: 1.5rem 0;
    }
}

@media print {
    .origami-header,
    .hero-actions,
    .cta-form,
    .footer-social {
        display: none;
    }
    
    .origami-hero {
        min-height: auto;
        page-break-after: always;
    }
}


/* ==================== THIS PART IS OPTIONAL ONLY / CAN BE REMOVE ==================== */

/* FOR HIGH DPI SCREENS */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-image,
    .cta-bg-image,
    .preview-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* FOR REDUCING MOTION */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}