/* Dokaniz Styles - POS Software Theme */
:root {
    --primary-blue: #1e3c72;
    --secondary-blue: #2a5298;
    --accent-green: #27ae60;
    --dark-green: #219653;
    --light-blue: #4a90e2;
    --dark-blue: #0f1c3d;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --bg-dark: #0a1429;
    --card-bg: #162447;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Hero Section */
.dokaniz-hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.dokaniz-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-light), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.pos-dashboard img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}
/* See More/Less Styles */
.text-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.text-preview {
    position: relative;
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.text-preview.expanded {
    max-height: 1000px;
}

.more-content {
    transition: opacity 0.3s ease;
}

.more-content.hidden {
    display: none;
}

.text-preview:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--card-bg));
    pointer-events: none;
}

.text-preview.expanded::after {
    display: none;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--card-bg));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gradient-overlay.hidden {
    opacity: 0;
}

.see-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.see-more-btn i {
    transition: transform 0.3s ease;
}

.see-more-btn.expanded i {
    transform: rotate(180deg);
}

.see-more-text,
.see-less-text {
    transition: opacity 0.3s ease;
}

.see-more-text.hidden,
.see-less-text.hidden {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-light), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    margin: 0 auto;
    border-radius: 2px;
}

/* POS Solution Section */
.pos-solution {
    padding: 100px 0;
    background: var(--card-bg);
}

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

.solution-text {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.solution-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-green);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

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

.feature-card h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Selection Guide Section */
.selection-guide {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
}

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

.business-scene img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.guide-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.guide-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.checklist {
    margin-top: 30px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.check-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

/* Promotion Section */
.promotion-section {
    padding: 100px 0;
    background: var(--card-bg);
}

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

.promotion-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.promotion-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.promotion-demo {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sales-chart {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 200px;
    margin-bottom: 20px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-green), var(--dark-green));
    border-radius: 5px 5px 0 0;
    animation: growBar 1s ease-out;
    position: relative;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }

@keyframes growBar {
    from { height: 0%; }
    to { height: var(--target-height); }
}

.chart-labels {
    display: flex;
    justify-content: space-between;
}

.chart-labels span {
    flex: 1;
    text-align: center;
    color: var(--text-gray);
    font-weight: 600;
}

/* Functionalities Section */
.functionalities-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
}

.functionalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.func-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.func-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-green);
}

.func-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.func-icon i {
    font-size: 2.5rem;
    color: white;
}

.func-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.func-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: var(--card-bg);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .guide-content,
    .promotion-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .section-header h2 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}