/* Custom Variables for Color Palette */
:root {
    --bg-dark: #070a13;
    --bg-card: rgba(18, 24, 43, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --nasiya-gold: #e5c158;
    --nasiya-gold-hover: #f1d279;
    --birds-green: #10b981;
    --birds-green-hover: #34d399;
    --transition-speed: 0.4s;
}

/* Reset and Core Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Global Glowing Background Blobs */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

.glow-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(229, 193, 88, 0.4) 0%, transparent 70%);
}

.glow-2 {
    bottom: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
}

/* Wrapper Layout */
.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 10;
    position: relative;
}

/* Header Styling */
.main-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--nasiya-gold), var(--birds-green));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #070a13;
    box-shadow: 0 10px 25px rgba(229, 193, 88, 0.25);
    transform: rotate(-5deg);
    transition: transform var(--transition-speed);
}

.logo-container:hover .logo-icon {
    transform: rotate(0deg) scale(1.05);
}

.logo-text {
    text-align: right;
}

.logo-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: block;
    margin-top: -3px;
    letter-spacing: 2px;
}

.company-tagline {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* Apps Grid and Showcase Cards */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.app-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hover effects for cards */
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255,255,255,0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.app-card:hover::before {
    opacity: 1;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-nasiya:hover {
    border-color: rgba(229, 193, 88, 0.3);
    box-shadow: 0 20px 50px rgba(229, 193, 88, 0.08);
}

.card-birds:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.08);
}

/* Card Glow Overlays */
.card-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
    top: -50px;
    left: -50px;
    transition: opacity var(--transition-speed);
}

.card-nasiya .card-glow {
    background: var(--nasiya-gold);
}

.card-birds .card-glow {
    background: var(--birds-green);
}

.app-card:hover .card-glow {
    opacity: 0.3;
}

/* App Header & Icon */
.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    z-index: 2;
    position: relative;
}

.app-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-speed);
}

.card-nasiya .app-icon {
    background: rgba(229, 193, 88, 0.1);
    color: var(--nasiya-gold);
    border: 1px solid rgba(229, 193, 88, 0.2);
}

.card-birds .app-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--birds-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.app-card:hover .app-icon {
    transform: scale(1.1);
}

.app-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.app-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 2px;
}

.app-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
    font-weight: 300;
}

/* App Features List */
.app-features {
    list-style: none;
    margin-bottom: 35px;
    z-index: 2;
    position: relative;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.card-nasiya .app-features li i {
    color: var(--nasiya-gold);
}

.card-birds .app-features li i {
    color: var(--birds-green);
}

/* Interactive Buttons */
.action-buttons {
    z-index: 2;
    position: relative;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-nasiya {
    background: linear-gradient(135deg, var(--nasiya-gold), #b8860b);
    color: #070a13;
    box-shadow: 0 5px 15px rgba(229, 193, 88, 0.2);
}

.btn-nasiya:hover {
    background: linear-gradient(135deg, var(--nasiya-gold-hover), var(--nasiya-gold));
    box-shadow: 0 8px 25px rgba(229, 193, 88, 0.35);
    transform: translateY(-2px);
}

.btn-birds {
    background: linear-gradient(135deg, var(--birds-green), #059669);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.btn-birds:hover {
    background: linear-gradient(135deg, var(--birds-green-hover), var(--birds-green));
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
    transform: translateY(-2px);
}

.btn i {
    transition: transform 0.3s;
}

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

/* Highlights Section */
.highlights-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: background var(--transition-speed);
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.hl-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--nasiya-gold), var(--birds-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer Styling */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Keyframes Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Rules */
@media (max-width: 968px) {
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .highlights-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .main-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .main-footer {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .app-card {
        padding: 30px 20px;
    }
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .logo-text {
        text-align: center;
    }
}

/* Developer Profile Section */
.developer-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.developer-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    gap: 30px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.developer-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.02);
}

.dev-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--nasiya-gold);
    font-weight: 700;
    text-transform: uppercase;
}

.dev-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.dev-socials {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-item.whatsapp {
    background: rgba(37, 211, 102, 0.08);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.15);
}

.social-item.whatsapp:hover {
    background: #25d366;
    color: #070a13;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.social-item.snapchat {
    background: rgba(255, 252, 0, 0.08);
    color: #fffc00;
    border: 1px solid rgba(255, 252, 0, 0.15);
}

.social-item.snapchat:hover {
    background: #fffc00;
    color: #070a13;
    box-shadow: 0 5px 15px rgba(255, 252, 0, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .developer-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .dev-meta {
        text-align: center;
    }
    .dev-socials {
        justify-content: center;
        width: 100%;
    }
    .social-item {
        width: 100%;
        justify-content: center;
    }
}

