/* DeepfakeMY.pw - Gaya Utama */
:root {
    /* Warna Malaysia - tema biru, merah dan kuning */
    --primary-color: #0D47A1; /* Biru */
    --secondary-color: #FF4081; /* Merah jambu */
    --accent-color: #FFEB3B; /* Kuning */
    --text-color: #333333;
    --text-light: #ffffff;
    --text-muted: #666666;
    --background: #ffffff;
    --background-alt: #f9f9f9;
    --border-color: rgba(13, 71, 161, 0.2);
    --shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Sudut membulat */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset gaya */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background);
}

.site-container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
    position: relative;
}

.section-title span {
    color: var(--primary-color);
    position: relative;
}

.section-title span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(0.7);
    transform-origin: left;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Butang */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--background);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo-svg {
    width: 180px;
    height: 40px;
}

/* Navigasi */
nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: var(--space-md);
}

.main-menu a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-menu a:hover {
    color: var(--secondary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    margin-bottom: 5px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Bahagian Hero */
.hero {
    padding-top: calc(80px + var(--space-xl));
    padding-bottom: var(--space-xl);
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.malaysia-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.7;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 20%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    position: relative;
}

.hero-text h1 span {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero-text h1 span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0.7);
    transform-origin: left;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 2;
}

.my-decoration {
    position: absolute;
    width: 70%;
    height: 70%;
    border: 3px solid rgba(255, 64, 129, 0.3);
    border-radius: 50%;
    top: 15%;
    left: 15%;
    z-index: 1;
}

/* Bahagian Ciri-ciri */
.ciri-ciri {
    background-color: var(--background);
    position: relative;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.card {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background-color: var(--background);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--space-sm);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

/* Bahagian Cara Kerja */
.cara-kerja {
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.bg-accent {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--accent-color);
    opacity: 0.05;
    top: -150px;
    right: -100px;
    z-index: 0;
}

.steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

.step-number {
    background-color: var(--secondary-color);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: var(--space-md);
    flex-shrink: 0;
    position: relative;
}

.step-number::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--secondary-color);
}

.cta-wrapper {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Bahagian Testimoni */
.testimoni {
    background: linear-gradient(135deg, var(--background) 0%, var(--background-alt) 100%);
    position: relative;
}

.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.testimoni-item {
    background-color: var(--background);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    border-bottom: 3px solid var(--primary-color);
}

.testimoni-item:hover {
    transform: translateY(-5px);
}

.quote-icon {
    margin-bottom: var(--space-sm);
    color: var(--primary-color);
}

.testimoni-text {
    font-style: italic;
    margin-bottom: var(--space-md);
}

.testimoni-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: 600;
    margin: 0;
}

.rating {
    color: var(--accent-color);
}

.star {
    display: inline-block;
    margin-left: 2px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/* Bahagian Soalan */
.soalan {
    background-color: var(--background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background-color: var(--background);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    max-height: 500px;
}

.faq-item.active .faq-question {
    background-color: rgba(13, 71, 161, 0.05);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-align: center;
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.final-cta .btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
}

.final-cta .btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-lg);
}

.footer-logo {
    margin-bottom: var(--space-md);
}

.footer-logo-svg {
    margin-bottom: var(--space-sm);
}

.footer-favicon {
    margin-top: var(--space-md);
}

.footer-links h3,
.footer-legal h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-legal h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-legal p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.copyright {
    text-align: center;
    padding-top: var(--space-md);
    font-size: 0.8rem;
    opacity: 0.6;
}

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

/* Media Queries untuk responsif */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
    }
    
    nav.active {
        right: 0;
    }
    
    .main-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .main-menu li {
        margin: var(--space-sm) 0;
    }
    
    .main-menu a {
        color: var(--text-light);
        font-size: 1.1rem;
    }
    
    .nav-cta {
        background-color: var(--accent-color);
        color: var(--primary-color) !important;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: var(--space-lg);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2.5rem;
        --space-xl: 3rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}
