/* Base Styles */
:root {
    --primary-color: #FF7D00;
    --dark-bg: #272727;
    --light-text: #FFFFFF;
    --light-gray: #F0F0F0;
    --medium-gray: #555555;
    --hover-color: #FF9D33;
    --shadow-color: rgba(0, 0, 0, 0.15);
    --success-color: #4CAF50;
    --error-color: #F44336;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(39, 39, 39, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    transition: all 0.3s ease;
}

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

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

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

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

.hero-image img {
    max-height: 600px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Features Section */
.features {
    background-color: #1a1a1a;
    padding: 5rem 0;
    text-align: center;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

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

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Screenshots Section */
.screenshots {
    background: linear-gradient(135deg, #333 0%, #222 100%);
}

.screenshot-carousel {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 0;
    overflow-x: auto;
    padding-bottom: 2rem;
}

.screenshot {
    flex: 0 0 250px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.screenshot img {
    border-radius: 35px; /* Matching iPhone 16 corner radius */
    border: 2px solid var(--primary-color);
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: auto;
    aspect-ratio: 9/19.5; /* iPhone 16 aspect ratio */
    object-fit: cover;
}

.screenshot:hover {
    transform: translateY(-10px);
}

.screenshot p {
    font-weight: 500;
}

/* Download Section */
.download {
    text-align: center;
    padding: 5rem 0;
    background-color: #222;
}

.download p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
}

.download-btn {
    transition: all 0.3s ease;
}

.download-btn img {
    height: 60px;
    transition: transform 0.3s ease;
}

.download-btn:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 15px rgba(255, 125, 0, 0.3));
}

/* Footer */
footer {
    background-color: #1a1a1a;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact p {
    opacity: 0.8;
}

.copyright {
    margin-top: 3rem;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero .container {
        flex-direction: column-reverse;
    }

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

    .cta-buttons {
        justify-content: center;
    }
}

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

    .menu-btn {
        display: flex;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .feature-grid {
        flex-direction: column;
        max-width: 400px;
        margin: 0 auto;
    }

    .download-buttons {
        align-items: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

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

.hero-content, .feature-card, .screenshot, .download {
    animation: fadeIn 0.8s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.6s;
}

/* Support Page Styles */
.support {
    padding: 6rem 0;
}

.support h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.support-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--light-gray);
}

.support-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.support-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--light-text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

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

.form-status {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-status.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-status.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.form-status.loading {
    display: block;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.form-status.loading::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    margin-left: 10px;
    vertical-align: middle;
    animation: spin 1s linear infinite;
}

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

.support-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.support-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-card a {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.support-card a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

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

/* Active nav link styling */
.nav-links .active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Make the form responsive */
@media (max-width: 992px) {
    .support-container {
        grid-template-columns: 1fr;
    }
    
    .support-info {
        order: -1;
    }
}