/* Variables utama */
:root {
    --primary: #6a11cb;
    --secondary: #2575fc;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --accent: #4facfe;
    --dark: #171717;
    --text: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --gray: #e9ecef;
    --dark-gray: #495057;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --font-main: 'Segoe UI', 'Helvetica', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Wrapper */
.main-wrapper {
    position: relative;
    overflow: hidden;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
    padding: 16rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
    z-index: -1;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.badge {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    color: var(--light-text);
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient);
    color: var(--white);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.6rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-large {
    padding: 1.8rem 3.6rem;
    font-size: 1.8rem;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.btn-arrow {
    transition: var(--transition);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.benefits-tags {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.benefits-tags span {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* Phone Frame */
.phone-frame {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--gray);
    position: relative;
    z-index: 2;
}

.phone-header {
    background: #0088cc;
    color: var(--white);
    padding: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.phone-content {
    padding: 2rem;
    height: 450px;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.message {
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius-md);
    max-width: 85%;
    font-size: 1.4rem;
}

.bot {
    background: var(--light-bg);
    align-self: flex-start;
}

.user {
    background: #e3f2fd;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.img-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.result {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    font-weight: 500;
}

/* Shapes */
.shape-1 {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.1) 0%, rgba(79, 172, 254, 0.1) 100%);
    z-index: 0;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(106, 17, 203, 0.1) 100%);
    z-index: 0;
    animation: float 8s ease-in-out infinite alternate;
}

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

/* Features Section */
.features-section {
    padding: 10rem 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
    font-size: 3.6rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    width: 80px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--gradient);
    border-radius: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.03) 0%, rgba(37, 117, 252, 0.03) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* How To Section */
.how-to-section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.how-to-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 117, 252, 0.03) 0%, rgba(106, 17, 203, 0.03) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 30px;
    width: 2px;
    height: calc(100% - 50px);
    background: linear-gradient(to bottom, var(--primary), transparent);
    z-index: 1;
}

.step-item:last-child::after {
    display: none;
}

/* CTA Section */
.cta-section {
    padding: 10rem 0;
    background: var(--gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before, .cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

.cta-section::before {
    top: -150px;
    right: -100px;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::after {
    bottom: -150px;
    left: -100px;
    background: rgba(255, 255, 255, 0.1);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    opacity: 0.9;
}

.disclaimer {
    font-size: 1.4rem;
    opacity: 0.7;
    margin-top: 3rem;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 8rem 0 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex-basis: 100%;
    max-width: 350px;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 8rem;
}

.link-group h4 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 1.5rem;
}

.link-group ul li a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 5rem;
    }
    
    .hero-cta {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-item::after {
        display: none;
    }
    
    .step-number {
        margin-bottom: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 3.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
}
