/* Symanis.com - Modern Professional Index Page Styles */

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

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-gradient-start: #0f172a;
    --bg-gradient-end: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-hover: rgba(255, 255, 255, 1);
    --font-main: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* Prevent zoom on double-tap for mobile */
button, a, .tool-card {
    touch-action: manipulation;
}

/* Better tap targets for mobile */
a, button, .tool-card {
    min-height: 44px;
    min-width: 44px;
}

/* Background with Gradient and Geometric Pattern */
body {
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 50%, var(--secondary-color) 100%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Floating Geometric Shapes */
.geometric-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    padding: 60px 20px 40px;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    width: 200px;
    height: auto;
    animation: fadeInDown 1s ease-out;
}

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

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

header .tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Clock Section */
.clock-section {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.clock {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.date {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Main Content */
main {
    padding: 40px 0;
}

.intro-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.intro-section h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Tools Grid */
.tools-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.tool-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    animation: fadeInUp 1s ease-out;
}

.tool-card:nth-child(1) {
    animation-delay: 0.9s;
}

.tool-card:nth-child(2) {
    animation-delay: 1s;
}

.tool-card:nth-child(3) {
    animation-delay: 1.1s;
}

.tool-card:nth-child(4) {
    animation-delay: 1.2s;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
    background: var(--card-hover);
}

.tool-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-card h3 .icon {
    font-size: 1.8rem;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.tool-card .status {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
}

.coming-soon {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

/* Company Section */
.company-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 1.3s both;
}

.company-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.company-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.company-section .company-link {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.company-section .company-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 1s ease-out 1.4s both;
}

footer p {
    margin-bottom: 10px;
}

footer .footer-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-link:hover {
    color: white;
}

/* Responsive Design */

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
    header h1 {
        font-size: 3rem;
    }

    .logo {
        width: 160px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 40px 15px 30px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header .tagline {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .logo {
        width: 150px;
    }

    .clock {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .date {
        font-size: 1.1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-card {
        padding: 25px 20px;
    }

    .tool-card h3 {
        font-size: 1.3rem;
    }

    .tool-card p {
        font-size: 0.95rem;
    }

    .intro-section,
    .company-section {
        padding: 30px 25px;
        margin-bottom: 30px;
    }

    .intro-section h2,
    .section-title,
    .company-section h2 {
        font-size: 1.6rem;
    }

    .intro-section p,
    .company-section p {
        font-size: 1rem;
    }

    .shape {
        opacity: 0.03;
    }

    footer {
        padding: 30px 15px;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    header {
        padding: 30px 10px 25px;
    }

    header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    header .tagline {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    .logo {
        width: 120px;
    }

    .clock-section {
        margin-bottom: 35px;
    }

    .clock {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }

    .date {
        font-size: 1rem;
    }

    main {
        padding: 30px 0;
    }

    .intro-section,
    .company-section {
        padding: 25px 20px;
        margin-bottom: 25px;
        border-radius: 15px;
    }

    .intro-section h2,
    .section-title,
    .company-section h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .intro-section p,
    .company-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .tool-card {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .tool-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .tool-card h3 .icon {
        font-size: 1.5rem;
    }

    .tool-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .tool-card .status {
        font-size: 0.8rem;
        padding: 4px 12px;
        margin-top: 12px;
    }

    .company-section .company-link {
        padding: 12px 30px;
        font-size: 1rem;
        margin-top: 20px;
    }

    .tools-section {
        margin-bottom: 30px;
    }

    .section-title {
        margin-bottom: 20px;
    }

    footer {
        padding: 25px 10px;
    }

    footer p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    footer .footer-link {
        font-size: 0.85rem;
    }

    /* Optimize animations for mobile */
    .shape {
        opacity: 0.02;
        animation: float 25s infinite ease-in-out;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    header h1 {
        font-size: 1.6rem;
    }

    header .tagline {
        font-size: 0.9rem;
    }

    .logo {
        width: 100px;
    }

    .clock {
        font-size: 1.6rem;
    }

    .date {
        font-size: 0.9rem;
    }

    .intro-section h2,
    .section-title,
    .company-section h2 {
        font-size: 1.2rem;
    }

    .tool-card h3 {
        font-size: 1.1rem;
    }

    .tool-card p {
        font-size: 0.85rem;
    }

    .intro-section,
    .company-section {
        padding: 20px 15px;
    }

    .container {
        padding: 0 10px;
    }
}

/* Large Desktop Screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }

    header h1 {
        font-size: 4.5rem;
    }

    .clock {
        font-size: 3.5rem;
    }

    .tools-grid {
        gap: 30px;
    }

    .tool-card {
        padding: 35px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .tool-card {
        transition: transform 0.2s ease;
    }

    .tool-card:active {
        transform: scale(0.98);
    }

    .company-section .company-link:active {
        transform: scale(0.95);
    }
}

/* Print styles */
@media print {
    .geometric-shapes,
    .shape,
    header,
    footer,
    .clock-section {
        display: none;
    }

    body {
        background: white;
    }

    .container {
        max-width: 100%;
    }

    .intro-section,
    .company-section,
    .tool-card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}