:root {
    --primary-color: #2962ff;
    --secondary-color: #0039cb;
    --accent-color: #768fff;
    --accent-light: #e3f2fd;
    --text-color: #333;
    --text-light: #666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    scroll-behavior: smooth;
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo img {
    max-height: 50px;
    transition: var(--transition);
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.support-btn {
    background-color: var(--accent-light);
    color: var(--primary-color) !important;
    border-radius: 30px;
    padding: 8px 20px !important;
}

.support-btn:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--accent-light);
    position: relative;
    display: inline-block;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-button i {
    transition: var(--transition);
}

.cta-button:hover i {
    transform: translateX(5px);
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
}

.hero-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 5%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Apps Section */
.apps {
    padding: 60px 0;
}

.app-card {
    display: flex;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 50px;
    transition: var(--transition);
    position: relative;
}

.app-card.reverse {
    flex-direction: row-reverse;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.app-icon {
    flex: 0 0 250px;
    position: relative;
    background: linear-gradient(45deg, var(--accent-light), #f0f8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.app-icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.app-icon img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.app-card:hover .app-icon img {
    transform: scale(1.05) rotate(2deg);
}

.app-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.premium-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #333;
    left: 20px;
    top: 20px;
    font-weight: 700;
    padding: 6px 16px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
    }
}

.app-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.app-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #ffc107;
}

.app-rating span {
    margin-left: 5px;
    color: var(--text-light);
    font-weight: 600;
}

.version {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    display: inline-block;
    background-color: var(--accent-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.app-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    background-color: var(--light-bg);
    padding: 6px 12px;
    border-radius: 20px;
    transition: var(--transition);
}

.app-features span:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.app-features i {
    color: var(--primary-color);
}

.app-features .fa-crown {
    color: #FFD700;
}

.app-features .fa-star {
    color: #FFA500;
}

.app-features .fa-bolt {
    color: #ff9800;
}

.app-features .fa-history {
    color: #9c27b0;
}

.app-features .fa-heart {
    color: #e91e63;
}

.app-features .fa-lock {
    color: #4caf50;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(41, 98, 255, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(41, 98, 255, 0.4);
}

.download-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.firetv-code {
    background-color: var(--light-bg);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px dashed var(--accent-color);
    transition: var(--transition);
    cursor: pointer;
}

.firetv-code:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
}

.firetv-code p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.code {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
}

/* Instructions Section */
.instructions {
    padding: 60px 0;
    background-color: var(--white);
    margin: 60px 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.instruction-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--light-bg);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(41, 98, 255, 0.3);
}

.tab-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Neue horizontale Schrittanzeige */
.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.instruction-step-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

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

.instruction-step {
    background-color: var(--white);
    border: 2px solid var(--accent-light);
    border-radius: var(--border-radius);
    padding: 20px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    flex: 1;
    z-index: 1;
}

.instruction-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.step-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 0 15px;
    height: 40px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(41, 98, 255, 0.3);
    z-index: 2;
}

.step-content {
    padding-left: 10px;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.step-content strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Video Tutorial Styles */
.video-tutorial {
    margin-bottom: 40px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--accent-light);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px 25px;
    background: linear-gradient(to right, var(--accent-light), #f0f8ff);
}

.video-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-info p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Footer */
footer {
    background: var(--gradient);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 25%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    max-height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--white);
    opacity: 0.6;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .app-card, .app-card.reverse {
        flex-direction: column;
    }
    
    .app-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .instruction-steps {
        max-width: 90%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: -5px 0;
    }
    
    .instruction-step-wrapper {
        flex-direction: column;
        margin-bottom: 25px;
    }
    
    .instruction-step {
        width: 100%;
    }
    
    .video-tutorial {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        gap: 15px;
    }
    
    .app-icon {
        flex: 0 0 auto;
        padding: 30px;
    }
    
    .app-icon img {
        max-width: 150px;
    }
    
    .app-info {
        padding: 30px;
    }
    
    .download-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo, .footer-links h3::after, .footer-contact h3::after {
        align-items: center;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .instruction-steps {
        max-width: 100%;
    }
    
    .instruction-step {
        padding: 15px 20px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .video-info {
        padding: 15px 20px;
    }
    
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .app-info h2 {
        font-size: 1.5rem;
    }
    
    .app-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .code {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
