/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #fd4921;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.navbar-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.r-logo {
    font-size: 0.7em;
    vertical-align: super;
}

.navbar-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.navbar-link:hover {
    color: var(--text-primary);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-cta {
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.navbar-cta::after {
    display: none;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(253, 73, 33, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-note {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.6;
}

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

.hero-phone {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

.hero-phone-1 {
    position: relative;
    z-index: 2;
    animation-delay: 0s;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: #ff5a3a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(253, 73, 33, 0.3);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

.btn-dark {
    background: var(--primary-color);
}

.btn-dark:hover {
    background: #1a1a1a;
}

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

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

.btn-cta {
    display: block;
    margin: 0 auto;
    max-width: 400px;
}

/* App Badges */
.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.app-badge {
    display: inline-block;
    transition: var(--transition);
}

.app-badge:hover {
    transform: translateY(-3px);
}

.app-badge img {
    height: 50px;
    width: auto;
}

/* Section */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.section-title-white {
    color: var(--text-primary);
}

/* Pricing Section */
.pricing {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

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

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(253, 73, 33, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-badge-secondary {
    display: block;
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin: 10px auto 20px;
    width: fit-content;
}

.pricing-plan {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.pricing-price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.price-period {
    font-size: 16px;
    color: var(--text-secondary);
    display: block;
    margin-top: 5px;
}

.pricing-divider {
    text-align: center;
    margin: 50px 0;
    position: relative;
}

.pricing-divider::before,
.pricing-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.pricing-divider::before {
    left: 0;
}

.pricing-divider::after {
    right: 0;
}

.pricing-divider span {
    background: rgba(255, 255, 255, 0.02);
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.pricing-trial {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-trial-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.pricing-trial-price {
    margin-bottom: 30px;
}

.pricing-trial-note {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.6;
}

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

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

.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Why Bebra Section */
.why-bebra {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f0f0f 100%);
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-block-reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-block-reverse .feature-content {
    order: 1;
}

.feature-block-reverse .feature-image {
    order: 2;
}

.feature-image {
    position: relative;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    opacity: 0.9;
}

.feature-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

#cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.feature-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 400;
}

.feature-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Download Section */
.download {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.download-preview {
    margin: 40px 0;
}

.download-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.download-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-download {
    margin-top: 30px;
    font-size: 18px;
    padding: 15px 40px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    text-align: center;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-link:hover {
    color: var(--text-primary);
}

/* Price styling */
.price {
    font-weight: 700;
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-images {
        margin-top: 40px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 50px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-block,
    .feature-block-reverse {
        grid-template-columns: 1fr;
    }
    
    .feature-block-reverse .feature-content,
    .feature-block-reverse .feature-image {
        order: initial;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transform: translateX(-100%);
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-menu.active {
        transform: translateX(0);
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .feature-title {
        font-size: 32px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-trial {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .app-badge img {
        height: 40px;
    }
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    .app-badges,
    .download-badges {
        display: none;
    }
}

