/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    background: #000000;
    background-attachment: fixed;
    overflow-x: hidden;
    width: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== VARIABLES ========== */
:root {
    --primary: #25D366;
    --primary-dark: #128C7E;
    --primary-light: #dcf8c6;
    --secondary: #075E54;
    --accent: #0088cc;
    --dark: #0a0a0a;
    --light: #1a1a1a;
    --lighter: #2a2a2a;
    --gray: #666;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-light: 0 4px 20px rgba(37, 211, 102, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --telegram-blue: #0088cc;
}

/* ========== TIKTOK STYLE PROFILE HEADER ========== */
.profile-header {
    width: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, #000000 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, 
        rgba(37, 211, 102, 0.05) 0%, 
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.profile-container {
    position: relative;
    z-index: 2;
    padding: 30px 20px 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Perbaikan untuk Foto di Tengah */
.profile-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.profile-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.profile-img-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        var(--primary-dark) 50%, 
        var(--accent) 100%);
    padding: 4px;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.25),
                0 0 60px rgba(37, 211, 102, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: pulse-border 3s infinite ease-in-out;
}

@keyframes pulse-border {
    0%, 100% { border-color: rgba(255, 255, 255, 0.12); }
    50% { border-color: rgba(37, 211, 102, 0.4); }
}

/* Fallback untuk gambar jika tidak ada */
.profile-img-wrapper::before {
    content: 'V';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    border-radius: 50%;
    z-index: 1;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transition: transform 0.5s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

/* Nama dan Username di tengah */
.profile-info {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 6px 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.profile-username {
    font-size: 1.05rem;
    color: var(--primary);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Bio Container */
.bio-container {
    background: transparent;
    padding: 0 20px;
    margin-bottom: 16px;
    width: 100%;
    text-align: center;
}

.profile-bio {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    font-weight: 500;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Profile Stats - Layout Kiri-Tengah-Kanan */
.profile-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 30px;
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.profile-stats .stat-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.profile-stats .stat-item:nth-child(1),
.profile-stats .stat-item:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-stats .stat-item:nth-child(1) {
    align-items: flex-start;
    padding-left: 0;
}

.profile-stats .stat-item:nth-child(2) {
    align-items: center;
}

.profile-stats .stat-item:nth-child(3) {
    align-items: flex-end;
    padding-right: 0;
}

.profile-stats .stat-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Tab Navigation */
.profile-tabs {
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.tab-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0;
    background: transparent;
}

.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    gap: 4px;
    min-height: 60px;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn.active {
    color: var(--white);
    border-bottom-color: var(--primary);
    background: rgba(37, 211, 102, 0.05);
}

.tab-btn i {
    font-size: 1.1rem;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.tab-btn.active i {
    transform: scale(1.1);
    color: var(--primary);
}

.tab-btn span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Main Content */
.main-content {
    background: #000000;
    min-height: calc(100vh - 350px);
    position: relative;
}

.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 211, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 136, 204, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.tab-content.active {
    display: block;
}

.tab-container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* Section Card */
.section-card {
    background: transparent;
    border-radius: 0;
    padding: 30px 0 0 0;
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--telegram-blue));
    border-radius: 2px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 400;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.1), 
        rgba(37, 211, 102, 0.05));
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 auto 30px;
    border: 1px solid rgba(37, 211, 102, 0.2);
    text-align: center;
    width: fit-content;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.1);
    animation: float 3s ease-in-out infinite;
}

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

.hero-badge .badge-icon {
    text-align: center;
    font-size: 1.1rem;
}

/* Hero Description */
.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
    padding: 0 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: transparent;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.05), 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Tech Section */
.tech-section {
    margin-bottom: 40px;
}

.tech-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.3px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tech-tag:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.1);
}

.tech-tag i {
    color: var(--primary);
    font-size: 1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.05), 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: transparent;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.product-features i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.05), 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.service-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: transparent;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
    width: 100%;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-align: left;
}

.service-features i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Request Section - Telegram Only */
.request-form-container {
    margin-bottom: 40px;
}

