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

:root {
    --primary-bg: #111827;
    --secondary-bg: #374151;
    --accent-gold: #14B8A6;
    --accent-purple: #10B981;
    --text-primary: #FFFFFF;
    --text-secondary: #D1D5DB;
    --gradient-primary: linear-gradient(135deg, #14B8A6 0%, #0F766E 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    --shadow-glow: 0 20px 40px rgba(20, 184, 166, 0.15);
    --border-radius: 16px;
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(17, 24, 39, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(244, 185, 66, 0.25);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.95);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Updated Phone Mockup Styles */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #374151, #111827);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 8px rgba(255, 255, 255, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    position: relative;
    transform-style: preserve-3d;
    animation: floatPhone 9s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateY(-2deg); }
    50% { transform: translateY(0px) rotateY(0deg); }
    75% { transform: translateY(-5px) rotateY(2deg); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.app-interface {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #374151 0%, #111827 100%);
    padding: 40px 20px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.app-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.app-header {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInHeader 1s ease-out 0.5s forwards;
}

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

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.payment-option {
    background: linear-gradient(145deg, #374151, #111827);
    color: #fff;
    padding: 16px 20px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

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

.payment-option:hover::before {
    left: 100%;
}

.payment-option:nth-child(1) {
    animation: slideInOption 0.8s ease-out 1s forwards;
}

.payment-option:nth-child(2) {
    animation: slideInOption 0.8s ease-out 1.3s forwards;
}

.payment-option:nth-child(3) {
    animation: slideInOption 0.8s ease-out 1.6s forwards;
}

@keyframes slideInOption {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.payment-option.selected {
    background: linear-gradient(145deg, #14B8A6, #0F766E);
    transform: translateX(0) scale(1.05);
    box-shadow: 
        0 12px 24px rgba(20, 184, 166, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.payment-option:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.pay-button {
    width: 100%;
    background: linear-gradient(145deg, #14B8A6, #0F766E);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInButton 0.8s ease-out 2s forwards;
    box-shadow: 
        0 10px 20px rgba(20, 184, 166, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

@keyframes slideInButton {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.pay-button:hover::before {
    left: 100%;
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 30px rgba(255, 107, 53, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.pay-button:active {
    transform: translateY(0);
    box-shadow: 
        0 8px 16px rgba(20, 184, 166, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* Floating particles effect */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 53, 0.6);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { top: 80%; left: 20%; animation-delay: 4s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

/* Glow effect */
.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

/* Interactive cycling animation */
.payment-option.cycling {
    animation: optionCycle 0.5s ease-in-out;
}

@keyframes optionCycle {
    0% { transform: translateX(0) scale(1); }
    50% { transform: translateX(10px) scale(1.05); }
    100% { transform: translateX(0) scale(1); }
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-stats {
        justify-content: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .security-content {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}



/* Popup for styling */
/* Modal Styles – Aligned with Main Klosa Theme */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 10vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: var(--secondary-bg);
  color: var(--text-primary);
  margin: auto;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius);
  text-align: center;
  animation: zoomIn 0.3s ease-in-out;
  box-shadow: var(--shadow-glow);
}

.modal-content h2 {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.modal-content input {
  width: 85%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--primary-bg);
  color: var(--text-primary);
  font-size: 1rem;
}

.modal-content input::placeholder {
  color: var(--text-secondary);
}

.modal-content button {
  padding: 0.8rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  margin-top: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
}

.modal-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(244, 185, 66, 0.25);
}

.close {
  color: var(--text-secondary);
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.thank-you {
  margin-top: 2rem;
  animation: fadeIn 0.6s ease-in;
  color: var(--accent-gold);
}

.hidden {
  display: none;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-bar p {
  margin: 0;
  max-width: 60%;
}

.footer-bar .social-links {
  text-align: right;
}

.footer-bar .social-links span {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.footer-bar .social-links a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--accent-gold);
  font-weight: 500;
  transition: color 0.3s ease;
}

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