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

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
    90% {
        transform: translateY(-2px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Scroll-Triggered Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

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

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

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

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

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

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

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

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

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

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

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

.zoom-in {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.7s ease;
}

.zoom-in.animate {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
    transition: all 0.6s ease;
}

.rotate-in.animate {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Staggered Animation Delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }
.animate-delay-7 { transition-delay: 0.7s; }
.animate-delay-8 { transition-delay: 0.8s; }

/* Enhanced Scroll Animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scroll-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-slide-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

.scroll-rotate-in {
    opacity: 0;
    transform: rotate(-5deg) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-rotate-in.animate {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Parallax Scroll Effect */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

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

/* Animation Performance Optimizations */
.animate, .fade-in-up, .fade-in-left, .fade-in-right, .fade-in-down, 
.scale-in, .slide-in-left, .slide-in-right, .zoom-in, .rotate-in {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fafbfc;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary {
    background: #2c3e50;
    color: white;
}

.btn-primary:hover {
    background: #34495e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-image {
    text-align: center;
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
    animation: scaleIn 1.2s ease-out 0.9s both;
}

.hero-image i {
    font-size: 8rem;
    opacity: 0.8;
}

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

.section.bg-light {
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    letter-spacing: -0.02em;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 i {
    margin-right: 0.5rem;
    color: #2c3e50;
}

.section-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Emergency Grid */
.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.emergency-card, .quick-fixes-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 62, 80, 0.05);
    animation: fadeInUp 0.8s ease-out;
}

.emergency-card {
    animation-delay: 0.1s;
}

.quick-fixes-card {
    animation-delay: 0.3s;
}

.emergency-card:hover, .quick-fixes-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.emergency-icon, .quick-fixes-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
    animation: scaleIn 0.6s ease-out 0.5s both;
}

.quick-fixes-icon {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.emergency-icon i, .quick-fixes-icon i {
    font-size: 1.5rem;
    color: white;
}

.emergency-icon:hover, .quick-fixes-icon:hover {
    animation: pulse 0.6s ease-in-out;
}

.emergency-card h3, .quick-fixes-card h3 {
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.emergency-item, .fix-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    animation: fadeInLeft 0.6s ease-out;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

.fix-item {
    border-left: 4px solid #2c3e50;
}

.emergency-item h4, .fix-item h4 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
}

.emergency-item h4 i, .fix-item h4 i {
    margin-right: 0.5rem;
    color: #e74c3c;
}

.fix-item h4 i {
    color: #2c3e50;
}

.emergency-item ol, .emergency-item ul, .fix-item ol, .fix-item ul {
    margin-left: 1.5rem;
}

.emergency-item li, .fix-item li {
    margin-bottom: 0.7rem;
    color: #5a6c7d;
    font-weight: 400;
    line-height: 1.6;
}

/* App Settings Section */
.app-settings-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-top: 3rem;
    border: 1px solid rgba(44, 62, 80, 0.05);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.app-settings-section h3 {
    color: #2c3e50;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
}

.app-settings-section h3 i {
    margin-right: 0.5rem;
    color: #2c3e50;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.settings-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2c3e50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    animation: fadeInRight 0.6s ease-out;
    animation-delay: calc(var(--animation-order, 0) * 0.2s);
}

.settings-card h4 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
}

.settings-card h4 i {
    margin-right: 0.5rem;
    color: #2c3e50;
}

.settings-card ul, .settings-card ol {
    margin-left: 1.5rem;
}

.settings-card li {
    margin-bottom: 0.7rem;
    color: #5a6c7d;
    font-weight: 400;
    line-height: 1.6;
}

/* Before Support Section */
.before-support-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-top: 3rem;
    border: 1px solid rgba(44, 62, 80, 0.05);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.before-support-section h3 {
    color: #2c3e50;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
}

.before-support-section h3 i {
    margin-right: 0.5rem;
    color: #f39c12;
}

.before-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.before-support-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #f39c12;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    animation: fadeInLeft 0.6s ease-out;
    animation-delay: calc(var(--animation-order, 0) * 0.2s);
}

.before-support-card h4 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
}

.before-support-card h4 i {
    margin-right: 0.5rem;
    color: #f39c12;
}

.before-support-card ul, .before-support-card ol {
    margin-left: 1.5rem;
}

.before-support-card li {
    margin-bottom: 0.7rem;
    color: #5a6c7d;
    font-weight: 400;
    line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.3rem;
}

.step-card ul {
    list-style: none;
}

.step-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.step-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
}

.step-card ul li:last-child {
    border-bottom: none;
}