.request-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.request-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--telegram-blue), #005f8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.request-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.request-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Telegram Instructions */
.telegram-instructions {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, 
        rgba(0, 136, 204, 0.1), 
        rgba(0, 136, 204, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(0, 136, 204, 0.15);
    backdrop-filter: blur(10px);
}

.telegram-instructions h4 {
    color: var(--telegram-blue);
    font-size: 1.2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-weight: 600;
}

.telegram-instructions h4 i {
    font-size: 1.3rem;
}

.instruction-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border-left: 4px solid var(--telegram-blue);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.step:hover {
    transform: translateX(5px);
    border-color: var(--telegram-blue);
    background: rgba(0, 136, 204, 0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--telegram-blue), #005f8a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.step-content h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Telegram Web App Section */
.telegram-webapp-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.telegram-webapp-section h4 {
    color: var(--telegram-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-weight: 600;
}

.telegram-webapp-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group label i {
    color: var(--telegram-blue);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--telegram-blue);
    background: rgba(0, 136, 204, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

.form-hint {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 8px;
    margin-left: 30px;
}

.form-note {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, 
        rgba(0, 136, 204, 0.1), 
        rgba(0, 136, 204, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(0, 136, 204, 0.15);
    text-align: center;
    backdrop-filter: blur(10px);
}

.form-note p {
    color: var(--telegram-blue);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

/* Telegram Direct Link */
.telegram-direct-link {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.telegram-direct-link p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 52px;
    width: 100%;
    max-width: 320px;
    margin: 10px auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}

.btn-small {
    padding: 12px 24px;
    font-size: 0.9rem;
    min-height: 44px;
    width: auto;
    max-width: 200px;
    margin: 0;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--telegram-blue);
    color: var(--telegram-blue);
    background: rgba(0, 136, 204, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

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

.btn-telegram {
    background: linear-gradient(135deg, var(--telegram-blue), #005f8a);
    color: var(--white);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #005f8a, var(--telegram-blue));
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.4);
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 60px;
    backdrop-filter: blur(20px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.05);
    border: 1px solid rgba(37, 211, 102, 0.1);
}

.footer-logo:hover {
    color: var(--white);
    transform: translateY(-3px);
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.footer-logo i {
    font-size: 1.4rem;
    color: var(--primary);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    backdrop-filter: blur(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: bounce 2s infinite;
}

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

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow-y: auto;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: rgba(26, 26, 26, 0.95);
    margin: 0 auto;
    padding: 0;
    border-radius: 24px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 24px 24px 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.modal-header h3 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.3px;
}

.close-modal,
.close-service-modal {
    color: var(--white);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-modal:hover,
.close-service-modal:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-image {
    text-align: center;
    margin-bottom: 25px;
}

.modal-plan-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
}

.modal-icon {
    text-align: center;
    margin-bottom: 25px;
}

.modal-icon i {
    font-size: 4rem;
    color: var(--primary);
    background: rgba(37, 211, 102, 0.1);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid var(--primary);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.2);
}

.modal-description {
    text-align: center;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.6;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-features {
    margin-bottom: 25px;
}

.modal-features h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.modal-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.modal-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 30px;
    position: relative;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Proses Pengerjaan */
.modal-process {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-process h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.modal-process ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.modal-process li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-process li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.modal-actions .btn {
    margin: 0;
    min-height: 55px;
}

/* Telegram Message Styles */
.telegram-message {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.telegram-message i {
    font-size: 1.4rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.telegram-message.success {
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.1), 
        rgba(37, 211, 102, 0.05));
    border: 1px solid rgba(37, 211, 102, 0.2);
    color: var(--primary);
}

.telegram-message.error {
    background: linear-gradient(135deg, 
        rgba(255, 68, 68, 0.1), 
        rgba(255, 68, 68, 0.05));
    border: 1px solid rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.telegram-message div {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE STYLES ========== */

/* Desktop Styles */
@media (min-width: 768px) {
    .profile-container {
        max-width: 600px;
        margin: 0 auto;
        padding: 50px 20px 0;
    }
    
    .profile-img-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-username {
        font-size: 1.2rem;
    }
    
    .profile-bio {
        font-size: 1.1rem;
        max-width: 500px;
        padding: 20px 30px;
    }
    
    .profile-stats {
        max-width: 500px;
        padding: 20px 30px;
    }
    
    .profile-stats .stat-number {
        font-size: 1.6rem;
    }
    
    .profile-stats .stat-label {
        font-size: 0.95rem;
    }
    
    .tab-container {
        max-width: 800px;
        padding: 0 40px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .instruction-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .btn {
        max-width: 350px;
    }
    
    .modal-actions {
        flex-direction: row;
        gap: 20px;
    }
    
    .modal-actions .btn {
        flex: 1;
    }
}

/* Large Desktop */
@media (min-width: 1024px) {
    .profile-container {
        max-width: 700px;
        padding: 60px 20px 0;
    }
    
    .tab-container {
        max-width: 1000px;
    }
    
    .instruction-steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .feature-card {
        padding: 25px;
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .profile-stats {
        padding: 15px;
    }
    
    .profile-stats .stat-number {
        font-size: 1.2rem;
    }
    
    .profile-stats .stat-label {
        font-size: 0.8rem;
    }
    
    .tab-btn {
        padding: 12px 4px;
        min-height: 55px;
    }
    
    .tab-btn i {
        font-size: 1rem;
    }
    
    .tab-btn span {
        font-size: 0.65rem;
    }
    
    .telegram-instructions {
        padding: 20px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .profile-img-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 1.4rem;
    }
    
    .profile-username {
        font-size: 1rem;
    }
    
    .profile-bio {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .profile-stats .stat-number {
        font-size: 1.1rem;
    }
    
    .profile-stats .stat-label {
        font-size: 0.75rem;
    }
    
    .product-card,
    .service-card {
        padding: 20px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .instruction-steps {
        gap: 15px;
    }
    
    .step {
        padding: 15px;
    }
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:active,
    .tab-btn:active,
    .product-card:active,
    .service-card:active {
        transform: scale(0.98) !important;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .profile-header {
        min-height: auto;
    }
    
    .modal-content {
        margin: 20px auto;
        max-height: 85vh;
        top: 20px;
        transform: translateY(0);
    }
}

/* Perbaikan untuk gambar yang tidak ditemukan */
.profile-img[src=""] {
    display: none;
}



@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}