/* Roles Tabs */
.roles-tabs {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.tab-btn.active {
    background: white;
    color: #2c3e50;
    border-bottom: 3px solid #2c3e50;
}

.tab-btn:hover {
    background: #f0f0f0;
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

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

.role-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.role-content h3 i {
    margin-right: 0.5rem;
    color: #2c3e50;
}

.role-content ol, .role-content ul {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.role-content li {
    margin-bottom: 0.5rem;
}

.profile-setup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.setup-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.setup-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.setup-item ul {
    list-style: none;
    margin: 0;
}

.setup-item ul li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.2rem;
}

.setup-item ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c3e50;
}

.setup-item ul li:last-child {
    border-bottom: none;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-delay: calc(var(--animation-order, 0) * 0.2s);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.feature-card ul {
    list-style: none;
    text-align: left;
}

.feature-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
}

.feature-card ul li:last-child {
    border-bottom: none;
}

/* Premium Features */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.premium-benefits, .premium-management {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.premium-benefits h3, .premium-management h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.premium-benefits ul, .premium-management ul {
    list-style: none;
}

.premium-benefits ul li, .premium-management ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.premium-benefits ul li i, .premium-management ul li i {
    margin-right: 0.8rem;
    color: #2c3e50;
    width: 20px;
}

.premium-benefits ul li:last-child, .premium-management ul li:last-child {
    border-bottom: none;
}

/* Support Accordion */
.support-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

.accordion-header {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
}

.accordion-header h3 i {
    margin-right: 0.5rem;
    color: #2c3e50;
}

.accordion-header i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i.fa-chevron-down {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
    max-height: 500px;
}

.accordion-content ol, .accordion-content ul {
    margin-left: 1.5rem;
}

.accordion-content li {
    margin-bottom: 0.5rem;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.security-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-delay: calc(var(--animation-order, 0) * 0.2s);
}

.security-card:hover {
    transform: translateY(-5px);
}

.security-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.security-icon i {
    font-size: 2rem;
    color: white;
}

.security-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.security-card ul {
    list-style: none;
    text-align: left;
}

.security-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.security-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
}

.security-card ul li:last-child {
    border-bottom: none;
}

/* FAQ Tabs */
.faq-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.faq-tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-tab-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #2c3e50;
    background: white;
    color: #2c3e50;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.faq-tab-btn.active, .faq-tab-btn:hover {
    background: #2c3e50;
    color: white;
}

.faq-tab-pane {
    display: none;
}

.faq-tab-pane.active {
    display: block;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.faq-question i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i.fa-chevron-down {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #666;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info, .contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out;
    animation-delay: calc(var(--animation-order, 0) * 0.3s);
}

.contact-info h3, .contact-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-right: 1rem;
    width: 30px;
}

.contact-item h4 {
    margin: 0 0 0.3rem 0;
    color: #333;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-form ol {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.contact-form li {
    margin-bottom: 0.5rem;
}

.support-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.support-info h4 {
    color: #333;
    margin-bottom: 1rem;
}

.support-info ul {
    list-style: none;
    margin-left: 0;
}

.support-info ul li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.2rem;
}

.support-info ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c3e50;
}

.support-info ul li:last-child {
    border-bottom: none;
}

.developer-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.developer-info h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.dev-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

.dev-details strong {
    color: #333;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-image {
    height: 30px;
    width: auto;
    margin-right: 0.5rem;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
}

.footer-logo i {
    margin-right: 0.5rem;
    color: #2c3e50;
}

.footer-content p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .security-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .premium-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
    
    .emergency-card, .quick-fixes-card {
        padding: 2rem;
    }
    
    .app-settings-section {
        padding: 2.5rem;
    }
    
    .before-support-section {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .emergency-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .emergency-card, .quick-fixes-card {
        padding: 1.5rem;
    }
    
    .emergency-item, .fix-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .app-settings-section {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .before-support-section {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .before-support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .premium-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-tab-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .faq-tab-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu.active {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 37, 47, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        gap: 1rem;
        flex-direction: column;
        z-index: 999;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .emergency-card, .quick-fixes-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .emergency-icon, .quick-fixes-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .emergency-card h3, .quick-fixes-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .emergency-item, .fix-item {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .emergency-item h4, .fix-item h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .app-settings-section {
        padding: 1.5rem;
    }
    
    .app-settings-section h3 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .settings-card {
        padding: 1.25rem;
    }
    
    .settings-card h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .before-support-section {
        padding: 1.5rem;
    }
    
    .before-support-section h3 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .before-support-card {
        padding: 1.25rem;
    }
    
    .before-support-card h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .contact-item i {
        font-size: 1.25rem;
        width: 25px;
    }
    
    .developer-info {
        padding: 1.5rem;
    }
    
    .developer-info h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .step-card, .feature-card, .security-card {
        padding: 1.25rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-icon, .security-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i, .security-icon i {
        font-size: 1.5rem;
    }
    
    .feature-card h3, .security-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-header h3 {
        font-size: 1rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .tab-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .faq-tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .emergency-card, .quick-fixes-card {
        padding: 1rem;
    }
    
    .emergency-item, .fix-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .app-settings-section {
        padding: 1.25rem;
    }
    
    .before-support-section {
        padding: 1.25rem;
    }
    
    .settings-card, .before-support-card {
        padding: 1rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.25rem;
    }
    
    .developer-info {
        padding: 1.25rem;
    }
    
    .step-card, .feature-card, .security-card {
        padding: 1rem;
    }
    
    .accordion-header {
        padding: 0.75rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0.75rem;
    }
    
    .faq-question {
        padding: 0.75rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0.75rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .tab-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .faq-tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-image i {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .step-card, .feature-card, .security-card {
        padding: 1.5rem;
    }
    
    .hero-image i {
        font-size: 5rem;
    }
} 